![]() |
CustomAndroidAPI
1.05
|
Public Member Functions | |
CustomPrinter | getPrinterDriverBT (BluetoothDevice printer) throws CustomException |
CustomPrinter | getPrinterDriverETH (String printerIpAddr) throws CustomException |
CustomPrinter | getPrinterDriverETH (String printerIpAddr, int printerIpPort) throws CustomException |
CustomPrinter | getPrinterDriverCOM (String devPort) throws CustomException |
CustomPrinter | getPrinterDriverUSB (UsbDevice device, Context cobj) throws CustomException |
Static Public Member Functions | |
static String | getAPIVersion () |
static void | EnableLogAPI (boolean enable) |
static BluetoothDevice[] | EnumBluetoothDevices () throws CustomException |
static String[] | EnumEthernetDevices (int searchTimeout, Context cobj) throws CustomException |
static UsbDevice[] | EnumUsbDevices (Context cobj) throws CustomException |
Factory class to get the printer driver class for supported model id
|
inlinestatic |
Enable / disable the API log (default disabled).
|
inlinestatic |
Get the list of CUSTOM Bluetooth devices.
CustomException | if Bluetooth is not enable or is not supported |
|
inlinestatic |
Get the list of CUSTOM Ethernet devices.
searchTimeout | Search Ethernet devices timeout |
cobj | Context object |
CustomException |
|
inlinestatic |
Get the list of CUSTOM USB Printer devices.
cobj | Context object |
CustomException |
|
inlinestatic |
|
inline |
Connects to Bluetooth Printer device returns printer driver class.
printer | device to connect |
CustomException | if Bluetooth device is not printer or printer model is not supported |
|
inline |
Connects to Com/Serial Printer device returns printer driver class.
devPort | String value with dev address of device to connect (the dev must be set with "666" permissions. Example: "chmod 666 /dev/ttyS0") |
CustomException | if open port port error, device is not printer or printer model is not supported |
|
inline |
Connects to WiFi/Ethernet Printer device returns printer driver class.
printerIpAddr | String value with IP ADDRESS of device to connect (connect of prn port 9100) |
CustomException | if WiFi/Ethernet device is not printer or printer model is not supported |
|
inline |
Connects to WiFi/Ethernet Printer device returns printer driver class.
printerIpAddr | String value with IP ADDRESS of device to connect |
printerIpPort | integer value with IP PORT of device to connect |
CustomException | if WiFi/Ethernet device is not printer or printer model is not supported |
|
inline |
Connects to Usb Printer device returns printer driver class.
device | USB object of device to connect |
cobj | Context object |
CustomException | if USB device is not printer or printer model is not supported |