7265 Programmer’s Manual
8
Copyright © 2004 TallyGenicom Chapter 2 ANSI
Pr inter Handshaking
Commands Description
DC1 PRINTER READY
In serial interface, if the printer is strapped for XON/XOFF handshaking, then
the printer sends DC1 to the host to signal that the printer is ready to accept
data.
In parallel interface, if the printer is strapped for select/ deselect by received
DC1/DC3 codes, then the host sends DC1 to the printer to set the printer
online.
Dec 17 Hex 11
DC3 PRINTER NOT READY
In serial interface, if the printer is strapped for XON/XOFF handshaking, then
the printer sends DC3 to the host to signal that the printer cannot, for the
moment, accept any more data.
In parallel interface, if the printer is strapped for select/ deselect by received
DC1/DC3 codes, then the host sends DC3 to the printer to set the printer to
Standby. In Standby, the printer will accept and acknowledge data from the
interface, but will discard all data received.
Dec 19 Hex 13
ETX ETX/ACK COMMUNICATION PROTOCOL
In serial interface, if the printer is strapped for ETX/ACK handshaking, then the
host sends the ETX control code at the end of a block of data.
Dec 3 Hex 03
ACK ETX/ACK COMMUNICATION PROTOCOL
In serial interface, if the printer is strapped for ETX/ACK handshaking, then the
printer sends an ACK in response to and ETX from the host to indicate that it is
ready to receive more data.
Dec 6 Hex 06