18
LPRINT CHR$(13);
The print result of the above program is as following:
HT
Carry out Horizontal Tab Value
Format:
ASCII:
HT
Decimal:
9
Hexadecimal: 09
Explanation:
The print position is advanced to the next horizontal tab position which is set by ESC D
command.
Remark: If there is no horizontal tab value setting, or the current position equals or is
beyond the last horizontal tab position, HT command won’t be carried out. If the horizontal
tab position is beyond the current line width, HT command won’t be carried out, either.
ESC f
Print Blank Characters or Lines
Format: ASCII:
ESC
f
m
n
Decimal:
27
102
m
n
Hexadecimal: 1B
66
m
n
Explanation:
When m=0, ESC f NUL n will command to print n blank characters
When m=1, ESC f SOH n will command to print n blank lines. n=0~255.
Remark:
When m=0, if the value of n is beyond the current line width, the printer will continue to print
blank in the next line.
When m=1, paper will feed n current line heights.
Example: print 6 blank characters in one line, you can send the following commands: ASCII:
ESC
f
NUL
ACK
Decimal:
27
102
0
6
Hexadecimal: 1B
66
00
06
Another example: print 6 blank lines, you can send the following commands:
ASCII
:
ESC
f
SOH
ACK
Decimal
:
27
102
01
6
Hexadecimal: 1B
66
01
06
ESC l
Set Left Margin
Format: ASCII:
ESC
l
n
Decimal:
27
108
n
Hexadecimal:
1B
6C
n
Explanation:
Содержание SP-RMD8
Страница 9: ...6 Picture 2 5 ...
Страница 37: ...34 n 3 Error status n 4 paper feeding status 4 2 10 Bar Code Printing Commands GS k m d1 dk NUL Print Barcode ...
Страница 45: ...42 ...