![SPRT SP-RMD12 User Manual Download Page 20](http://html1.mh-extra.com/html/sprt/sp-rmd12/sp-rmd12_user-manual_1352053020.webp)
18
command.
Notice: if there is no vertical tab value setting, or the current position equals or is
beyond the last vertical tab position, VT command is to feed paper one line only
(same to LF command).
ESC D
Set Horizontal Tab Value
Format:
ASCII:
ESC
D
n1 n2 n3…NUL
Decimal:
27
68
n1 n2 n3…0
Hexadecimal:
1B
44
n1 n2 n3…00
Explanation:
The horizontal tab positions are entered as n1, n2 and so on, all of which should be
within the line width of this model printer. Character NUL is added at the end to indicate
that the command is over.
All set horizontal tab positions can be deleted by using this command in ESC D NUL
format.
Command HT carry out horizontal tab.
Example: set three horizontal tab values at 2
nd
, 9
th
line, 14
th
character position in one
line,
ASCII:
ESC
D
STX
HT
SO
NUL
Decimal:
27
68
2
9
14
0
Hexadecimal: 1B
44
02
09
0E
00
The BASIC programs for this example are as below:
LPRINT
“12345678901234567890123456789012”
’Ruler
LPRINT CHR$(27); CHR$(68);CHR$(2);CHR$(9);CHR$(14); CHR$(0); ’ESC D
command
LPRINT CHR$(9);
‘HT command
LPRIN “HT1”;
‘print character string
LPRINT CHR$(9);
‘HT command
LPRINT “HT2”;
‘print character string
LPRINT CHR$(9);
‘HT command
LPRINT “HT3”;
‘print character string
LPRINT CHR$(13);
The print result of the above program is as following:
Summary of Contents for SP-RMD12
Page 39: ...37 n 2 Off line status n 3 Error status n 4 paper feeding status...
Page 47: ...45 Characters Set 2...
Page 48: ...46...