Label configuration by ZPL code

// Expert user has replied.
M Mario Nepomuceno 3 years 3 months ago
2431 2 0

how to configure the label that contains the zebra design by ZPL code?

Label configuration by ZPL code

// Expert user has replied.
M Mario Nepomuceno 3 years 3 months ago
2431 0 0

how to configure the label that contains the zebra design by ZPL code?

Please Register or Login to post a reply

2 Replies

S Steven Si

Some of the settings on the Label Dimensions page are used to configure the printer, and the other settings are incorporated in the overall label formatting. The final ZPL output from the ZebraDesigner will reflect all settings as either printer configuration statements or as part of label formatting statements.

If you really want to know the specific ZPL statements for these settings used to configure the printer, you need to refer to the ZPL User Guide. For example, the settings for the Width and Height, will be in the following ZPL statements respectively.

### Width of 33mm (264 in dots of 203dpi printer)
^PW264

### Height of 21mm (168 in dots of 203dpi printer)
^LL168

 

W Ward Christensen

I have some continuous paper, and this code sets it up for use even after a factory reset:
^XA ^FX S E T U P F O R C O N T I N U O U S ^FS
~JSN ^FX backfeed ^FS
^MNN ^FX N = continuous media ^FS
^PW685 ^FX My normal 2.5" labels COULD be up to 750 ^FS
^MFN,N ^FX MFN,N = no feed on power up or on close carriage ^FS
^LL600 ^FX just to have something - 2" ^FS
^JUS ^FX Save settings across power off ^FS
^XZ
_______________________
If I have some 2" high x 4" wide labels then I can run this to support them, after having run my continuous labels:

^XA
~JSN ^FX backfeed ^FS
^MNW ^FX MNW W = Web (gap) sense discreet labels ^FS
^MFN,N ^FX MFN,N = no feed on power up or on close carriage ^FS
^LL618 ^FX Actual label from auto-calibrate, 2" + 18 dot gap? ^FS
^PW1200 ^FX Label width ^FS
^JUS ^FX Save settings across power off ^FS
^XZ

_______________
PROBLEM: One time, i ran that, and it seemed to think the labels were 1200 long, not 600, but a factory reset THEN the above code made it work OK.

When I tried running the above 2 programs today - setup continuous, print some continuous labels, change to 2x4" labels and run the setup for 2x4 labels, that worked also.

/Ward Christensen
P.S. I wish <code> this should be fixed-pitch font</code> worked in this discussion!!!
If YOU got it working please tell me! Thanks!

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