Class PrintFiscalDocumentLine
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.fiscalprinter.OutputRequest
de.gmxhome.conrad.jpos.jpos_base.fiscalprinter.PrintFiscalDocumentLine
- All Implemented Interfaces:
Runnable
Output request executor for FiscalPrinter method PrintFiscalDocumentLine.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
JposOutputRequest.JposRequestThread
-
Field Summary
Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.fiscalprinter.OutputRequest
Level, Station
Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
Abort, AdditionalData, Device, EndSync, Exception, Finished, OutputID, Props, Waiting
-
Constructor Summary
ConstructorsConstructorDescriptionPrintFiscalDocumentLine(FiscalPrinterProperties props, String documentLine)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionFiscalPrinter method PrintFiscalDocumentLine parameter documentLine, see UPOS specification.void
invoke()
This function should be called whenever a printing method has been invoked.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.fiscalprinter.OutputRequest
createErrorEvent, createIdleEvent, setIdleWaiter
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
abortCommand, abortCommand, catchedInvocation, clearAll, clearInput, clearOutput, countCommands, createOutputEvent, dequeue, enqueue, enqueueSynchronous, finishAsyncProcessing, finished, reactivate, reactivate, reset, run
-
Constructor Details
-
PrintFiscalDocumentLine
Constructor. Stores given parameters for later use.- Parameters:
props
- Property set of device service.documentLine
- String to be printed on fiscal slip.
-
-
Method Details
-
getDocumentLine
FiscalPrinter method PrintFiscalDocumentLine parameter documentLine, see UPOS specification.- Returns:
- PrintFiscalDocumentLine parameter documentLine.
-
invoke
public void invoke() throws jpos.JposExceptionDescription copied from class:OutputRequest
This function should be called whenever a printing method has been invoked. Therefore, it is the perfect place to signal processing has finished to implicitly waiting synchronous methods.- Overrides:
invoke
in classOutputRequest
- Throws:
jpos.JposException
- If the invoked method throws an exception.
-