Programmers Guide
TH320/420
104
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.
Powering the printer up with DIP Switch 1 up.
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.
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 be 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 91125
Put 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.
Return boot sector firmware part number
ASCII
GS NULL
Hexadecimal 1D 00
Decimal
29 0
Returns ACK (Hex 06) + 12 bytes ASCII string describing the flash memory boot sector firmware part
number. Ex : 189–1234567A
Exceptions
Available only in download mode.
Содержание TH320
Страница 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Страница 75: ...TH320 TH420 Programmers Guide 67 ...
Страница 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Страница 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Страница 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Страница 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Страница 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Страница 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Страница 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Страница 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Страница 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Страница 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Страница 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Страница 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Страница 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Страница 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Страница 156: ......
Страница 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...