Specifications

No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
29
SHEET
28
3.15. BiResetCounter
[Function]
Resets the maintenance counter.
[Format]
int BiResetCounter(int nHandle, BYTE writeno)
[Argument]
int nHandle
Specifies the handle value of the printer being accessed. The BiOpenMonPrinter() return value is used in the handle value.
BYTE writeno
Specifies the number of the maintenance counter.
[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_PARAM Parameter error (specified counter number outside of permissible range)
ERR_NOT_SUPPORT Not supported
ERR_OFFLINE It was opened in the offline state, so it cannot be used until the online state i
ERR_NOT_EPSON Cannot be used (printer not EPSON)
[Explanation]
Refer to
BiGetCounter
assigned with TM printer.Only valid for counters that can be reset.
Certain printers are not equipped with maintenance counters. A timeout error will be triggered for this function in this event.
[Supported printer]
TM-T90, TM-L90, TM-H5000II, TM-U675, TM-H6000, TM-H6000II, TM-J8000, TM-J2000/2100, TM-J7000/7100,
TM-H3000(R),