Version 3.00 Feb. 2019
APPLICATION DEVELOPMENT GUIDE
POSPrinter (TM-T100M)
18
3.7 GS1 Printing (two dimension)
3.7.1 Symbology Parameter
When printing GS1, set the Symbology parameter to one of the following value.
PTR_BCS_GS1DATABAR_S : Print using GS1 DataBar Stacked Omnidirectional
PTR_BCS_GS1DATABAR_E_S : Print using GS1 DataBar Expanded Stacked
PTR_BCS 7 : Print using GS1 DataBar Stacked.
PTR_BCS 8 : Print using GS1 DataBar Stacked Omnidirectional.
PTR_BCS 9 : Print using GS1 DataBar Expanded Stacked.
3.7.2 Printing Size
Printing is done to the inner part at a size closest to it by using the value specified
by the Width parameter. Therefore, the height of print is not affected by the
Height parameter. If the Width and Height parameters are less than 0, an error
occurs. Because the printing size is determined by the data length
*1
and barcode
type, you can use the size of the module to adjust the print size.
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 0.
*1
Available only for the GS1 DataBar Expanded Stacked.
3.7.3 Printing Position
Like the one dimensional barcode, the print position of the two dimensional
barcode is the specified position.
3.7.4 Data Format
[Setting range of data]
Symbology Length
(byte)
Characters that can be specified
GS1 DataBar Stacked
13
0x30-0x39
GS1 DataBar Stacked
Omnidirectional
13 0x30-0x39
(The first character is limited to
0x30 or 0x31.)
GS1 DataBar Expanded
Stacked
2 to 255
0x20-0x22, 0x25-0x3f, 0x41-0x5a,
0x5F, 0x61-0x7a
(The first two characters are
limited to 0x30-0x39. Or if the first
character is 0x28, the second and
the third characters are limited to
0x30-0x39.)