![SPRT SP-RMD11A User Manual Download Page 24](http://html1.mh-extra.com/html/sprt/sp-rmd11a/sp-rmd11a_user-manual_1352052024.webp)
22
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:
HT
Carry out Horizontal Tab Value
Format:
ASCII:
HT
Decimal:
9
Hexadecimal:
09
Summary of Contents for SP-RMD11A
Page 20: ...18...
Page 43: ...41 n 2 Off line status n 3 Error status n 4 paper feeding status...
Page 51: ...49 Characters Set 2...
Page 52: ...50...