cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform issue while using Datamax printer

Former Member
0 Kudos

Hi

I am trying to print a label from smartform using Datamax printer.I used DPL for writing the code in smartform.But when i use <CR> which is a line termination keyword in dpl it gives me an error that it is invalid keyword.

Please suggest.Do i have to use any style in sap for this.

Thanks

Rahul Jain

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Thanks for all the inputs.Got the issue resolved by myself.

Thanks

Rahul

Former Member
0 Kudos

Hi Rahul,

This is Sudhir Mooray from Sydney Australia.

We have the same issue and would like to print to our I class Datamax printers.

Would appreciate greatly if you can give us some pointers.

regards,

Sudhir Mooray

+61288997414

Venkat_Sesha
Advisor
Advisor
0 Kudos

Instead of giving the printer command in the Smartform . Give it in the Print Controls (SPAD-> Full Adminstration -> Device Types)

there you have print controls. give that there. adn Now assign the same to your Device Type. For doing this.

Enter your device type and hit Enter.

In the Second tab (Print Controls)

Add the Print Control

ZCR and in the control character write your print control DPL code <CR>

Hope this helps.

Former Member
0 Kudos

Hi Venkat

Let me be explain u the whole scenario

I need to print a label using datamax printer.Now since datamax doesn't understand SAP language and has its own programming language.So i have created a smartform.

In the main window i have created a text in which have written the whole code (in DPL - datamax programming language)for designing & printing of label.NO layout is created in the smartform its just used to write the DPL code.

The datamax printer is attached locally to the system and i am using locl as printer while printing the label.Now when i am printing it using datamax printer.The print is not getting triggered whereas spool is getting genereated.

DPL Code :

<STX>L<CR>
D11<CR>
181100000200040©2010                         &wa_final1-eprom_burn_loc&<CR>
181100000500040&wa_final1-thm_desc&<CR>
181100000800120&wa_final1-matnr_i&<CR>
181100001100040SO:&wa_final1-vbeln& PO:&wa_final1-bstnk&<CR>
181100001400120&wa_final1-name1&<CR>
E<CR>

Please suggest.

Thanks

Rahul Jain

Edited by: Rahuljn on Aug 25, 2011 1:25 PM