Specifications
No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
30
SHEET
29
3.16. BiCancelError
[Function]
Restores recoverable printer errors.
[Format]
int BiCancelError(int nHandle)
[Argument]
int nHandle
Specifies the handle value of the printer being accessed. The BiOpenMonPrinter() return value is used in the handle value.
[Return value]
0 is returned when printer reset is successful. The following error codes (less than zero) are returned when an error is
triggered.
ERR_HANDLE The handle value specified for the printer is incorrect.
ERR_TIMEOUT A time out error occurred.
ERR_ACCESS Reading/writing with the printer is not possible (printing in progress).
ERR_NOT_SUPPORT Not supported
[Explanation]
The recoverable errors with the TM printer are shown below
The contents of these allocations may differ depending on the model.
- Cover open error : Close the cover opened during printing and then call this API.
- Auto-cutter error : An error occurred with the cutter. Remove the paper from around the cutter, close the
platen and then call this API.
[Caution]
•
For a parallel connection with WindowsNT4.0, this function cannot be used and it is impossible to recover the
printer from a recoverable error. After resolving the error cause, it is possible to recover by using BiResetPrinter.
•
If a recoverable error occurs during print data transmission, the error might not be recovered by BiCanceleror. In
this case, recover from the error status by using BiResetPrinter.
• When using the LPTx port with Windows2000/XP, this function cannot be used. Use ESD_LPTx.
[Supported printer]
TM-T88II(R), TM-T88III, TM-T90, TM-L90, TM-H5000II, TM-U590, TM-U675, TM-H6000, TM-H6000II, TM-J8000,
TM-J2000/2100, TM-J7000/7100, TM-H3000(R), TM-U230, TM-U210, TM-U325, TM-U950