USBPrinterManager class

USB Printer

Inheritance

Constructors

USBPrinterManager.new(POSPrinter printer)

Properties

docInfo Pointer<DOC_INFO_1>?
getter/setter pair
dwBytesWritten Pointer<Uint32>?
getter/setter pair
dwCount int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hPrinter int
getter/setter pair
pDataType Pointer<Utf16>
getter/setter pair
pDocName Pointer<Utf16>
getter/setter pair
phPrinter Pointer<IntPtr>?
win32
getter/setter pair
printer POSPrinter
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
szPrinterName Pointer<Utf16>
getter/setter pair
usbPrinter ↔ DragoUsbPrinter
usb_serial
getter/setter pair

Methods

connect({Duration? timeout = const Duration(seconds: 5)}) Future
override
disconnect({Duration? timeout}) Future
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, {int? vendorId, int? productId}) Future
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