A795 User Guide: Programming Supplement
Chapter 4: Programming commands
106
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.
Return segment number status of flash memory
ASCII
GS SOH
Hexadecimal
1D 01
Decimal
29 1
Returns the size of the flash used. There may be 16
(1 Meg) or 32 (2 Meg) sectors in flash memory. This
command assures that the firmware to be downloaded is
the appropriate size for flash memory. The value returned
is the maximum sector number that can be accepted by the
select sector to download (1D 02 nn) command.
Exceptions
Available only in download mode.
Select flash memory sector to download
ASCII
GS STX nn
Hexadecimal
1D 02 nn
Decimal
29 2 nn
Value of n:
The flash sector to which the next
download operation applies
Range of n:
0
Selects the flash sector (nn) for which the next download
operation applies. The values of the possible sector are
restricted, depending upon the flash part type. The printer
transmits an ACK if the sector number is acceptable or an
NAK if the sector number is not acceptable. Sector
numbers start at 0.
Exceptions
Available only in download mode.
Get firmware CRC
ASCII
GS ACK
Hexadecimal
1D 06
Decimal
29 6
Causes the printer to calculate the CRC for the currently
selected sector and transmits the result. This is performed
normally after downloading a sector to verify that the
downloaded firmware is correct. The printer also
calculates the CRC for each sector during power up and
halts the program if any sector is erroneous.
The printer transmits ACK if the calculated CRC is correct
for the selected sector; NAK if the CRC is incorrect or if
no sector is selected.
Содержание 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...