A SERVICE OF

logo

Chapter 3: Programming the Printer24
Revision D 12/09
A799-PG00001D
Command Description Dierence between previous product
and new product emulation mode.
1B 4A n Print and feed paper This command uses n in terms of n/360 inches. Since the
A793 had a fundamental step of 1/152 inch and the A799
has a fundamental step of 1/203 inch, the actual line
spacing will not exactly match the requested spacing.
1B 59 n1 n2 d1...dn Select double-density graphics In A793 emulation mode, the printer scales the graphics to
provide the best match.
1B 5C n1 n2 Set relative print position The parameter to this command is in units of dots.
However, the command moves and aligns to character
positions. In A793 emulation mode, this command
calculates how many character positions to move based on
the A793 character width in dots (10) versus the A799 (13).
1B 61 n Select justication This command does true dot resolution alignment for
centering versus character-aligned centering.
1D 2A n1 n2 d1...dn] Dene downloaded bit image In A793 emulation mode, this command scales the
incoming data to provide a best match to the size of
the image as it printed on A793.
1D 2F m Print downloaded bit image In A793 emulation mode, this command scales the
incoming data to provide a best match to the size of the
image as it printed on A793.
Two-color commands (comparison A794 to A799)
The following table details the list of commands that have been added for two-color ColorPOS
®
functionality (ColorPOS
®
commands, 1D 81 through 1D 97 are in bold) or existing commands that have been altered by the addition of two-color
capacity.
TPG ColorPOS
®
two-color and color interpreted commands
Hexadecimal ASCII Description
1B 72 m ESC r m Set current color
1D A0 nl nh 1D GS Set temporary maximum target speed
1D 23 n GS # n Select current logo
1D 42 n GS B n Select or cancel white/black reverse print mode
1D 2A n1 n2 d1 – dm GS * n1 n2 d1 – dm Dene downloaded bit image
1D 2F m GS / m Print downloaded bit image
1D 81 m n GS 0x81 m n Set paper type
1D 82 n1– n72/n80 GS 0x82 n1– n72/n80 Print raster monochrome graphics
1D 83 n1– n144/n160 GS 0x83 n1– n144/n160 Print raster color graphics
1D 84 n m n1 n2 d1 dx GS 0x84 n m n1 n2 d1 dx Download logo image
1D 85 m n GS 0x85 m n Reverse color text mode (two-color)
1D 86 m GS 0x86 m Monochrome shade mode
1D 87 m GS 0x87 m Color shade mode
1D 89 n m GS 0x89 n m Logo print with color plane swap
1D 8B n m o GS 0x8B n m o Apply shading to logo