TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
42
5) Notes for escape sequence
Operations, when an escape sequence is not specified at the head of line, but specified in the middle of
character string, are as follows:
For example
When an escape sequence is specified after printing and without performing carriage returns as in the
case with PrintNormal (Station, ”111”):
Escape Sequence
Operation when Escape Sequence is not Specified at
the Head of Line
Paper cut
Automatically performs carriage returns and cut a paper
after printing a print data.
Barcode print
Automatically performs carrigage returns and prints bar
code data after printing a print data.
Bitmap print
Automatically performs carrigage returns and prints
bitmap data after printing a print data.
Center aligned
Whole line is center aligned including the character before
an escape sequence. The last Center Aligned or Right
Aligned escape sequence specified is effective.
Right aligned
Whole line is right aligned including the character before
an escape sequence. The last Center Aligned or Right
Aligned escape sequence specified is effective.
Table 23 TRSTA1x POS Printer Control – Notes for Escape Sequence
6) Unidirectional print and bi-directional print
This printer only supports unidirectional print.
Therefore, RecLetterQuality is always set to TRUE.
7) Difference in character set by countries and registry
This printer defines different characters for each country.
The Country registry specifies a character set for each country. Characters used only for certain
countries and graphic characters for business use are assigned to the 12 characters: 0x23, 0x24, 0x40,
0x5B to 0x5E, 0x60, 0x7B to 0x7E.
This character set function is independent from the character setting by the CharacterSet property.
8) Timing of reporting the end of print method
This Control does not report the completion of printing when printing on a paper is completed, but reports
when transmission of print data to the printer is completed. For this reason, a timing of such report may
not be consistent with that when the printing is completed. Especially please note this when the amount
of remaining printable area becomes low. There may be the cases that No Paper will occur after the
application finishes sending all print data. It is recommended to replace a paper when a red mark, that
indicates the amount of remaining printable area is low, appears. Or, it is recommended that the
application can resume printing when the POS printer performed an abnormal printing.
9) Operation at a time of TransactionPrint Method error
This Control resumes printing from the beginning of a print transaction when an error occurs during an
asynchronous print initiated by the TransactonPrint method and the application sets a value of
pErrorResponse from the ErrorEvent handler to OPOS_ER_RETRY. A receipt can be output properly by
manually cutting a paper before a retry is performed by the ErrorEvent handler.