Star Micronics TSP400 Series Programmer's Manual page 49

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

Advertisement

EXAMPLE 2
LPRINT CHR$(&H1B);"#1,1111";CHR$(&H0A);CHR$(&H00);
LPRINT CHR$(&H1B);"?";CHR$(&H0A);CHR$(&H00);
Sensor :
Start position detect :
Zero style :
International character set : France
EXAMPLE 3
LPRINT CHR$(&H1B);"#2,0001";CHR$(&H0A);CHR$(&H00);
LPRINT CHR$(&H1B);"?";CHR$(&H0A);CHR$(&H00);
Cutter :
Printing speed :
Note:
Reset printer
FUNCTION
CODE
<ESC>
1B
HEX
Resets the printer and prints self-test. This command will also set
REMARKS
memory switch conditions without the need to turn the printer
power OFF and ON again.
LPRINT CHR$(&H1B);"?";CHR$(&H0A);CHR$(&H00);
EXAMPLE
Request status
FUNCTION
<ENQ>
CODE
05
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:
Transmissive sensor
ON
Slashed zero
Invalid
25 mm/sec
In order to enable the changed memory switch setting,
turn the printer OFF and ON again or send the printer
reset command (<ESC>"?") to the printer.
?
<LF><NUL>
3F
0A
00
Printer conditions are reported by the following status
bytes:
– 46 –

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tup400 series

Table of Contents