StarPrnt class Null safety

Class to handle printer communication

Constructors

StarPrnt()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

checkStatus({required String portName, required String emulation}) Future
Check status of printer
@Deprecated('Use getStatus instead.')
getStatus({required String portName, required String emulation}) Future<PrinterResponseStatus>
Check status of printer. Have specify portName and emulation. Returns PrinterResponseStatus. Use StarMicronicsUtilities to find suitable emulations.
portDiscovery(StarPortType portType) Future<List<PortInfo>>
Scan for available printers. Have specify StarPortType of the printer
print({required String portName, required String emulation, required PrintCommands printCommands}) Future
sends commands to printer to run
@Deprecated('Use sendCommands instead.')
sendCommands({required String portName, required String emulation, required PrintCommands printCommands, bool asistencia = false, bool reimpresion = false, bool copia = false}) Future<PrinterResponseStatus>
Sends PrintCommands to the printer. Have to specify portName and emulation. Returns PrinterResponseStatus