SNBC BTP-M300 Programming Manual
| Brand: | SNBC |
| Category: | Printer |
| Model: | BTP-M300 (Programming Manual) |
| File Type: | |
| File Size: | — |
| Pages: | 52 |
Text of SNBC BTP-M300 Programming Manual
SNBC BTP-M300 BTP-M300 Programming Manual
- 1 -
Revision history
Date
Version
Description
Drafted by
2013-3-5
V1.0
Primary version
Mr. Mu Jianping
BTP-M300 Programming Manual - 2 -
Declaration
If you need this manual, please comply with the Clause as below.
If you disagree with it, please return this manual immediately.
This manual contains the private confidential information belonging to Shandong New Beiyang
Info-Tech Co., Ltd. (hereinafter referred to as SNBC) or its distributors. You must keep its relative
content as the confidential information. If the users are commercial customers or entities,
BTP-M300 Programming Manual - 3 -
Contents
1 Overview .......................................................................................................................................... - 1 -
1.1 Commands classification ........................................................................................................... - 1 -
1.2 Key terms..........................................................................................................
BTP-M300 Programming Manual - 4 -
ESC t n....................................................................................................................................... - 14 -
ESC { n....................................................................................................................................... - 15 -
FS ! n........................................................................................................................
BTP-M300 Programming Manual - 5 -
ESC @ ....................................................................................................................................... - 30 -
ESC U n ..................................................................................................................................... - 30 -
ESC c 3 n.......................................................................................................................
BTP-M300 Programming Manual - 1 -
1 Overview
This manual classifies the printer commands into several kinds based on its functions, and also
describes the applications of relative commands in detail depending on its sorts. We hope that it is
helpful for programmers to get known of those commands.
1.1 Commands classification
This receipt printer commands are classified as below:
Print commands: used for printing and feeding paper;
Position commands: to cont
BTP-M300 Programming Manual - 2 -
inside parentheses after all commands in Demo is used to explain the meanings of this
command. The parentheses and data inside it is not the command to be transmitted to the
printer.
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
[
BTP-M300 Programming Manual - 4 -
[Format]
ASCII
ESC
K
n
Hex
1B
4B
n
Decimal
27
75
n
[Range]
0 ≤ n ≤ 48
[Notes]
If n exceeds the paper retraction range, the data in the buffer will be printed but the printer
will not retract paper.
Paper retraction may cause the issues below:
• The paper feed amount is not correct;
• Retraction noise is bigger than paper feed noise;
• In paper retraction, the paper may be colored due to ribbon.
ESC d n
[Fu