TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
41
When a PrintBarCodeMode registry value is “TEC”, the module width of bar code data is determined
based on the
Width
parameter value of the PrintBarCode method. The narrower the modlue width is, the
more numbers of the bar code digits can be printed. For the 58-mm and 80-mm wide paper, module
width is as shown in the table below. This mode is supported for this Control to have compatibility with
the Toshiba TEC’s existing OPOS Control.
PrintBarcode Width Parameter
Module Width (dots)
Less than 1/2 of paper width
2
1/2 or more, but less than 3/4 paper width
3
3/4 or more, but less than paper width
4
Table 20 TRSTA1x POS Printer Control –
Width of Bar Code Printed in TEC Mode (58 mm paper wide)
PrintBarcode Width Parameter
Module Width (dots)
Less than 1/2 of paper width
2
1/2 more, but less than 3/4 paper width
4
3/4 or more, but less than paper width
6
Table 21 TRSTA1x POS Printer Control –
Width of Bar Code Printed in TEC Mode (80 mm paper wide)
4) Bitmap print
Bitmap files processed by the SetBitmap and PrintBitmap methods are printed only in black and
white.
Bitmaps are registered in the printer by the SetBitmap method and printed by the Bitmap Print
escape sequence (ESC|#B). A bitmap set by a process is shared by all processes opened.
Using SetBitmap, bitmaps can be registered in the RAM or flash ROM of the POS printer: in the
RAM for Bitmap Nos. 1 to 3, and in the flash ROM for Bitmap Nos. 4 to 10. To register a bitmap in
the flash ROM, a Start of Bitmap Registration to Flash ROM request and an End of Bitmap
Registration to Flash ROM request of the DirectIO method should be called. All bitmaps saved in
the RAM will disappear when the printer power is turned off, but those saved in the flash ROM will
be retained even after the printer power is turned off.
All bitmaps should be collectively saved in the flash ROM. When a bitmap is re-defined, all bitmaps
should be re-defined again because they are deleted. It is recommended to use a tool to write
bitmaps into the flash ROM which is provided together with the POS printer Control.
SetBitmap limits the size of a bitmap to be saved in the flash ROM. The maximum width and height
are as follows: Bitmaps can be clearly printed if the width and height are multiples of 8 dots.
Width (Max.)
Height (Max.)
80-mm wide paper
576(72*8)
512(64*8)
58-mm wide paper
432 (54*8)
512 (64*8)
Table 22 TRSTA1x POS Printer Control –
Max. Size of Bitmap Which Can be Saved Using SetBitmap