Esc gs y d 1 m nl nh d1 d2 … dk – Star Micronics Line Thermal/Dot Printer User Manual
Page 157

Rev. 0.00
3-145
STAR Line Mode Command Specifications
ESC GS y D 1 m nL nH d1 d2 … dk
[Name] QR code data setting (automatic setting)
[Code]
ASCII
ESC
GS
y
D
1
m
nL nH
d1
d2
…
dk
Hexadecimal
1B
1D
79
44
31
m
nL nH
d1
d2
…
dk
Decimal
27
29
121
68
49
m
nL nH
d1
d2
…
dk
[Defined Area]
Thermal
: m = 0
0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 1 ≤ nL + nH × 256 ≤ 7089 (k = nL + nH × 256)
0 ≤ d ≤ 255
Slip
: -
Validation
: -
[Initial Value]
Thermal
: -
Slip
: -
Validation
: -
[Function]
Automatically analyzes the bar code data type and sets the data.
• Parameter details
• nL+nH×256:
Bar code data byte count
• dk:
Bar code data (max. 7089 bytes)
• When using this command, the printer receives data of the number of bytes (k) specified by nL
and nH, automatically analyzes the data and sets that as the bar code data.
• nL and nH specify the number of data bytes.
When processed as a Kanji character code, two bytes are one character.
• 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 not cleared.
• The command data storage region is shared with the manual setting command, so data is
updated each time either command is executed.
Only setting is valid
Setting is valid after switching to thermal.