Specifications

EM 220
Rev. 1.00
- 57 -
Mobile Printer Command Manual
<Function 381> 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 33 51 m
Decimal 29 40 107 3 0 51 81 m
(pL + pH x 256) = 3 (pL=3, pH=0)
cn=51
fn=81
m=48
Encodes and prints DATAMATRIX 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 380 cannot be executed)
- The number of alphanumeric characters exceeds 2334.
- The number of 8bit byte characters exceeds 1558.
- The number of numeric characters exceeds 3116.
DATAMATRIX uses ECC 200 symbols.
In the detection and correction of errors, DATAMATRIX uses the Reed-
Solomon algorithm.
The following data is automatically added during the encoding process:
- Position pattern
- Error correction code text
- Mode separator
- Pad code text
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.