A795 User Guide: Programming Supplement
Chapter 4: Programming commands
105
Flash download
These commands are used to load firmware into the printer.
The commands are listed in numerical order according to their hexadecimal codes. Each command
is described and the hexadecimal, decimal, and ASCII codes are listed.
There are three ways to enter the download mode.
1. Powering the printer up with DIP Switch 1 down.
2. While the printer is running normally, send the
command, “Switch to flash download mode”
(1B 5B 7D) to leave normal operation and enter the
download mode.
3. If the flash if found corrupted during level 0
diagnostics the download mode is automatically
entered after the printer has reset.
The printer never goes directly from the download mode to
normal printer operation. To return to normal printer
operation either the operator must turn the power off and
then on to reboot or the application must send a command
to cancel download mode and reboot. DIP switch 1 must
in UP position during reboot to return to normal
printer operation.
When each flash download command is received, the
printer returns either ACK or NAK to the host computer
when each command is received:
•
ACK (hexadecimal 06)
Sent when the printer has received a host transmission
and has completed the request successfully.
•
NAK (hexadecimal 15)
Sent when a request is unsuccessful.
Communicates to the printer information downloaded
from applications. Data is downloaded to flash memory to
query the state of the firmware, calculate the firmware
CRC and other functions.
Switch to flash download mode
ASCII
ESC [ }
Hexadecimal
1B 5B 7D
Decimal
27 91 125
Puts the printer in flash download mode in preparation to
receive commands controlling the downloading of objects
into flash memory. When this command is received, the
printer leaves normal operation and can no longer print
transactions until the reboot the printer command (1D FF)
is received or the printer is rebooted.
This command does not affect the current communication
parameters. Once the printer is in flash download mode,
this command is no longer available.
Related information
See entering flash download mode elsewhere in this book
to put the printer in flash download mode using the
configuration menu.
Содержание A795
Страница 1: ...A795 D100 PS UserGuide ProgrammingSupplement A795Two ColorThermalReceiptPrinter TM...
Страница 10: ...A795 User Guide Programming Supplement Chapter 1 About this Supplement 10...
Страница 110: ...A795 User Guide Programming Supplement Chapter 4 Programming commands 110...
Страница 118: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 118 Code page 737 Greek...
Страница 119: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 119 Code page 850 Multilingual...
Страница 120: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 120 Code page 852 Slavic...
Страница 121: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 121 Code page 858 with Eurosymbol...
Страница 122: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 122 Code page 860 Portuguese...
Страница 123: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 123 Code page 862 Hebrew...
Страница 124: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 124 Code page 863 French Canadian...
Страница 125: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 125 Code page 865 Nordic...
Страница 126: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 126 Code page 866 Cyrillic...
Страница 127: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 127 Code page 1252 Windows Latin 1...
Страница 128: ...189 9200281 E A795 D100 PS 05 01 TM...