User`s manual
MP-4000 TH POS Printer Rev.1.4 Programmer’s Manual
22-aug-2007
Firmware Release: 1.5
57
4. ESC/POS Commands
4.1 Operation Commands
The following section details each of the commands presented in the Command
Table, ESC/POS section.
GS F9h 5 01h
[Function] Select ESC/POS operation mode.
[Format] ASCII GS F9h 5 01h
Hexadecimal 1D F9 35 01
Decimal 29 249 53 1
[Description] Tells printer to interpret ESC/POS commands from now.
[Notes] ● This command saves data on printer flash memory and therefore is
slow, which may affect printer performance and funcionality if mixed
with other faster commands. Please, use with caution.
● When ESC/POS mode is enabled and a DB25 serial interface is
connected, the printer will automatically change its flow control to
DTR/DSR instead of RTS/CTS.
GS F9h 20h 31h
[Function] Select ESC/POS temporary operation mode.
[Format] ASCII GS F9h 20h 31h
Hexadecimal 1D F9 20 31
Decimal 29 249 31 49
[Description] Tells printer to interpret ESC/Bema commands from now.
[Notes] ● This command doesn’t writes anything on flash memory, so it can be
used anyway.
● When ESC/POS mode is enabled and a DB25 serial interface is
connected, the printer will automatically change its flow control to
DTR/DSR instead of RTS/CTS.