Select International Character Set; Select Or Cancel Upside-Down Print Mode - CognitiveTPG A798 Programming Manual

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

Advertisement

56
Chapter 4: Programming Commands

Select international character set

ASCII:
ESC t n
Hexadecimal: 1B 74 n
Decimal:
27 116 n
Value of n:
A798 native mode
emulation
0 = Code Page 437
1 = Code Page 850
2 = Code Page 852
3 = Code Page 860
4 = Code Page 863
5 = Code Page 865
6 = Code Page 858
7 = Code Page 866
8 = Code Page 1252
9 = Code Page 862
10 = Code Page 737, Greek (in A798 native mode and A794 emulation)
12 = Code 857
Default:
0 (Code Page 437)
Selects the character set to be used. Look in "Appendix B: Resident Character Sets" in the A798 User Guide Programming
Supplement for the character sets.
There are two codes for this command (See "Select international character code, 1B 52 n.) Both codes perform the same
function.
Related information
The LEGACY emulation selection applies only to the command "Select international character code" (1B 52 n).
The LEGACY emulation generates the same as A798 native mode for the command "Select international character set"
(1B 74 n).

Select or cancel upside-down print mode

ASCII
ESC { n
Hexadecimal
1B 7B n
Decimal
27 123 n
Value of n:
0 = Cancel
1 = Set
Default:
0 (Cancel)
Prints upside-down characters. The command may be combined with clockwise rotated print (1B 56) or counter-clockwise
rotated print (1B 12). The character order is inverted in the buffer so text is readable. Only bit 0 is used. Bits 1-7 are not
used. See summary of rotated printing in this document for more information.
Exceptions
The command is valid only at the beginning of a line.
It cannot be used with right side up characters on the same line.
A793 emulation
0 = Code Page 437
Not 0 = Code Page 850
A798-PG00001C
Application Compatible Escape Command
(1B 52 n only)
0 = U.S.A.
1 = France
2 = Germany
3 =-U.K.
4 = Denmark I
5 = Sweden
6 = Italy
7 = Spain
8 = Japan
9 = Norway
Revision C 12/09

Advertisement

Table of Contents
loading

Table of Contents