on 08-24-2011 7:25 PM
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
Hi
Thanks for all the inputs.Got the issue resolved by myself.
Thanks
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.