ElginPrinterType class

Enumeração dos tipos de conexão suportados para impressoras Elgin.

Utilize estas constantes para especificar a interface de comunicação ao inicializar ou conectar com uma impressora pelo package.

Exemplo de uso:

final printer = ElginPrinter(driver: ElginPrinterType.USB);

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
Valor inteiro utilizado pelo protocolo para identificar o tipo de conexão.
final

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

Constants

BLUETHOOTH → const ElginPrinterType
Impressora conectada via Bluetooth.
MINIPDV → const ElginPrinterType
Impressora do tipo MiniPDV.
SERIAL → const ElginPrinterType
Impressora conectada via porta serial.
SMARTPOS → const ElginPrinterType
Impressora do tipo SmartPOS.
TCP → const ElginPrinterType
Impressora conectada via rede TCP/IP.
USB → const ElginPrinterType
Impressora conectada via USB.