
BTP-M300 Programming Manual
- 3 -
2 Command Description
2.1 Print command
LF
[Function]
Print the data in buffer and feed one line; when the print buffer is vacant, feed one line
and the paper feed amount is the current line spacing.
[Format]
ASCII
LF
Hex
0A
Decimal 10
[Relative]
ESC 2, ESC 3
CR
[Function]
When the command is enabled, it equals to
LF
; it is used to print the data in the print
buffer when disabled.
[Format]
ASCII
CR
Hex
0D
Decimal
13
[Notes]
· Whether the command is enabled or not depends on the printer configuration.
[Relative]
LF
ESC J n
[Function]
Print the data in buffer and feed paper n dots (1 dot = 0.176mm)
[Format]
ASCII
ESC J
n
Hex
1B
4A
n
Decimal 27
74
n
[Range]
0
≤
n
≤
255
[Notes]
· The paper feed amount set by this command is not affected by the values set by
ESC 2
or
ESC 3
.
[Demo] 1B
40
(initialize printer)
41 41 41 41 41 41 41(data to be printed)
1B 4A 32
(print and feed 50*0.176 = 88mm)
42 42 42 42 42 42 42
0A
(data to be printed)
Result:
ESC K n
[Function]
Print the data in buffer and retract paper n dots (1 dot = 0.176mm)
Содержание BTP-M300
Страница 1: ...Programming Manual Receipt Printer BTP M300 Shandong New Beiyang Information Technology Co Ltd ...
Страница 2: ......
Страница 8: ......