Specifications

No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
34
SHEET
33
3.18. BiGetInkStatus
[Function]
Acquires the current ink status.
[Format]
int BiGetInkStatus( int nHandle, LPDWORD Status) ;
[Argument]
int nHandle
Specifies the handle value for the printer whose status is being acquired. The return value of BiOpenMonPrinter() is specified
in the handle value.
LPDWORD Status
The current ink status is set.
[Return Value]
If execution is successful, 0 is returned. If an error occurs, the following error codes (negative values) are returned.
ERR_ HANDLE The handle value that specifies the printer is incorrect.
ERR_NOT_SUPPORT Not supported by this printer.
ERR_PARAM Parameter error
[Explanation]
The types of the printer’s status that can be acquired are as followed.
Macro definition Value Status
INK_ASB_NEAR_END 0x0001 INK near end
INK_ASB_END 0x0002 INK end
INK_ASB_NO_CARTRIDGE 0x0004 INK cartridge installed/not installed
INK_ASB_NO_CARTRIDGE2 0x0008 INK cartridge (Color 2) installed/not
installed
INK_ASB_CLEANING 0x0020 Cleaning
INK_ASB_ NEAR_END2 0x0100 INK near end (Color2)
INK_ASB_ END2 0x0200 INK end (Color2)
About the Color 2 ink status
TM-J8000: Not valid
TM-J2000
, TM-J7000
: The status should always be “ink present”, “ink adequate”, and “cartridge present”.
[Supported Printer]
TM-J8000, TM-J2000/2100, TM-J7000/7100