Error Code List¶
Major error codes are as follows:
| Macro Definition (Constant) | Value | Description |
|---|---|---|
| SUCCESS | 0 | Success |
| ERR_TYPE | -10 | Open type parameter error. |
| ERR_OPENED | -20 | Specified printer has already been opened. |
| ERR_NO_PRINTER | -30 | Specified printer driver does not exist. |
| ERR_HANDLE | -60 | API handle value is incorrect. |
| ERR_TIMEOUT | -70 | Timeout or busy state occurs. |
| ERR_ACCESS | -80 | Printer cannot be accessed because it is not reachable on the network, or the service is stopped during access. |
| ERR_PARAM | -90 | Parameter is incorrect. |
| ERR_NOT_SUPPORT | -100 | Function is not supported. |
| ERR_OFFLINE | -110 | Printer is disconnected or offline. |
| ERR_NON_TARGETTED_DRIVER | -120 | Specified printer driver is not supported. |
| ERR_DISK_FULL | -170 | Printer is busy. |
| ERR_ENTRY_OVER | -190 | Processing capacity is exceeded. |
| ERR_EXIST | -210 | Existing module is called. |
| ERR_NOT_FOUND | -220 | File cannot be found, or it is not registered. |
| ERR_IMAGE_FAILED | -250 | Label image has been failed to create. |
| ERR_WORKAREA_NO_MEMORY | -260 | Specified memory size is insufficient. |
| ERR_WORKAREA_FAILED | -280 | Memory cannot be reserved. |
| ERR_EXEC_FUNCTION | -310 | Function is not available because it is being used by other thread or process. |
| ERR_SPL_NOT_EXIST | -350 | Spooler service or SII Printer Software service has not been started. |
| ERR_LOCKED | -1000 | Printer is locked. |
| ERR_UNLOCKED | -1010 | UnlockPrinter was executed, even though printer is not locked. |
| ERR_INVALID_DATA | -1020 | Invalid data is specified. |
| ERR_READ_FAULT | -1030 | Data cannot be received from printer. |
| ERR_WRITE_FAULT | -1040 | Data cannot be sent to printer. |
| ERR_CANCELLED | -1050 | Function has been canceled. |
| ERR_UNKNOWN_PORT | -1070 | Port is not supported. |
| ERR_INVALID_PRINTER_STATE | -1080 | Printer status is abnormal. |
| ERR_BAD_ENVIRONMENT | -1090 | Printer driver may not be installed normally. |