
Printek Emulation
Reset ESC c
ESC * 0
Deletes all data in the printer’s input buffer and resets the printer to power up default values. Refer to “Printer
Reset Conditions
” on page 55 for more information.
Escape Sequence: ESC c
Hexadecimal: 1B 63
Escape Sequence: ESC * 0
Hexadecimal: 1B 2A 00
Turn Printer Off ESC * 1
Causes the printer to turn itself off
Escape Sequence: ESC * 1
Hexadecimal: 1B 2A 01
Printer Status Commands
Print Battery Status ESC P ^
This command will cause the printer to print the current battery voltage and charge status followed by a
Carriage Return and Line Feed.
If a partial line exists in the buffer, it will be printed prior to printing the battery information.
Escape Sequence: ESC P ^
Hexadecimal: 1B 50 5E
Query Printer Status STX
SYN
Each of these commands returns character strings which provide information regarding the current print buffer
status and the magnetic card reader status. Additionally, SYN will return the current battery voltage.
Each status is returned as an escape sequence and four ASCII hexadecimal digits followed by a Carriage Return
and Line Feed. The hexadecimal digits are nibbles that have been “OR’ed” with 0x30. The statuses returned
for each command are as follows:
Command Returned Strings Comment
STX ESC B b1 b2 b3 b4 CR LF
ESC M m s1 s2 t CR LF
Print Buffer Status
MCR Status
SYN ESC B b1 b2 b3 b4 CR LF
ESC M m s1 s2 t CR LF
ESC V v1 v2 v3 v4 CR LF
Print Buffer Status
MCR Status
Battery Voltage Status
28
Comentarios a estos manuales