Star Micronics TSP400 Series Programmer's Manual page 52

Star micronics tsp400: reference guide
Hide thumbs Also See for TSP400 Series:
Table of Contents

Advertisement

TUP400 Only
Request status
FUNCTION
CODE
<EOT>
04
HEX
When the printer receives this command, the printer sends back a
REMARKS
status byte for the current printer condition immediately to the
host.
Note:
<SOH> <STX> "NA" <ETX> <EOT> <CR> <LF> 01 02 4E 41 03 04 0D 0A Inside near-
<SOH> <STX> "NB" <ETX> <EOT> <CR> <LF> 01 02 4E 42 03 04 0D 0A Outside near-
<SOH> <STX> "E3" <ETX> <EOT> <CR> <LF> 01 02 45 35 03 04 0D 0A Page Empty
<SOH> <STX> "E5" <ETX> <EOT> <CR> <LF> 01 02 45 35 03 04 0D 0A Paper was fed
<SOH> <STX> "E6" <ETX> <EOT> <CR> <LF> 01 02 45 36 03 04 0D 0A Presenter paper
<SOH> <STX> "E0" <ETX> <EOT> <CR> <LF> 01 02 45 30 03 04 0D 0A None of the
Note:
LPRINT CHR$(&H04);
EXAMPLE
If the printer is in a condition of "Inside near-end, Outside near-
end" then the printer returns the following codes to the host.
CODE <SOH> <STX> "NA"
HEX
Printer conditions are reported by the following status
bytes:
Data
When more than one printer condition exists, the printer
sends each status byte separated by a comma.
Inside near-end, Outside near-end: <SOH> <STX>
"NA","NB" <ETX> <EOT> <CR> <LF>
01
02
4E 41
– 49 –
HEX
,
"NB" <ETX> <EOT> <CR> <LF>
2B
4E 42
03
Condition
end
end
from presenter
jam error
above
04
0D
0A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tup400 series

Table of Contents