public class PrinterIntent extends Object
IPrinterService
.IPrinterService
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_OPEN_CASH_DRAWER_SERVICE
Deprecated.
Use
CashDrawers instead. |
static String |
ACTION_PRINT_NOTIFY_SERVICE
Service action: start the print notify service.
|
static String |
ACTION_PRINT_SERVICE
Service action: start the print service.
|
static String |
ACTION_PRINTER_SERVICE
Service action: bind to the printer service.
|
static String |
ACTION_RECEIPT_REGISTRATION_SERVICE
Service action: bind to the receipt registration service.
|
static String |
CASH_DRAWER_NUMBER
A
Integer , specify the cash drawer number to be opened |
static String |
EXTRA_OPEN_ANY
A
Boolean , whether to open the cash drawer on the first configured printer, if multiple
receipt printers are configured. |
static String |
EXTRA_PRINTER
A
Printer . |
static String |
EXTRA_PRINTJOB
A
PrintJob . |
public static final String ACTION_PRINTER_SERVICE
public static final String ACTION_PRINT_SERVICE
public static final String ACTION_PRINT_NOTIFY_SERVICE
@Deprecated public static final String ACTION_OPEN_CASH_DRAWER_SERVICE
CashDrawers
instead.public static final String ACTION_RECEIPT_REGISTRATION_SERVICE
public static final String EXTRA_PRINTJOB
PrintJob
.public static final String EXTRA_PRINTER
Printer
.public static final String EXTRA_OPEN_ANY
Boolean
, whether to open the cash drawer on the first configured printer, if multiple
receipt printers are configured.public static final String CASH_DRAWER_NUMBER
Integer
, specify the cash drawer number to be opened