User`s manual

MP-4000 TH POS Printer Rev.1.4 Programmer’s Manual
22-aug-2007
Firmware Release: 1.5
14
3. ESC/Bema Commands
3.1 Operation Commands
The following section details each of the commands presented in the Command Table,
ESC/Bema section.
GS F9h 5 00h
[Function] Select ESC/Bema operation mode.
[Format] ASCII GS F9h 5 00h
Hexadecimal 1D F9 35 00
Decimal 29 249 53 0
[Description] Tells printer to interpret ESC/Bema 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/Bema mode is enabled and a DB25 serial interface is
connected, the printer will automatically change its flow control to
RTS/CTS.
GS F9h 20h 30h
[Function] Select ESC/Bema temporary operation mode.
[Format] ASCII GS F9h 20h 30h
Hexadecimal 1D F9 20 30
Decimal 29 249 32 48
[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/Bema mode is enabled and a DB25 serial interface is
connected, the printer will automatically change its flow control to
RTS/CTS.