IminPrinterPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • IminPrinterPlatform
Implementers

Constructors

IminPrinterPlatform()
Constructs a IminPrinterPlatform.

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

commitPrinterBuffer() Future<void>
enterPrinterBuffer(bool isClean) Future<void>
exitPrinterBuffer(bool isCommit) Future<void>
fullCut() Future<void>
getCurCodepage() Future<String?>
getCurEncode() Future<String?>
getDrawerStatus() Future<bool?>
getEncodeList() Future<List<String>?>
getFontCodepage() Future<List<String>?>
getOpenDrawerTimes() Future<int?>
getPrinterCutTimes() Future<String?>
getPrinterDensity() Future<int?>
getPrinterDensityList() Future<List<String>?>
getPrinterFirmwareVersion() Future<String?>
getPrinterHardwareVersion() Future<String?>
getPrinterMode() Future<int?>
getPrinterModelName() Future<String?>
getPrinterPaperDistance() Future<String?>
getPrinterPaperType() Future<int?>
getPrinterPaperTypeList() Future<List<String>?>
getPrinterSerialNumber() Future<String?>
getPrinterSpeed() Future<int?>
getPrinterSpeedList() Future<List<String>?>
getPrinterStatus() Future<Map<String, dynamic>>
getPrinterThermalHead() Future<String?>
getSdkVersion() Future<String?>
getServiceVersion() Future<String?>
getUsbDevicesName() Future<String?>
getUsbPrinterVidPid() Future<String?>
initEventChannel() Stream
initPrinter() Future<bool?>
initPrinterParams() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openCashBox() Future<void>
openLogs(int encode) Future<void>
partialCut() Future<void>
printAndFeedPaper(int height) Future<void>
printAndLineFeed() Future<void>
printAntiWhiteText(String text, {IminTextStyle? style}) Future<void>
printBarCode(IminBarcodeType barCodeType, String barCodeContent, {IminBarCodeStyle? style}) Future<void>
printBarCodeToBitmapFormat(String barCodeContent, int width, int height, IminBarCodeToBitmapFormat codeFormat) Future<void>
printColumnsString({required List<ColumnMaker> cols}) Future<void>
printColumnsText({required List<ColumnMaker> cols}) Future<void>
printDoubleQR({required IminDoubleQRCodeStyle qrCode1, required IminDoubleQRCodeStyle qrCode2, int? doubleQRSize}) Future<void>
printerSelfChecking() Future<void>
printMultiBitmap(List imgs, {IminPictureStyle? pictureStyle}) Future<void>
printQrCode(String data, {IminQrCodeStyle? qrCodeStyle}) Future<void>
printSingleBitmap(dynamic img, {IminPictureStyle? pictureStyle}) Future<void>
printSingleBitmapBlackWhite(dynamic img, {IminBaseStyle? baseStyle}) Future<void>
printSingleBitmapColorChart(dynamic img, {IminPictureStyle? pictureStyle}) Future<void>
printText(String text, {IminTextStyle? style}) Future<void>
printTextBitmap(String text, {IminTextPictureStyle? style}) Future<void>
resetDevice() Future<void>
sendRAWData(Uint8List bytes) Future<void>
sendRAWDataHexStr(String bytes) Future<void>
setAlignment(IminPrintAlign alignment) Future<void>
setBarCodeContentPrintPos(IminBarcodeTextPos position) Future<void>
setBarCodeHeight(int height) Future<void>
setBarCodeWidth(int width) Future<void>
setCodeAlignment(IminPrintAlign alignment) Future<void>
setDoubleQR1Level(int level) Future<void>
setDoubleQR1MarginLeft(int leftMargin) Future<void>
setDoubleQR1Version(int version) Future<void>
setDoubleQR2Level(int level) Future<void>
setDoubleQR2MarginLeft(int leftMargin) Future<void>
setDoubleQR2Version(int version) Future<void>
setDoubleQRSize(int size) Future<void>
setFontCodepage(int codepage) Future<void>
setInitIminPrinter(bool isDefaultPrinter) Future<void>
setLeftMargin(int margin) Future<void>
setPageFormat({int? style}) Future<void>
setPrinterDensity(IminPrinterDensity density) Future<void>
setPrinterEncode(int encode) Future<void>
setPrinterMode() Future<void>
setPrinterSpeed(int speed) Future<void>
setQrCodeErrorCorrectionLev(IminQrcodeCorrectionLevel level) Future<void>
setQrCodeSize(int qrSize) Future<void>
setTextBitmapAntiWhite(bool antiWhite) Future<void>
setTextBitmapLetterSpacing(double space) Future<void>
setTextBitmapLineSpacing(double lineHeight) Future<void>
setTextBitmapSize(int size) Future<void>
setTextBitmapStrikeThru(bool strikeThru) Future<void>
setTextBitmapStyle(IminFontStyle style) Future<void>
setTextBitmapTypeface(IminTypeface typeface) Future<void>
setTextBitmapUnderline(bool haveUnderline) Future<void>
setTextLineSpacing(double space) Future<void>
setTextSize(int size) Future<void>
setTextStyle(IminFontStyle style) Future<void>
setTextTypeface(IminTypeface typeface) Future<void>
setTextWidth(int width) Future<void>
toString() String
A string representation of this object.
inherited
unBindService() Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance IminPrinterPlatform
The default instance of IminPrinterPlatform to use.
getter/setter pair