Control Codes
Page 172 100-88002 Rev B
[ENQ] <31> Inquire Power Up Error Status
ASCII [ENQ] <31>
Hexadecimal 05H 1FH
Decimal <5> <31>
Function The [ENQ] <31> command reports Power up Error status.
Response [ACK] <31> <41><n>
Where
<31> Is the echo of command
<n> Status
bit 0 = No Font file found
bit 1 = Required files not found
bit 2 = File system has faulted
bit 3 = No POR.INI File (Default file has been generated)
bit 4 = Codepage requested was not found
bit 5 = Primary FAT was damaged, the alternate was used.
bit 6 = 1 always
bit 7 = 0 always
[ENQ] <32> Inquire statistics
ASCII [ENQ] <32>
Hexadecimal 05H 20H
Decimal <5> <32>
Function The [ENQ] <32> command returns the internal statistics table.
Response [ACK] <32> <168> …128 bytes.
Where
<32> Is the echo of command
<168> Length + 40
Statistic table 32 entries each being 4 bytes in big-endian order.
unsigned int Black_Dots;
unsigned int Not used;
unsigned int Not used;
unsigned int Cover_Opens;
unsigned int Paper Outs;
unsigned int Line Feeds;
unsigned int Characters Printed;
unsigned int Not used;
unsigned int Not used;
unsigned int Standby Cycles;
unsigned int Power Up Resets;
unsigned int Watchdog Resets;
unsigned int Flash Erases;
unsigned int Not used;
unsigned int Auto Cutter_Cycles;
unsigned int Init Requests;