MethodChannelIminPrinter class

An implementation of IminPrinterPlatform that uses method channels.

Inheritance

Constructors

MethodChannelIminPrinter()

Properties

eventChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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