
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 control the print position;
Character commands: to set characters property;
Bitmap commands: to download and print bitmap, including NV bitmap;
Status commands: used for printer status query;
Other commands: used for periphery control, initialization, etc.;
For command instruction, please refer to the detailed function description of relevant commands.
1.2 Key terms
Real-time commands –
These commands are acted on immediately upon being received by the printer.
Print buffer –
used to store graphics data to be printed;
Marked paper mode –
Printer woks in the mode with marked paper;
Line beginning –
The status after executing the commands like
LF, CR, ESC J, ESC K, ESC d, ESC e
;
namely the position for starting the print is at the beginning of print buffer.
Asian characters –
Multi-byte code character represented by simplified Chinese, traditional Chinese,
Japanese and Korean characters of Asia. Some manufacturers call it Asian characters.
NV memory–
Non-volatile memory in which data stored are not cleared after power down. NV:
Non-volatile
ASB –
Auto Status Back
Font A –
9 x 9 dot matrix ASCII characters.
Font B –
7 x 9 dot matrix ASCII characters.
1.3 Command format
[Function]
The name and function summary of commands.
[Format]
Describe command data format, such as ASCII, Hex and Decimal.
[Range]
The value range of parameter in the command (The parameter is expressed in decimal
system).
[Note]
Explain the main features and application notices of commands.
[Default]
The initial value used after the printer initialized.
[Relative]
Other commands related to current command.
[Demo]
Example used for current or relative commands.
All command data in programming Demo use HEX. All normal font/characters are data.
There is no explanation for the data of command such as 42 43 which is data. The
font/character underlined and emphasized is a command such as
1B 40.
All the data
Содержание BTP-M300
Страница 1: ...Programming Manual Receipt Printer BTP M300 Shandong New Beiyang Information Technology Co Ltd ...
Страница 2: ......
Страница 8: ......