AMT Datasouth 4000 Printer User Manual


 
50 User's Guide
Interaction Commands
Such commands only apply to the serial port and allow the host to understand the status
and configuration of the printer.
Command Description Response
from printer
Contents of the Response
<SOH># Reset Yes <XOFF><XON>T
<SOH>A Send a readable status
string
Yes <8 bytes, Y/N> <CR>
byte 1 : Y - printer busy
byte 2 : Y - paper out
byte 3 : Y - ribbon out
byte 4 : N (always)
byte 5 : Y - printing
byte 6 : Y - printer paused
byte 7 : Y - label presented
byte 8 : N (always)
<SOH>B Toggle pause
condition
No
<SOH>E Send the number of
labels to be printed
Yes e. g.
0000<CR>
no label left to be printed
<SOH>F Send status byte Yes n<CR>
Same as <SOH>A, except bits 1 to 8
corresponds to bytes 1 to 8 of <SOH>A.
Notes:
1. Control codes for the printer commands.
Symbol Code (hexadecimal)
XON 11H
XOFF 13H
STX 02H
SOH 01H
ESC 1BH
LF 0AH
CR 0DH
2. There is no space code in each command.