Star Micronics TSP400 Series Programmer's Manual page 41

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

Advertisement

Set bar code data
FUNCTION
CODE
<ESC>
1B
HEX
This command defines the bar code data to be printed.
REMARKS
n1n2
a1a2....an : Bar code data to be encoded and printed.
Note:
Defined bar code number: 00, print data: 12345678901
EXAMPLE
LPRINT CHR$(&H1B);"RB00;12345678901";CHR$(&H0A);
CHR$(&H00);
Store dot graphic data into image memory
FUNCTION
CODE
<ESC>
,
<LF>....nm1nm2....nmk"
1B
HEX
2C w1w2w3 2C n11n12n13n....n1k
<LF>....nm1nm2....nmk"
"R
B
n1n2
52
42
n1n2
: Two digits reference number of defined bar code
whose print position and type are previously defined
with <ESC>"PB".
a) Start character of CODE 39 is automatically inserted.
b) Check word of JAN, EAN, or UPC is automatically
calculated and inserted.
c) When data length does not meet the specifications of
JAN, EAN, or UPC, data length is automatically
modified.
d) CODE 128 conforms to EAN-128; the start code,
check word, and stop code of CODE 128 are auto-
matically inserted.
e) Start, stop and check characters of CODE 93 are
automatically inserted.
f) Start and stop characters of Interleaved 2 of 5 are
automatically inserted.
g) When the number of digits of lnterleaved 2 of 5 is an
odd number, "0" is automatically inserted as the
highest digit.
h) If ";" is missing, printer goes into an error condition.
"Q
;
x1x2x3x4
w1w2w3
, n11n12n13n....n1k
51
3B x1x2x3x4 2C y1y2y3y4 2C
– 38 –
; a1a2....an"<LF> <NUL>
3B a1a2....an 0A
,
y1y2y3y4
<LF> <NUL>
0A
00
00
,
|1|2|3|4
|1|2|3|4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tup400 series

Table of Contents