
SR200 & SR300 Printer SDK Guide
Page 63
Appendix A: API Error Codes
This appendix lists errors returned by the printer driver API. It includes:
♦ Error Format
♦ Driver Errors (0x02xxxxxx)
♦ Other Errors (0x09xxxxxx)
Error Format
This section shows the format of errors that the API returns.
The error code in the table is transformed to positive by the calculation:
n “ (-1) * (Error code)”
For details about errors returned by the printer, see Appendix C: Card Printer
Error Codes.
Error Code (HEX) Explanation
Bit 31-24 Bit 23-16 Bit 15-8 Bit 7-0
0x01 Sense Key ASC ASCQ Error code from Card Printer: From bit 0 to
bit 23 is an error code sent from the printer.
0x02 00 XXX Error from the Port Manager. XXX is the
error code.
0x02 01 XXX Error from the Port Manager: XXX is an
Invalid SRB status value from the Port
Manager.
0x02 02 XXX Error from the Port Manager: XXX is an
Invalid HA status value from the Port
Manager.
0x02 03 XXX Error from the Port Manager: XXX is an
Invalid Target status value from the Port
Manager.
0x09 XXX Other Error. XXX is the error code.
Commenti su questo manuale