Beruflich Dokumente
Kultur Dokumente
ZPL conversion
Within the ZPL printer range there is the ability to convert native ZPL code written for one particular head
density to another, unfortunately this only works for the following resolutions:
150dpi
150dpi
200dpi
300dpi
->
->
->
->
300dpi
600dpi
600dpi
600dpi
There is NO ability to convert 150dpi -> 200dpi, however this program supplies an answer to this
shortcoming.
The relevant ZPL command would be:
^MU
Description
This command sets the printer units of measurement. The ^MU command works on a field by field basis.
Once the mode units is set, it carries over from field to field until a new mode units is entered. ^MU also
allows for printing at lower resolutions -- 600 dpi printers are capable of printing at 300, 200, and 150 dpi;
300 dpi printers are capable of printing at 150 dpi.
Format
^MUa,b,c
Parameters
a = units
Accepted Values:
D = dots
I = inches
M = millimetres
Default Value: D
1/2
ZPL conversion
To reset the conversion factor to the original format, enter matching values for
parameters b and c:
^MUd,150,150
^MUd,200,200
^MUd,300,300
^MUd,600,600
Comments:
This command should appear at the beginning of the label format to be in proper ZPL II format.
To turn the conversion off, enter matching values for parameter b and c.
Obviously there will be some values that cannot be converted without a remainder, this remainder
is just ignored there is no attempt to round the value up or down.
2/2