PrinterDiscovery class

Functions for discovering and connecting to printers.

This class provides methods for scanning and finding available Bixolon printers on various connection interfaces.

Constructors

PrinterDiscovery()

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

filterByName(List<PrinterDevice> devices, String pattern) List<PrinterDevice>
Filter printer devices by name.
getRecentPrinter() Future<PrinterDevice?>
Get the most recently used printer device.
saveRecentPrinter(PrinterDevice device) Future<bool>
Save a printer device as the most recently used.
scanBluetoothPrinters() Future<List<PrinterDevice>>
Scan for available Bluetooth printers.
scanNetworkPrinters() Future<List<PrinterDevice>>
Scan for available network printers (Wi-Fi or Ethernet).
scanPrinters(ConnectionType connectionType) Future<List<PrinterDevice>>
Scan for all available printers of the specified connection type.