22
Note: This command is active just after issuing ESC W SOH (n=1)
command.
ESC V
Enlarge height
Format:
ASCII
:
ESC V
n
Decimal
:
27
86
n
Hexadecimal
:
1B 56 n
Explanation:
The height of character or graphics will be n times higher than normal
one. The value of n should range in 1 - 4. The default value is n=1, that is,
normal height without enlarging.
This command should issue at the beginning of printer operation.
For observing the enlarging effect, please use following BASIC program:
10 FOR I=1 TO 3
'From 1 to 3 times
20 PRINT #1, CHR$(27);"V";CHR$(I); 'ESC V command
30 PRINT #1, "TP"
'Print string
40 NEXT I
The printout of running the program in TP UP-PN printer is shown below:
Note: This command is active just after issuing ESC W SOH
(
n=1
)
command.
23
ESC W
Enlarge width & height
Format:
ASCII
:
ESC W
n
Decimal
:
27
87
n
Hexadecimal
:
1B
57
n
Explanation:
The printing width and height will be n times bigger than normal one. The
value of n should range among 1 to 4. The default value is n=1, that is, normal
width and height without enlarging.
For observing the enlarging effect of ESC W command, please run
following BASIC program:
10 FOR I=1 TO 3
'From 1 to 3 times
20 LPRINT CHR$(27);"W";CHR$(I); 'ESC W command
30 PRINT "TP"
'Print string
40 NEXT I
The printout of running the program in TP UP-PN printer is shown
below:
ESC -
Turn underline on/off
Format:
ASCII
:
ESC -
n
Decimal
:
27
45
n
Hexadecimal
:
1B
2D n
Explanation:
Underline is turned on if n=1 and turned off if n=0.
All characters including blank ones are underscored except meet the
command of turning off underline.
The BASIC program for observing the effect of ESC – command is shown
below:
20 PRINT #1, "TP";
30 PRINT #1, CHR$(27);"-";CHR$(1); 'Turn underline on
TP
TP
TP
Summary of Contents for UP-PN24S
Page 25: ...Character code table 2...