Chapter 6: DH emulation
140
A776 (B780) Programming Guide
A776-PG00001 D 07/13
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 ASCII
05 03
5 3
ENQ ETX
The transmitted status is shown in the table:
Bit
0
1
0
Form Present
Form Not Present
1
Paper Present
Paper Not Present
2
Printer Is On-Line
Fault Condition
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 ASCII
1B 05
27 5
ESC ENQ
Bit
0
1
0
Form Present
Form Not Present
1
Paper Present
Paper Not Present
2
Printer Is On-Line
Fault Condition
3
Cash Drawer 1 Closed
Cash Drawer 1 Open
4
Cash Drawer 2 Closed
Cash Drawer 2 Open
5
Forms Clamp Closed
Forms Clamp Open
Status-Firmware
Used for RS-232C printers only. Causes the printer to return 3 bytes (000).
Hexadecimal Decimal ASCII
1B 56
27 86
ESC V
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...