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
Содержание SP-RMD8D
Страница 8: ...5 Picture 2 5...
Страница 34: ...31 n 3 Error status n 4 paper feeding status 4 2 10 Bar Code Printing Commands GS k m d1 dk NUL Print Barcode...
Страница 42: ...39...
Страница 46: ...43 Appendix 4 Example of MCU Interface See the description of the printer s serial interface in 3 1 1...
Страница 47: ...44...
Страница 51: ...48...