Select Bit Image Mode; Turn On/Off Tiff Compression - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

70
Chapter 4: Programming Commands

Select bit image mode

ASCII
ESC * m n1 n2 d1 ... dn
Hexadecimal
1B 2A m n1 n2 d1 ... dn
Decimal
27 42 m n1 n2 d1 ... dn
Value of m:
Value of m
Mode
0
8-dot single-density
1
8-dot double-density
32
24-dot single-density
33
24-dot double-density
49
Line Graphics
Value of n:
Value of n (8-dot single/Line Graphics)
n1 + (256 x n2)
*Printed left to right (8-dot mode); printed down then across (24-dot mode), bit gets printed to 1 and not printed to 0
Formulas
8-dot single-density= n1 + (256 X n2)
24-dot single-density= 3 X [n1+ (256 X n2)]
Line Graphics= n1 + (256 X n2)
Sets the print resolution and enters one line of graphics data into the print buffer. Excess data is accepted but ignored. Any
print command is required to print the data, after which the printer returns to normal processing mode.
The bit image is not affected by emphasize, double-strike, underline, character size, reverse printing, or 90 rotation, but is
affected by upside-down printing mode.
In page mode, a starting position of upper right or lower left results in rotated bit-image data printing.
See the illustration for graphic representations of the bit image below.

Turn on/off TIFF compression

ASCII
ESC * b m n
Hexadecimal
1B 2A 62 6D n
Decimal
27 42 98 109 n
Range of n:
0, 2, 48, 50
Turns the TIFF compression on (n = 2, 50), or off (n = 0, 48). Default off (n = 0).
No. of dots (vertical)
No. of dots (horizontal)
8 (68 DPI)
0–288 (101 DPI)
8 (68 DPI)
0–576 (203 DPI)
24 (203 DPI)
0–288 (101 DPI)
24 (203 DPI)
0–576 (203 DPI)
Value of n (24-dot single)
3 x [n1 + (256 x n2)]
A799-2PG0001B 4/2016
No. of dots/line
8 x 288
8 x 576
24 x 288
24 x 576
Value of d
Number of bytes of data*

Advertisement

Table of Contents
loading

Table of Contents