Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands110
A776 (B780) Programming Guide A776-PG00001 C 12/09
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 buered 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 eective 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 (A)
1 = Lower left corner proceeding up the page (B)
2 = Lower right corner proceeding across page to the left (upside down) (C)
3 = Upper right corner proceeding down page (D)
Default: 0
Selects the printing direction and start position in page mode.
The command can be sent multiple times so that several dierent print areas, aligned in dierent print directions, can
be developed in the printer’s page buer 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 specied range.