User`s manual

MP-4000 TH POS Printer Rev.1.4 Programmer’s Manual
22-aug-2007
Firmware Release: 1.5
17
ESC x
[Function] Enable Dump Mode.
[Format] ASCII ESC x
Hexadecimal 1B 78
Decimal 27 120
[Description] Enables dump mode. In this mode advanced users and programmers
can identify communication problems between the host and the printer
or check if a certain programmed data is correctly being sent to the
printer, thus being a debugging tool.
[Note] The dump mode is disabled just resetting the printer.
ESC z n
[Function] Enable / disable automatic line feed.
[Format] ASCII ESC z n
Hexadecimal 1B 7A n
Decimal 27 122 n
[Description] Enables automatic line feed.
9 When n is 1 (01h or 31h), the automatic line feed is enabled.
9 When n is 0 (00h or 30h), the automatic line feed is disabled.
[Notes] If automatic line feed is enabled, the printer will perform a LF if a CR is
received.
ESC ( A p
L
p
H
fn n
1
n
2
vol
[Function] Activate/deactivate buzzer.
[Format] ASCII ESC ( A p
L
p
H
fn n
1
n
2
vol
Hexadecimal 1B 28 41 p
L
p
H
fn n
1
n
2
vol
Decimal 27 40 65 p
L
p
H
fn n
1
n
2
vol
[Description] Activate or deactivate printer buzzer.
(p
L
+ p
H
× 256) = 4, i.e., p
L
must be 4 and p
H
must be 0.
fn = 1, 31h – activate buzzer