LabelPrinting issue with ZEBRA printer

R Ravikumar Mahalingam 2 years 11 months ago
314 1 0

Hello,

we are facting problem with Zebra printer, the issue is as below

We do the following in our SAP SMARTFORM to rotate our barcode 90 degrees and it works well.
 
Enter the following command under "free attributes of spool request".
Attribute name: S_LZPL_SETUP
Attribute value: '^FWR'
 
PROBLEM:  ALL SUBSEQUENT PRINT JOBS THEN PRINT WITH 90 DEGREE
ROTATION
 
Attempt to resolve:  Putting in 'FWN' into the same SMARTFORM, but this is not allowed.  You cannot have more than one Attribute command value ('FWR') for a given attribute (S_LZPL_SETUP).  Function SSFCOMP_SET_SPOOL_ATTRIBUTES sends an exception in this case.
 
Is there another ZEBRA attribute that effectively can handle this?

Please register or login to post a reply

1 Replies

V Vedsatx Saddvv

Hi Ravikumar,
The ^FW command sets the default orientation for all the fields in a ZPL format.  This command is the only way to set that.  You can, however set the orientation for any field specifically, by adding the orientation to it. So a label like this:
^XA^PW200^FWR^FS
^FO20,20^A0,30,30^FDHELLO^FS
^FO70,20^A0N,30,30^FDWORLD^FS
^XZ
Prints HELLO rotated and WORLD in normal orientation because of the 'N' on ^A0N command.

CONTACT
Can’t find what you’re looking for?