LabelPrinting issue with ZEBRA printer

R Ravikumar Mahalingam 3 years 7 months ago
478 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

Y Yanis Dalabiras

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?