Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 6: DH emulation154
A776 (B780) Programming Guide A776-PG00001 C 12/09
Each byte of data sent denes each column of the graphic to be printed. The rst byte denes the column in the left
margin, with the following bytes dening 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