Version 3.00 Sep. 2019
18
APPLICATION DEVELOPMENT GUIDE
POSPrinter (TM-L90LinerFree)
3.5 MAXI CODE Printing
3.5.1 Symbology Parameter
When printing MAXI CODE, set the Symbology parameter to one of the following
values.
PTR_BCS_MAXICODE
: Print using MAXI mode 2.
PTR_BCS 0
: Print using MAXI mode 3.
PTR_BCS 1
: Print using MAXI mode 4 or 5. The mode is set to
4 or 5 automatically depending on the length of the
Data parameter. (If the data is long, then the data
correction level is lowered for printing.)
PTR_BCS 2
: Print using MAXI mode 6.
3.5.2 Printing Size
Because the size of MAXI CODE is fixed, printing is done at a fixed size that is
unaffected by the Width and Height parameters. An error occurs only when the
Width and Height parameters fall below zero. If the two dimensional barcode
cannot fit into the print area (depending on the paper width, layout settings, etc.)
then OPOS_E_ILLEGAL is returned and at this moment ResultCodeExtended
becomes zero.
3.5.3 Printing Position
Like the one dimensional barcode, the print position of the two dimensional
barcode is the specified position.
3.5.4 Data Format
3.5.4.1 Mode 2
In the case of mode 2, because the format of primary m
secondary message is fixed, data for the Data parameter must follow this format.
The header part contains the following data, which can be omitted.
"[)> RS 01 GS yy" (In hexadecimal: 0x5B 0x29 0x3E 0x1E 0x30 0x31 0x1D 0x..
0x..)
yy is '0' to '9' (0x30 to 0x39)