Specifications

Table Of Contents
The t parameter can be determined by using the following formula:
where x is the width of the graphic in millimeters, y is the height of the graphic in
millimeters and dots/mm is the print density of the printer being programmed.
For example, to determine the correct t parameter for a graphic 8mm wide, 16mm
high and a print density of 8 dots/mm, the formula works this way:
Raise any portion of a byte to the next whole byte.
The w parameter (the width in terms of bytes per row) can be determined by using
the following formula:
where x is the width of the graphic in millimeters and dots/mm is the print density of
the printer being programmed.
For example, to determine the correct w parameter for a graphic 8mm wide and a
print density of 8 dots/mm, the formula works this way:
Raise any portion of a byte to the next whole byte.
Parameter w is the first value in the t calculation.
Parameter data is a string of hexadecimal numbers sent as a representation of the
graphic image. Each hexadecimal character represents a horizontal nibble of four
dots. For example, if the first four dots of the graphic image to be created should be
white and the next four black, the dot by dot binary code would be 00001111. The
hexadecimal representation of this binary value would be 0F. The entire graphic
image is coded in this way. The complete graphic image is sent as one long
continuous string of hexadecimal values.
ZPL II Programming Guide Volume One: Command Reference for X.10
106