11
4. Software Command
4.1 Introduction
There are four basic types of software commands.
l
One-byte only control codes, see table 3.1
l
Set up commands, see table 3.2
l
Label formatting commands, see table 3.3
l
Buffer mode commands, see table 3.4
The commands are expanded from Esc code (decimal 27).
The commands operate in two modes.
l
In the line mode, the printer acts on the command received immediately. After power on, the printer is in
the line mode.
l
In the buffer mode, the printer stores the lines of commands for a label into the printer buffer, then prints
multiple copies of the label without pause. Only the label formatting commands can be stored into the
printer buffer.
Sign Function
Description
♀
FF (decimal 12) Form feed
↵
CR (decimal 13) Carriage Return. This code moves the label to the next line and turn reverse printing
off.
LF (decimal 10) Line feed
Table 3.1 one-byte control codes
Function
Description
Page
Esc Dn
Set print darkness level.
13
Esc In
Select one of 9 country code character sets.
13
Esc ?n
Select one of 9 barcode types
13
Esc Mnn
Set left margin.
13
Esc Nnn
Set the form feed length (01 to 25 mm) for plain thermal paper printing.
13
Esc On
Adjust the stop position of the label when in strip operation.
13
Esc ON
Disable peeler mode.
13
Esc Qnnn Set stop position count (for Label and Black mark paper)
14
Esc qnnn
Set stop position count (for Label paper only)
15
Esc an
Set start position. This command is applied for micro-position adjustment.
15
Esc fnn
Forward the paper.
15
Esc Rnn
Back up the paper.
15
Esc Sn
Set print speed.
15
Esc Xn
Set the bar code X dimension
17
Esc xnw
Adjust the narrow bar to wide bar ratio.
17
Esc Fn
Select see through sensor or reflect sensor.
17
Esc C
Cutting paper.
17
Table 3.2 Setup commands
PDF created with FinePrint pdfFactory trial version
http://www.fineprint.com