14
n dot-line
ESC J
Perform ’n’
dot-line feed
Format:
ASCII
:
ESC J
n
Decimal
:
27
74
n
Hexadecimal
:
1B
4A n
Explanation:
Print the data of buffer if it exists.
Line feed n dot-lines forward. The value of n is 1
~
255.
Note: the line spacing may be changed after use enlarging character
command ESC V or ESC W.
ESC 1
Set ’n’
dot-line spacing
Format:
ASCII
:
ESC 1
n
Decimal
:
27
49
n
Hexadecimal
:
1B
31
n
Explanation:
Set n dot-line spacing for future Line Feed command.
The value of n ranges 0
~
255. Usually set n=0 before using ESC K
command to print bit-map graphics. Normally set n=3 at text printing mode.
Default value is n=3.
Example:
n dot-line
15
Observe the effect of the command by following BASIC program:
10 FOR I=1 TO 10 STEP 2
20 PRINT #1, CHR$(27);"1";CHR$(I); 'ESC 1, set line spacing.
30 PRINT #1, "LINE SPACING";CHR$(10); 'Print string and Carriage
Return.
40 NEXT I
A printout of above program on TP UP-PN is below:
FF
Form Feed
Format:
ASCII
:
FF
Decimal
:
12
Hexadecimal
:
0C
Explanation:
Feed paper to the beginning side of next page.
3.3 Formatting Commands
ESC C
Set page length
Format:
ASCII
:
ESC C
n
Decimal
:
27
67
n
Hexadecimal
:
1B
43
n
Explanation:
Set page length with n character lines. The value of n should be in 0 - 255.
The page length will be defined as 256 lines if n=0.
The default value is n=40.
Summary of Contents for UP-PN24S
Page 25: ...Character code table 2...