Specifications

EM 220
Rev. 1.00
- 54 -
Mobile Printer Command Manual
<Function 281> GS ( k pL pH cn fn m (fn=81)
[Format]
[Range]
[Description]
[Notes]
ASCII GS ( k pL pH cn fn m
Hex 1D 28 6B 03 00 32 51 m
Decimal 29 40 107 3 0 50 81 m
(pL + pH x 256) = 3 (pL=3, pH=0)
cn=50
fn=81
m=48
Encodes and prints QR CODE symbol data saved in the storage area
This function is used in regular mode when the printer is at the first line or
no data is present in the printer buffer.
If the size of any one symbol is larger than the print area, printing cannot
be done.
If any of the following errors is present in the symbol storage area, printing
cannot be done.
- There is no data. (Function 280 cannot be executed)
- The number of numeric characters exceeds 138.
- The number of alphanumeric characters exceeds 93.
- When mode 2 is selected, the primary message does not include all of
the following:
Primary Message Data Number Character
Postal Code 1~9 Numeric
ISO Country Code 1~3 Numeric
Service Type Code 1~3 Numeric
- When mode 3 is selected, the primary message does not include all of
the following:
Primary Message Data Number Character
Postal Code 1~6 Setting Code A
ISO Country Code 1~3 Numeric
Service Type Code 1~3 Numeric
Modes 2 and 3 are executed according to the following procedures:
(RS, GS indicate the control code of MAXI CODE. y indicates the 2byte
numeric data.)
a) 9 byte data including ”[]>”,”RS”,”01”,”GS”,”yy” are regarded as the
Header.
- The next data item after the Header is the Primary Message.
- When printing, the Header is inserted at the beginning of the
Secondary Message.
b) When Header data is absent, the Primary Message is regarded as
the first data item.
c) In the Primary Message, GS is regarded as the separator that divides