User`s manual

MP-4000 TH POS Printer Rev.1.4 Programmer’s Manual
22-aug-2007
Firmware Release: 1.5
15
GS F9h 1Fh 31h
[Function] Return to previous set of commands configured before temporary setting.
[Format] ASCII GS F9h 1Fh 31h
Hexadecimal 1D F9 1F 31
Decimal 29 249 31 49
[Description] Tells printer to interpret the command set that was configured before an
temporary set has been done.
ESC @
[Function] Initializes the MP-4000 TH printer.
[Format] ASCII ESC @
Hexadecimal 1B 40
Decimal 27 64
[Description] All settings, including character font, line spacing, left margin, right
margin, intensity and inverted mode are canceled.
ESC b n
[Function] Select sensor to signalize.
[Format] ASCII ESC b n
Hexadecimal 1B 62 n
Decimal 27 98
[Range] n = 0, 1, 48, 49
[Default] n = 0
[Description] When n = 1 (or n = 49), PE signal reflects drawer sensor. When n = 0 (or
n = 48), PE signal reflects paper sensor.
[Notes] PE is a signal from the parallel interface.
ESC v n
[Function] Activate drawer.
[Format] ASCII ESC v n
Hexadecimal 1B 76 n
Decimal 27 118 n
[Description] Activate drawer pin for n milliseconds (-50ms < n < 200ms).