SunmiCloudPrinter class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
bold(
) → Future< void> - bold
-
connect(
) → Future< void> -
cut(
) → Future< void> - cut
-
drawerStatus(
) → Future< bool> - drawerStatus
-
drawerTimesOpen(
) → Future< int> - drawerTimesOpen
-
exitTransactionPrint(
[bool clear = true]) → Future< void> - exitTransactionPrint
-
getPrinterMode(
) → Future< PrinterMode> - getPrinterMode
-
getPrinterStatus(
) → Future< PrinterStatus> -
getPrinterStatusWithVerbose(
) → Future< String?> - getPrinterStatusWithVerbose
-
initPrinter(
) → Future< bool?> -
line(
{String ch = '-', int len = 31}) → Future< void> - line
-
lineWrap(
int lines) → Future< void> - lineWrap
-
openDrawer(
) → Future< void> - openDrawer
-
printBarCode(
String data, {SunmiBarcodeType barcodeType = SunmiBarcodeType.CODE128, int height = 162, int width = 2, SunmiBarcodeTextPos textPosition = SunmiBarcodeTextPos.TEXT_ABOVE}) → Future< void> - printBarCode
-
printerVersion(
) → Future< String> - printerVersion
-
printImage(
Uint8List img) → Future< void> - printImage
-
printQRCode(
String data, {int size = 5, SunmiQrcodeLevel errorLevel = SunmiQrcodeLevel.LEVEL_H}) → Future< void> - printQRCode
-
printRawData(
Uint8List data) → Future< void> - printRawData
-
printRow(
{required List< ColumnMaker> cols}) → Future<void> - printRow
-
printText(
String text, {SunmiStyle? style}) → Future< void> - printText
-
resetBold(
) → Future< void> - resetBold
-
resetFontSize(
) → Future< void> - resetFontSize
-
serialNumber(
) → Future< String> - serialNumber
-
setAlignment(
SunmiPrintAlign alignment) → Future< void> - setAlignment
-
setCustomFontSize(
int size) → Future< void> - setCustomFontSize
-
setFontSize(
SunmiFontSize size) → Future< void> - setFontSize
-
setNetPrinter(
String ip) → Future< void> -
startTransactionPrint(
[bool clear = false]) → Future< void> - startTransactionPrint
-
submitTransactionPrint(
) → Future< void> - submitTransactionPrint