Hi All,
We are trying to print through SAP smartform to Zebra S500 label printer. We are able to print some data on to the sticker label without any problem.
But since the page orientation in the Smartform is protrait, we need to print on the Zebra S500 printer in "landscape mode". As given in SAP OSS note number 750772, also below Zebra printer does not support this change in page orientation from portrait to landscape.
""Important note: in SmartForms, only use the PORTRAIT page orientation.It is not possible to rotate the orientation of the label by 90 degreesby selecting the LANDSCAPE page orientation. Technical background: Inthe ZPL-II printer language, there is no command for otating the output of the entire label by 90 degrees. The printer driver therefore cannot use orientation=LANDSCAPE to rotate the label by 90 degrees.
If you need to shift the entire label output slightly on the zebra printer, you can use the form output shift in the SPAD transaction (when you define the output device), as described in note 39259. This shift is analyzed by the LZPL driver. ""
Is there a solution to this or any one faced a similar problem & could fix it...kindly do let me know.,
Thanks & Regards,
Nameeth
Instead of using the LZEB* device type as described in note 750772 you can also use the device type LB_ZEB*.
The LZEB* device types do convert your smartform into native Zebra ZPL-II printer commands.
With the LB_ZEB* device types you have to define the ZPL-II printer commands yourself or use an extern design program and upload the result into your smartform or sapscript. Find detailed information in note 179534.
The second method has some disadvantages but the big advantage is that you have complete control over the commands you send to the Zebra printer. Just design your label in landscape a design program like Bar-one and load it into SAP.
best regards Jack
Thanks for the info guys., I tried with Bar-One and SAP script combination along with device type: LB_ZEB and it does work.
But the problem now is that the users can not see the print-preview before printing or any data in the spool.
This is because of the converted code is sent to printer directly, but still is there any solutions so that user can see data on print-preveiw ??
Regards,
Nameeth
I think the only way to achieve this is to use the ^FW instruction in the printer code. This allows you to rotate the text/field 90 degrees. Check out page 2-12 of the ZPLII Programming Guide.
Regards,
Rich Heilman
Add a comment