Specifications
No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
K
NEXT
5
SHEET
4
Appendix B End of Processing Judgment Method after Each Function is Executed
Function Name Normal End Abnormal End Remark
BiOpenMonPrinter
Return value > 0
Return value < 0
BiGetStatus
BiGetInkStatus
BiMICRGetStatus
Return value = 0
Return value < 0
BiSetStatusBack
Function
BiSetStatusBackWnd
and other functions which register
the callback function.
Return value = 0
Return value < 0
BiCancelStatusBack
and other functions which cancel
registration of the callback
function
Return value = 0
Return value < 0
BiDirectIO
BiDirectIOEx
(If Readlenis specified)
Return value = 0
Return value < 0 If a command to return a response is sent,
specify ReadLen. (except for a presenter
command)
BiDirectIO
BiDirectIOEx
(If Readlen is not specified)
Return value = 0 and
Judgment is made by the printer’s
status, such as paper position.
Return value < 0 or
Judgment is made by the printer’s status,
such as paper position.
BiResetPrinter
Return value = 0 and
Finally, the printer goes Online.
(No Response
→
without cause Offline
→
Online)
Return value < 0 or
Finally, the printer does not go Online.
(No Response →
Without cause Offline → With cause
Offline)
BiGetOfflineCode
Return value = 0
Return value < 0
BiGetCounter
Return value = 0
Return value < 0 It is preferable for the Status just before
execution to be confirmed to be Online and that
there be a Call.
BiResetCounter
Return value = 0 and
Return value < 0 or It is preferable for the Status just before
ti t b fi dt b O li dth t