NCR 7167 Owner's Manual page 237

Two station pos printer release 1.0
Hide thumbs Also See for 7167:
Table of Contents

Advertisement

7167 Owner's Manual
Get Firmware CRC
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.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H06)
Return Microprocessor CRC
Returns the CRC calculated over the boot sector code space.
Formulas: ACK <low byte> <high byte>
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H07)
Erase the Flash Memory
Causes the entire Flash Memory (except the boot) to be erased.
The printer returns ACK if the command is successful; NAK if it is unsuccessful.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H0E)
Exceptions:
ASCII:
GS ACK
1D 06
Hexadecimal:
29 6
Decimal:
GS BEL
ASCII:
Hexadecimal:
1D 07
Decimal:
29 7
ASCII:
GS SO
1D 0E
Hexadecimal:
29 14
Decimal:
November 2002
Chapter 6: Commands
215

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents