Class PrintFiscalDocumentLine

All Implemented Interfaces:
Runnable

public class PrintFiscalDocumentLine extends OutputRequest
Output request executor for FiscalPrinter method PrintFiscalDocumentLine.
  • Constructor Details

    • PrintFiscalDocumentLine

      public PrintFiscalDocumentLine(FiscalPrinterProperties props, String documentLine)
      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

      public String getDocumentLine()
      FiscalPrinter method PrintFiscalDocumentLine parameter documentLine, see UPOS specification.
      Returns:
      PrintFiscalDocumentLine parameter documentLine.
    • invoke

      public void invoke() throws jpos.JposException
      Description 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 class OutputRequest
      Throws:
      jpos.JposException - If the invoked method throws an exception.