Star Line Thermal/Dot Printer Specifications page 158

Line thermal/dot printer star line mode command specifications
Table of Contents

Advertisement

ESC GS y D 2 a m1 n1L n1H d11 d12 ... d1k m2 n2L n2H d21 d22 ... d2k ml ... dlk
[Name]
QR code data setting (manual setting)
[Code]
ASCII
ESC
Hexadecimal
Decimal
ASCII
Hexadecimal
Decimal
[Defined Area]
Thermal
Slip
Validation
[Initial Value]
Thermal
Slip
Validation
[Function]
<Thermal>
Specifies the bar code data type and sets the data.
Parameter details
a : Block count
m : Input data type
nL + nH x 256
dk : Bar code data (max. 7089 bytes)
m
Data Type
1
Numbers
2
English Language
Characters
3
Binary
4
Kanji characters
(Shift JIS)
The printer receives the data type specified by m, based on the block count specified by a, and
the data of the number of bytes (k) specified by nL and nH, and sets that as the bar code data.
One block specified by a specifies m1 n1L n1H d11•••d1k (data type + data count + bar code
data), and by sending a multiple of these continuously, data types can be included in one bar
code.
It is possible to set a maximum of 255 blocks with one command transmission.
nL and nH specify the number of data bytes, so for Kanji characters, calculation is done using 1
character for two bytes.
If the parameter is outside of the defined area, the data for the amount of the counter is received
and discarded.
At that time, the bar code data is cleared.
The command data storage region is shared with the automatic setting command, so data is
updated each time either command is executed.
<Slip>, <Validation>
Only setting is valid
Setting is valid after switching to thermal.
STAR LIne Mode Command Specifications
GS
y
D
1B
1D
79
44
27
29
121
68
m2
n2L
n2H
D21
d22
m2
n2L
n2H
D21
d22
m2
n2L
n2H
D21
d22
:
1 ≤ a ≤ 255
1 ≤ m ≤ 4
0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 1 ≤ nL + nH × 256 ≤ 7089 (k = nL + nH × 256)
0 ≤ d ≤ 255
1 ≤ l ≤ 255
:
-
:
-
:
-
:
-
:
-
: Bar code data byte count
Data Defined Area (d)
"0" to "9"
" ", "$", "%", "*", "+", "-", ".", "/", ":",
"0" to "9", "A" to "Z"
0x00 to 0xFF
0x8140 to 0x9FFC, 0xE040 to 0xEBBF
However, the lower 8 bits are 0x40 to 0x7E, 0x80 to 0xFC.
2
a
m1
n1L
n1H
32
a
m1
n1L
n1H
50
a
m1
n1L
n1H
...
d2k
ml
...
...
d2k
ml
...
...
d2k
ml
...
3-146
d11
d12
...
d1k
d11
d12
...
d1k
d11
d12
...
d1k
dlk
dlk
dlk
Rev. 0.00

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsp7000

Table of Contents