7167 Owner’s Manual    Chapter 6: Commands 
  November  2003 
252
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. 
Example: 
MSComm1.Output = Chr$(&H1D) & Chr$(&H06)   
 
Return Microprocessor CRC 
ASCII: 
GS BEL 
Hexadecimal: 
1D 07 
Decimal: 
29 7 
 
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 
ASCII: 
GS SO 
Hexadecimal: 
1D 0E 
Decimal: 
29 14 
 
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: