Star Micronics TSP400 Series Programmer's Manual page 45

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

Advertisement

RGB QUAD (Total 4 byte)
1 byte rgb Blue
1 byte rgb Green
1 byte rgb Red
1 byte rgb Reserved Reserved
Please see a sample program "SAMPLE2.BAS" written in QBASIC
EXAMPLE
at the end of this booklet.
Call download character
FUNCTION
CODE
<ESC> "G n1n2
1B
HEX
This command calls download character.
REMARKS
n1n2,n3n4 : Reference numbers of defined download characters(00
Note :
EXAMPLE
Character number "00" is "ABC" and "DEF" and between those
character, print download character number : 00,01
LPRINT CHR$(&H1B);"RC00;ABC";CHR$(&H1B);
"G00,01";CHR$(&H1B);"0";"DEF";CHR$(&H0A);CHR$(&H00);
Clear image data
FUNCTION
CODE
<ESC> "X" <LF><NUL>
1B
HEX
When the printer receives this command, the defined image data
REMARKS
are cleared.
The following commands will be cleared by<ESC> "X"
<ESC> "RC"<ESC> "RB"<ESC> "Q"<ESC> "H"<ESC> "G"
Note:
LPRINT CHR$(&H1B);"X";CHR$(&H0A);CHR$(&H00);
EXAMPLE
Brightness of Blue
Brightness of Green
Brightness of Red
,
47
n1n2 2C n3n4
to 31).
Only standard size characters (16 (W) 24 (H) dots) can
be defined as download characters.
58
0A
00
a) Image print area specified by <ESC>
cleared.
b) The defined format is not cleared.
c) To change the format, use
d) This command clears data for rewriting, allowing the
existing format to be used.
– 42 –
Ignored
Ignored
Ignored
Ignored
n3n4
" <ESC> "0"
1B
<ESC> "C".
30
"D"
is

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tup400 series

Table of Contents