Package | Description |
---|---|
com.cloudpos.printer |
The package provides classes and interfaces for interacting with printer devices in the CloudPOS system.
|
Modifier and Type | Method and Description |
---|---|
Format |
PrinterDevice.getDefaultParameters()
Retrieves the default printing format and restores it in the printer.
|
Modifier and Type | Method and Description |
---|---|
void |
PrinterDevice.printBarcode(Format format,
int barcodeType,
String barcode)
Prints a barcode with specified formatting and type.
|
void |
PrinterDevice.printBarcodeImage(Format format,
int barcodeType,
String barcode)
generate a barcode image, than prints this image with specified formatting and type.
|
void |
PrinterDevice.printBitmap(Format format,
android.graphics.Bitmap bitmap)
Prints a bitmap image with specified formatting.
|
void |
PrinterDevice.printBitmap(Format format,
android.graphics.Bitmap bitmap,
int brightness)
Prints a bitmap image with specified formatting and brightness adjustment.
|
void |
PrinterDevice.printBitmapAutoGrayscale(Format format,
android.graphics.Bitmap bitmap)
Prints a bitmap image with automatic grayscale conversion and specified formatting.
|
void |
PrinterDevice.printBitmapAutoGrayscale(Format format,
android.graphics.Bitmap bitmap,
int brightness)
Prints a grayscale image using a specified format and brightness.
|
void |
PrinterDevice.printlnText(Format format,
String message)
Prints the provided text message on the printer with line wrapping, using the specified format.
|
void |
PrinterDevice.printText(Format format,
String message)
Prints the provided text message on the printer using a specified format.
|