Chapter 5: Programming commands
124
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Lock permanent font flash area
ASCII
GS 0xF0 0x10
n
Hexadecimal
1D F0 10
n
Decimal
29 240 16
n
Value of n:
n
= 0x00
lock permanent font flash (default)
n
= 0x01
unlock permanent font flash to erase or delete
This command allows or prevents the permanent font area to be erased.
Note:
This only affects the 1D 40 33 commands and downloading a font to permanent font area when a font already exists
with the same ID.
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 up.
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.
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...