USBPrinterManager class

USB Printer

Inheritance

Constructors

USBPrinterManager(POSPrinter printer, dynamic paperSize, dynamic profile, {int spaceBetweenRows = 5, int port = 9100})

Properties

address String?
getter/setter pairinherited
deviceId int?
getter/setter pairinherited
docInfo Pointer<DOC_INFO_1>?
getter/setter pair
dwBytesWritten Pointer<Uint32>?
getter/setter pair
dwCount int?
getter/setter pair
generator ↔ dynamic
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
hPrinter int
getter/setter pair
isConnected bool
getter/setter pairinherited
paperSize ↔ dynamic
getter/setter pairinherited
pDataType Pointer<Utf16>
getter/setter pair
pDocName Pointer<Utf16>
getter/setter pair
phPrinter Pointer<IntPtr>?
win32
getter/setter pair
port int
getter/setter pairinherited
printer POSPrinter
getter/setter pairinherited
productId int?
getter/setter pairinherited
profile ↔ dynamic
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaceBetweenRows int
getter/setter pairinherited
szPrinterName Pointer<Utf16>
getter/setter pair
usbPrinter ↔ FlutterUsbPrinter
usb_serial
getter/setter pair
vendorId int?
getter/setter pairinherited

Methods

connect({Duration? timeout = const Duration(seconds: 5)}) Future<ConnectionResponse>
override
disconnect({Duration? timeout}) Future<ConnectionResponse>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeBytes(List<int> data, {bool isDisconnect = true}) Future<ConnectionResponse>
override

Operators

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

Static Methods

discover() Future<List<USBPrinter>>
discover let you explore all netWork printer in your network