Select Standard Mode; Select Print Direction In Page Mode - CognitiveTPG A798 Programming Manual

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

92
Chapter 4: Programming Commands

Select standard mode

ASCII
ESC S
Hexadecimal
1B 53
Decimal
27 83
Switches from page mode to standard mode. In switching from page mode to standard mode, data buffered in page mode
are cleared, the printing area set by set print area in page mode (1B 57) is initialized and the print position is set to the
beginning of the line.
This command switches the settings for the following commands (the values for these commands can be set independently
in standard mode and page mode) to those for standard mode:
• Set right-side character spacing (1B 20)
• Select 1/6 inch line spacing (1B 32)
• Set line spacing (1B 33)
Standard mode is automatically selected when power is turned on, the printer is reset, or the initialize printer command
(1B 40) is used.
Exceptions
This command is effective only in page mode.

Select print direction in page mode

ASCII
ESC T n
Hexadecimal
1B 54 n
Decimal
27 84 n
Value of n:
Start position
0 = Upper left corner proceeding across page to the right
1 = Lower left corner proceeding up the page
2 = Lower right corner proceeding across page to the left (upside down)
3 = Upper right corner proceeding down page
Default:
0
Selects the printing direction and start position in page mode. See the illustration in previous column.
The command can be sent multiple times so that several different print areas, aligned in different print directions, can be
developed in the printer's page buffer before being printed using the print page mode commands (0C or 1B 0C).
Exceptions
The command is valid only in page mode.
The command is ignored if the value of n is out of the specified range.
A798-PG00001C
Revision C 12/09

Advertisement

Table of Contents
loading

Table of Contents