![SPRT SP-RMD8D User Manual Download Page 19](http://html1.mh-extra.com/html/sprt/sp-rmd8d/sp-rmd8d_user-manual_1352056019.webp)
16
LPRINT “123456789012345678901234567890”
The print result is as following:
ESC Q
Set Right Margin
Format: ASCII:
ESC
Q
n
Decimal:
27
81
n
Hexadecimal:
1B
51
n
Explanation:
The value of n should be in the range from 0 to the line width of this model printer.
Default n=0, that means no right margin.
This command sets absolute position, and won’t be influenced by character commands
ESC U and ESC W.
After setting this command, the printer will carry out carriage return and feed line as long
as the right margin position is reached.
Example: set right margin value to 12, you can send the following commands:
ASCII:
ESC
Q
ACK
Decimal:
27
81
12
Hexadecimal: 1B
51
0C
The BASIC programs for this example are as below:
LPRINT
“12345678901234567890123456789012”
’Ruler
LPRINT
CHR$(27); CHR$(81);CHR$(12);
’ESC Q command
LPRINT
“123456789012345678901234567890”;
LPRINT
“12345678901234567890”
The print result is as following:
ESC P
Set Character Space
Format: ASCII:
ESC
P
n
Decimal:
27
112
n
Hexadecimal:
1B
70
n
Explanation:
This command is used to set space dot between characters, which is also valid for
Chinese characters.
Default n=0, means no space between characters. (dot is absolute value and won’t be
influenced by enlarging or narrow commands), n=0~255