![SPRT SP-D10 Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/sprt/sp-d10/sp-d10_user-manual_1352025021.webp)
19
4.2.2 Format setup command
ESC B
Set the vertical tabulation values
Form: ASCII:
ESC
B
n1
n2
n3…NUL
Decimal:
27
66 n1
n2
n3…0
HEX:
1B
42 n1
n2
n3…00
Explain: Vertical tabulation location input n1, n2, etc.
NUL character is added at the last to indicate the end of this command.
All input vertical tab positions can be deleted by using this command in ESC B NUL format.
VT command is to carry out vertical tab and the paper is fed to the next vertical position.
Example: set three vertical tab values at 2
nd
line, 5
th
line, 8
th
line in one page, you
can send the following commands:
ASCII:
ESC
B
STX
ENQ
BS NUL
Decimal:
27
66
2
5
8
0
Hexadecimal: 1B
42
02
05
08
00
The BASIC programs about the above example are as below:
LPRINT CHR$(27); CHR$(66);CHR$(2);CHR$(5);CHR$(8);CHr$(0); ‘ESC
B
command
LPRINT CHR$(11);
‘VT command
LPRINT “SPRM1”
‘
Print a string
LPRINT CHR$(11);
‘VT command
LPRINT “SPRM2”
‘
Print a string
LPRINT CHR$(11);
‘VT command
LPRINT “SPRM3”
‘
Print a string
The print result of the above program is as following:
Содержание SP-D10
Страница 41: ...39 Character set 2...
Страница 46: ...44...
Страница 51: ...49...
Страница 52: ...50...