![background image](http://html.mh-extra.com/html/toshiba/trst-a10-series/trst-a10-series_user-manual_429122038.webp)
TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
38
For some bar code types, care must be taken when setting bar code data to the
Data
parameter of the
PrintBarcode method.
Such bar code types and precautions are given in the table below:
Barcode Type
Precautions
Codabar(NW7)
Start code, “A”, “B”, “C”, or “D” and stop code, “A”, “B”, “C”,
or “D” should be affixed. Even when neither of start code
nor stop code is affixed, the OPOS method completes
successfully, but bar code is not printed.
Code 39
If neither of start code “*” nor stop code “*” is affixed, the
POS printer automatically affixes a start code and a stop
code to print bar code.
Code 128
A start code, {A, {B, or {C should be affixed. Even when a
start code is not affixed, the OPOS method completes
successfully, but bar code is not printed.
Table 18 TRSTA1x POS Printer Control – Precautions for Setting Data Parameter
When a PrintBarCodeMode registry value is “Standard”, bar code printing is performed in accordance
with the specifications described in the APG.
By comparing the width specified by the Width parameter of the PrintBarCode method to that of the bar
code to be printed, the bar code width is selected among the six levels of width, which is as close as the
width of bar code to be printed and less than that specified by the Width parameter.
The module width changes depending on barcode type and width, and data as shown below.
If all bar code digits cannot be printed on the printer, an error will result by the PrintBarCode method.
Barcode Type
Barcode Width (dots)
Module Width
(dots)
95
1
190
2
285
3
380
4
475
5
UPC-A
570
6
51
1
102
2
153
3
204
4
255
5
UPC-E
306
6
67
1
134
2
201
3
268
4
335
5
JAN8(EAN8)
402
6
95
1
190
2
285
3
JAN13(EAN13)
380
4