Printer Status Commands - CognitiveTPG A776 ColorPOS Programming Manual

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776 ColorPOS:
Table of Contents

Advertisement

140
Chapter 6: DH emulation
Each byte of data sent defines each column of the graphic to be printed. The first byte defines the column in the left
margin, with the following bytes defining the columns to the right, for a total of up to 200 columns in the print line.
The print line is printed unidirectionally. Graphics and text may be printed on the same line.
Use three Vertical Tab commands (0B) to overlap printing by half a dot with the next line. Each vertical tab advances
the paper by 0.02083 inches, with three tabs advancing the paper by 0.062 inches.
Note: This DH printer command provides compatibility with earlier DH model printers. It is generally not used for new
applications. See the Graphics command (1E) for the more generally used command.

Printer Status Commands

These commands enable the printer to communicate its status to the host computer.
The commands are listed numerically by hexadecimal code.
Status: 3 Bit
Transmits the status of the paper sensors and the condition of the printer. This command is processed immediately.
Hexadecimal
Decimal
05 03
5 3
The transmitted status is shown in the table:
Bit
0
0
Form Present
1
Paper Present
2
Printer Is On-Line
Note: This DH printer command provides compatibility with earlier DH model printers. It is generally not used for new
applications. See the Status: 6 Bit command (1B 05) for the more generally used command.
Status: 6 Bit
Transmits the status of the paper sensors, cash drawers, forms clamp, and the condition of the printer. This command is
processed immediately. The transmitted status is shown in the table below.
Hexadecimal
Decimal
1B 05
27 5
Bit
0
0
Form Present
1
Paper Present
2
Printer Is On-Line
3
Cash Drawer 1 Closed
4
Cash Drawer 2 Closed
5
Forms Clamp Closed
Status-Firmware
Used for RS-232C printers only. Causes the printer to return 3 bytes (000).
Hexadecimal
Decimal
1B 56
27 86
A776 (B780) Programming Guide
ASCII
ENQ ETX
1
Form Not Present
Paper Not Present
Fault Condition
ASCII
ESC ENQ
1
Form Not Present
Paper Not Present
Fault Condition
Cash Drawer 1 Open
Cash Drawer 2 Open
Forms Clamp Open
ASCII
ESC V
A776-PG00001 D 07/13

Advertisement

Table of Contents
loading

Table of Contents