Star Micronics TSP400 Series Programmer's Manual page 50

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

Advertisement

<SOH> <STX> "FI" <ETX> <EOT> <CR> <LF> 01 02 46 49 03 04 0D 0A Printing fin-
<SOH> <STX> "OF" <ETX> <EOT> <CR> <LF> 01 02 4F 46 03 04 0D 0A Printer off-line
<SOH> <STX> "PR" <ETX> <EOT> <CR> <LF> 01 02 50 52 03 04 0D 0A Printing
<SOH> <STX> "RE" <ETX> <EOT> <CR> <LF> 01 02 52 45 03 04 0D 0A Ready
<SOH> <STX> "E1" <ETX> <EOT> <CR> <LF> 01 02 45 31 03 04 0D 0A System error
<SOH> <STX> "E2" <ETX> <EOT> <CR> <LF> 01 02 45 32 03 04 0D 0A Head up
<SOH> <STX> "E3" <ETX> <EOT> <CR> <LF> 01 02 45 33 03 04 0D 0A Paper empty
Note:
LPRINT CHR$(&H05);
EXAMPLE
If the printer is in a condition of "Head up, paper empty" then the
printer returns the following codes to the host.
CODE <SOH> <STX> "E2"
HEX
Select international character set
FUNCTION
<ESC> "N n1n2" <LF><NUL>
CODE
1B
HEX
This command defines temporary change of the international
REMARKS
character set.
For permanent change of the international character set, change
memory switch settings by using<ESC> "#".
n1n2 Country
00 U.S.A
01 France
02 Germany
n1n2 Country
12 Latin America
Select Spain #2 Character set.
EXAMPLE
LPRINT CHR$(&H1B);"N11";CHR$(&H0A);CHR$(&H00);
Data
When more than one printer condition exists, the printer
sends each status byte separated by a comma.
Head up, and paper empty: <SOH> <STX> "E2","E3"
<ETX> <EOT> <CR> <LF>
01
02
45 32
4E n1n2 0A
n1n2 Country
03 UK
04 Denmark #1
05 Sweden
– 47 –
HEX
,
"E3" <ETX> <EOT> <CR> <LF>
2B
45 33
03
00
n1n2 Country
06 Itary
07 Spain #1
08 Japan
Condition
ished
in
progress
04
0D
0A
n1n2 Country
09 Norway
10 Denmark #2
11 Spain #2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tup400 series

Table of Contents