Telpar, Inc. MTP Series Receipt Thermal Printer User Manual
2011 Telpar, Inc. (Rev.20110809)
Page 18
4.2
Control Codes and Control Sequences
4.2.1 General Usage Print Commands
General Usage Print Commands
Name
Command
ASCII
Command
hex
Description
Tab
HT
09
Move the print position to the next horizontal tab
position. See ESC D. If a TAB is received and
there are no more tab positions set on the
current line, the TAB command is ignored. If the
TAB will exceed the right margin, an auto-print
is performed and the print position is set to the
start of the next line.
Line feed
LF
0A
Data on the current line is printed, paper is fed
one line based on the current line spacing, and
the print position is set to the left margin. If the
current line spacing is set to less than the
current font height then paper is fed to print the
current font height (see ESC 2, ESC 3 +n, and
ESC C +n).
Form Feed
FF
0C
Feed paper to end of page as defined by the
default page length of 11 inches or as modified
by the US C command. If TOF mode is enabled
(DIP switch 2 position 1 or ESC c 1 +n)) then
paper is fed until the next BLACK MARK is
detected. To advance to the BLACK MARK if
TOF mode is not enabled use the GS FF
command.
DLE
DLE
10
Data Link Escape Sequence Header.
Enable Auto
Status Back
DLE A +n1 +n2
10 41 +n1 +n2
+n1 and +n2 define a mask to enable the
transmission of the STATUS bytes when a user
defined event occurs. See Section 0 -
Status
commands
. Default = 00 00 (ASB
disabled).
Buffered STATUS
request
DLE B
10 42
The STATUS bytes are transmitted when this
command is processed out of the receive
buffer. See Section 0 -
Status
commands
.
Real time
STATUS request
DLE R
10 52
The STATUS bytes are transmitted when this
command is received by the printer. See
Section 0 -
Status
commands
.
User selected data
string
DLE U +n1
+n2
10 55 +n1 +n1
When DLE U +n1 +n2 is processed out of the
receive buffer, the printer will transmit DLE U
+n1 +n2 back to the host.
ESC
ESC
1B
ESCAPE Sequence Header.
GS
GS
1D
GROUP SEPARATOR Sequence Header.
US
US
1F
UNIT SEPARATOR Sequence Header.
Reverse Video ON
ESC RS
1B 1E
Printing is reversed to white characters on black
background. Reverse video requires more
power to print and is less readable. (Same as
GS B 01).