Specifications

EM 220
Rev. 1.00
- 51 -
Mobile Printer Command Manual
<Function 181> 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 31 51 M
Decimal 29 40 107 3 0 49 81 M
(pL + pH x 256) = 3 (pL=3, pH=0)
cn=49
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 180 cannot be executed)
- If [(number of columns x number of rows) < number of code words], the
numbers of columns and rows are automatically processed.
- The four types of data compression mode are as follows:
*Numeric Data Code
*Alphanumeric Data mode
*Kanji Data mode
*8 bit Data mode
Note: According to the symbol data in the data storage area, automatic
conversion to optimal compression is done.
The following data is automatically added during encoding:
- Position sensor pattern
- Segregator for the position sensor pattern
- Timing pattern
- Format information
- Version information
- Error correction code text
- Pad code text
- Indicator for counting bits of bytes
- Mode indicator
- Concluder
- Queue pattern (when model 2 is selected)
- Expansion pattern (when model 1 is selected)
During symbol printing, the printer mode has no effect (bold, underline,
reverse direction, contrast).
In regular mode, this command supplies enough paper required for
symbol printing. If the paper supply is not sufficient, the paper supply
command is executed. When printing, the printing position is to the left
of the print area. After symbol printing, the printer returns to the start
position of the line, and the buffer is emptied.