Dascom 7010 Programmers Manual ZPL User Manual
Page 54

54
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.
Example:
The following is an example of using the ~DG command to load a checkerboard pattern into DRAM.
The name used to store the graphic is SAMPLE.GRF.
~DY