Specifications

No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
K
NEXT
2
SHEET
1
Appendix A Operation of each Function According to Printer Status
Function Name Printer
Online Status
Printer
Offline Status
Printer
Power Off, Cable Disconnected
Status
API Open Status Offline
(Period during which the API is
opened offline, until the Online
status is recovered)
Remarks
BiOpenMonPrinter The API is normally Open
if the parameters are
normal.
In the Offline Open status until the
printer recovers Online status.
Ends with No Target. After Online recovery is
confirmed, API should be
executed or printing should be
executed.
The Status API cannot be used
from a thread other than a thread
that calls this function.
BiGetStatus
BiGetInkStatus
BiMICRGetStatus
Status notified
BiSetStatusBack
Function
BiSetStatusBackWnd
and other functions which
register the callback
function.
Callback registration is
completed
The Status API cannot be used
from inside a registered
function.
BiCancelStatusBack
and other functions which
cancel registration of the
callback function.
Callback cancellation is
completed.
BiDirectIO
BiDirectIOEx
The command is executed
normally.
If Readlen is not specified,
the function ends normally, but
the commands ESC, GS and FS
are executed when Online
recovery takes place.
If Readlen is specified,
ERR_TIMEOUT is made a
return value and the function
ends.
ERR_ACCESS is made a return
value, then the function ends.
ERR_OFFLINE is made a return
value, then the function ends.
ERR_ACCESS is made a return
value during sending of print
data from the driver, then the
function ends.
BiResetPrinter Reset is executed normally.
It is
j
ud
g
ed from the Status
If the Offline cause is not removed,
the reset is completed, but the
The function ends normally, but
reset is not executed.
If the Offline cause is not
removed, the reset is completed,
After reset is executed, the
Status is transferred as shown