
Telpar MTP-1530II Receipt Thermal Printer User Manual
MTP-1530II User Manual (
Rev.20120510
)
Page 7
1.1 Definitions
1.1.1
Standard Mode versus Page Mode
The printer operates in two print modes: standard mode and page mode.
In standard mode, the printer prints and feeds paper each time it
receives print data or paper feed commands. In page mode, all the
received print data and paper feed commands are processed in the
specified memory, and the printer executes no operations. All the data in
the memory is then printed collectively when an
ESC FF
or
FF
command
is received.
For example, when the printer receives the data "ABCDEF" <
LF
> in
standard mode, it prints "ABCDEF" and feeds the paper by one line. In
page mode, "ABCDEF" is written to the specified printing area in
memory, and the position in memory for the next print data is shifted by
one line.
The
ESC L
command puts the printer into page mode, and all
commands received thereafter are processed in page mode. Executing
an
ESC FF
command prints the received data collectively, and executing
an
FF
command restores the printer to standard mode after the received
data is printed collectively. Executing an
ESC S
command restores the
printer to standard mode without printing the received data in page
mode; the received data is cleared from memory instead.
1.1.2
Hex Dump Mode
This function is sometimes useful for diagnosis of application programs
when the printer does not perform as expected. In hex dump mode, the
printer prints the hexadecimal code for each character received rather
than processing the data as printable text and as control commands.
The exception is that DLE EOT (real time STATUS request) and DLE
ENQ (Real time request to printer) are executed as received even in hex
dump mode. The hexadecimal notation is printed at 10 characters per
line on the left side of the page and the printable characters (when
possible) are printed on the right side of the page. Control codes print as
periods on the right side section of the printout to help locate specific
areas of the message to see what codes were actually received by the
printer. After all data has been sent to the printer, pressing the paper
feed button will flush the buffer and print the last line of data received.
Hex dump mode is initiated in any of three ways:
1) Open the platen, hold the paper feed button down, turn on power,
then close the platen and release the paper feed button.
2) Set DIP switch DPSW2 position 5 ON and then turn on power.