Status Response - SATO E series Programming Manual

Table of Contents

Advertisement

Section 7: Bi-Directional Communications
upon receipt, even if the printer is off-line or in an error condition. The printer will
return an ACK (06 hexadecimal) if there is no printer error condition and a NAK (15
hexadecimal) if an error condition exists.
PRINT JOB
Upon receipt of a valid print job (<ESC>A . . . <ESC>Z), an ACK (06 hexadecimal)
will be returned by the printer if there are no errors and a NAK (16 hexadecimal) if a
printer error exists (this protocol only works with the RS232C interface).
PRINT STOP (DLE)
If a DLE (10 hexadecimal) is received by the printer, the print process is stopped and
an ACK (06 hexadecimal) is returned if there are no errors and a NAK (16
hexadecimal) if a printer error exists.
PRINT START (DC1)
If the printer has been stopped by receipt of a DLE (10 hexadecimal) command, it can
be restarted by sending a DC1 (hexadecimal 11) command. Upon receipt of this
command an ACK (06 hexadecimal) is returned if there are no errors and a NAK (16
hexadecimal) if a printer error exists.
(1) To provide compatibility with older SATO printers, the RS232C interface
can be configured to use an earlier Bi-Com 3 ENQ/ACK/NAK protocol
selected via DSW2-8 and DSW1-7/8 (on the RS232C Interface module).The
earlier protocol did not have provisions for the Job Name and did not
respond to the DLE or DCI commands. Also, there are additional Response
Codes in the Status Byte Definition. It is recommended that you use the
current protocol rather than the earlier version unless it is necessary for
compatibility with existing software.

STATUS RESPONSE

The second method of determining printer status is to interrograte the printer with
specific commands. The response from these commands will provide specific
information about the printer status depending upon the command. This allows the
controlling application to determine the status of a printer when it is located in a
remote location.
PRINTER STATUS (SOH + MG)
Upon Receipt of an SOH (hexadecimal 01) followed immediately by an ASCII MG
causes the printer to return a 30 byte Printer Status Word bounded by an STX-ETX
pair that reports the current operating status of the printer.
BYTE
NUMBER
1
Page 7-2
HEX VALUE
00
Thermal Transfer Print Type
01
Direct Thermal Print Type
DESCRIPTION
SATO Programming Reference

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pro series

Table of Contents