Getprinterstatus - Epson TM-T88V User Manual

Epos-print sdk for android
Hide thumbs Also See for TM-T88V:
Table of Contents

Advertisement

getPrinterStatus

Acquires the printer status from an exception that occurred in
Syntax
public int getPrinterStatus()
Return value
Returns the printer status. A combination of printer status settings is set. 
For details, refer to
Example
To acquire the printer status from EposException.
int[] printerStatus = new int[1];
printerStatus[0] = 0;
int timeout = 1000;
try {
printer.sendData(builder, timeout, printerStatus);
} catch (EposException e) {
int errSratus = e.getErrorStatus();
if (errStatus == EposException.ERR_TIMEOUT) {
}
}
if ((printerStatus[0] & Print.ST_PRINT_SUCCESS) == Print.ST_PRINT_SUCCESS)
{
///Process///
}
94
Printer Status List
(p.37).
printerStatus[0] = e.getPrinterStatus();
sendData
(p.91).

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70Tm-p60Tm-u220

Table of Contents