Select Bit Image Mode - CognitiveTPG A798 Programming Manual

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

60
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
Value of n:
Value of n (8-dot single-density mode)
n1 + (256 x n2)
*Printed left to right (8-dot mode); printed down then across (24-dot mode)
Formulas
8-dot single-density= n1 + (256 X n2)
24-dot single-density= 3 X [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.
See the illustration for graphic representations of the bit image below.
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-density mode)
3 x [n1 + (256 x n2)]
A798-PG00001D
Revision D 10/13
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