Rev. C Application Development Information for OPOS 5-3
TM-H6000III Technical Reference Guide
5.1.2.2 Setting of printing position by escape sequence
POS Printers support escape sequences that can be treated as printing data. The following
commands are the escape sequence command for setting of printing position.
Note1: manner of ”ESC |cA” and “ESC |rA”
Characteristics are reset at the end of each print method or by a “Normal” sequence, so these escape
sequences cannot be used in the following manner.
OPOSPOSPrinter1.PrintNormal PTR_S_RECEIPT, Chr(&H1B) + ”|cA” + ”123”
OPOSPOSPrinter1.PrintNormal PTR_S_RECEIPT, “456” + Chr(13) + Chr(10)
The “123” characters will be printed in the center, but not under “456”. When using a new method to
print characters, it is necessary to add the desired escape sequence again.
Note2 : limitation of ”ESC |cA” and “ESC |rA”
*During rotated printing mode (Left90, right90), these escape sequences will not work.
*These will not work if they are not the first character of a line.
*It is not possible to use these on PrintBitmap method.
5.1.2.3 Color bitmap printing
If a 16 color or a 256-color bitmap file is supplied, the image may be printed using 2 colors. If the
original file is a 2-color bitmap, it will be printed in monochrome. The halftone method may be
set using the device specific setting dialog. To print as image using 2 colors, 2-color thermal
paper must be selected in the device specific settings and 2-color thermal receipt paper must be
installed in the printer.
5.1.3 Printable bitmap format
The printable bitmap formats are formats that meet all the following conditions.
❏ BMP files
❏ Monochrome, 16-color (4 bit), 256-color (8 bit)
❏ Uncompressed
5.2 Slip & MICR Combination
If the slip function and the MICR function are used at the same time, the following control flow
is recommended.
Name Data Remarks
Center ESC |cA Aligns following text in the center.
Right justify ESC |rA Aligns following text at the right.
Normal ESC |N Restores printer characteristics to
normal condition.