CognitiveTPG A798 User Manual

Page 60

Advertising
background image

Chapter 4: Programming Commands

60

Revision C 12/09

A798-PG00001C

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

No. of dots (vertical)

No. of dots (horizontal)

No. of dots/line

0

8-dot single-density

8 (68 DPI)

0–288 (101 DPI)

8 x 288

1

8-dot double-density

8 (68 DPI)

0–576 (203 DPI)

8 x 576

32

24-dot single-density

24 (203 DPI)

0–288 (101 DPI)

24 x 288

33

24-dot double-density

24 (203 DPI)

0–576 (203 DPI)

24 x 576

Value of n:

Value of n (8-dot single-density mode)

Value of n (24-dot single-density mode)

Value of d

n1 + (256 x n2)

3 x [n1 + (256 x n2)]

Number of bytes of data*

*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.

Advertising