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, writepublic PrinterWritterComm(String sPortPrinter) throws TicketPrinterException
TicketPrinterExceptionprotected void daemonWrite(byte[] data)
PrinterWritterdaemonWrite in class PrinterWritterprotected void daemonFlush()
PrinterWritterdaemonFlush in class PrinterWritterprotected void daemonClose()
PrinterWritterdaemonClose in class PrinterWritterprotected void daemonPrintJob()
PrinterWritterdaemonPrintJob in class PrinterWritterCopyright © 2021. All rights reserved.