PosPrinterClient class

Drucker und Druckjobs über die laufende Kassen-Sitzung.

Constructors

PosPrinterClient(RegisterTransport transport)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transport → RegisterTransport
final

Methods

createPrintJob({required String printerId, required ReceiptLayout layout, String? receiptId, String? title, String? source, bool brandMark = false}) → Future<PrintJob>
Einen Druckjob anlegen. logo ist das fertige Rasterbild (loadPrintLogo), der Server dekodiert keine Bilder. brandMark druckt das Kasseneck-Logo am Ende (am Draht brand). source ist Freitext, bekannt sind printJobSources.
getPrintJob({required String printerId, required String jobId}) → Future<PrintJob>
Stand eines Druckjobs. Der Aufrufer fragt, bis isPrintJobFinished wahr ist, und begrenzt die Abfrage trotzdem selbst: ein Drucker, der nie abholt, bleibt pending.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printers() → Future<List<NetworkPrinter>>
Die Netzwerk-Drucker des Kontos.
toString() → String
A string representation of this object.
inherited

Operators

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