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
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...