public class PrinterWritterComm extends PrinterWritter
Constructor and Description |
---|
PrinterWritterComm(String sPortPrinter)
Creates a new instance of PrinterWritterComm
|
Modifier and Type | Method and Description |
---|---|
protected void |
daemonClose()
Close the output buffer and the communication link
|
protected void |
daemonFlush()
Flush the output buffer
|
protected void |
daemonPrintJob()
Start a print job if required, otherwise like flush
|
protected void |
daemonWrite(byte[] data)
Write a byte array
|
close, flush, getStatus, init, startDaemon, startJob, write, write
public PrinterWritterComm(String sPortPrinter) throws TicketPrinterException
TicketPrinterException
protected void daemonWrite(byte[] data)
PrinterWritter
daemonWrite
in class PrinterWritter
protected void daemonFlush()
PrinterWritter
daemonFlush
in class PrinterWritter
protected void daemonClose()
PrinterWritter
daemonClose
in class PrinterWritter
protected void daemonPrintJob()
PrinterWritter
daemonPrintJob
in class PrinterWritter
Copyright © 2021. All rights reserved.