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, PrintLogo? logo, bool brandMark = false}) → Future< PrintJob> -
Einen Druckjob anlegen.
logoist das fertige Rasterbild (loadPrintLogo), der Server dekodiert keine Bilder.brandMarkdruckt das Kasseneck-Logo am Ende (am Drahtbrand).sourceist 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