24 25
Characters or graphics following this command are printed at n times normal height.
The value n should be within the range 1-2. Default value n=1, that means normal
height.
ESC W
Enlarge Width & Height
Format
ASCII :
ESC W n
Decimal :
27 87 n
Hexadecimal:
1B 57 n
Explanation:
Characters or graphics following this command are printed at n times normal width
and height. The value n should be in the range 1-2. Default value n=1, that means
normal width and height.
ESC -
Turn Underline on/off
Format
ASCII :
ESC -
n
Decimal :
27 45 n
Hexadecimal:
1B 2D n
Explanation:
Underlining is turned on if n=1, all characters are underscored including spaces.
Underline is turned off if n=0.
ESC 6
Select Font A
Format
ASCII :
ESC 6
Decimal :
27 54
Hexadecimal:
1B 36
Explanation:
Characters following this command are printed using the Font A. There are two
fonts available in the TP UP-NH printer. Font A is selected at power on or on ESC
@ command.
ESC 7
Select Font B
Format
ASCII :
ESC 7
Decimal :
27 55
Hexadecimal:
1B 37
Explanation:
Characters following this command are printed using the font B (see ESC 6).
SO
Select Double-width Printing
Format
ASCII :
SO
Decimal :
14
Hexadecimal:
OE
Explanation:
Characters following this command on the same line n the print buffer are printed at
twice their normal width. The command is canceled by a Carriage Return or using
DC4 command.
DC4
Cancel Double-width Printing
Format
ASCII :
DC4
Decimal :
20
Hexadecimal:
14
Explanation:
Double-width printing is canceled if it has been set using SO. This command does
not cancel enlarge width printing selected using ESC U or ESC W.
ESC c
Turn Inverse Printing on/off
Format
ASCII :
ESC c n
Decimal :
27
99 n
Hexadecimal:
1B
63 n
Explanation:
Inverse printing is turned on if n=1; inverse printing is turned off if n=0. Default
value n=0
3.5
User Defined Characters Commands
There two forms of user defined characters which can be recognized by printer
automatically.
3.5.1
User Defined Characters Form 1
Support user defined characters for 101 DPI horizontal and 68 DPI vertical.
Compatible with TPuP-T printer.
ESC &
Define User Defined Characters
Format
ASCII :
ESC & m n1 n2 ... n6
Decimal :
27
38 m n1 n2 ... n6
Hexadecimal:
1B
26
m
n1
n2
...
n6
Explanation:
This command allows a character to be defined. The value m is the code of this
user-defined character and ranges from 32 to 255. The value n1,n2,...n6 are codes
for structure defined characters. Character size is 6 x 8 dot matrix. That means
there are six codes, each code define one row of character for 8 rows.
User-defined characters are stored in printer RAM until power off. It can print out
according to 101 DPI horizontal and 68 DPI vertical.
If many ESC & commands use same m value, only the last one is
effective. The maximum number of user-defined characters is 32. Also