19
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 left margin.
This command sets absolute position, and won’t be influenced by character
commands ESC U and ESC W.
Example: set left margin value to 12, you can send the following commands:
commands:
ASCII: ESC
1
ACK Decimal:
27
108
12
Hexadecimal: 1B 6C 0C
The BASIC programs for this example are as below:
LPRINT “1234567890123456”
’Ruler
LPRINT
CHR$(27); CHR$(108);CHR$(12); ’ESC 1 command
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:
Summary of Contents for SP-RMD8
Page 9: ...6 Picture 2 5 ...
Page 45: ...42 ...