All Implemented Interfaces:
Runnable

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

    • PrintNormal

      public PrintNormal(FiscalPrinterProperties props, int station, String data)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      station - The Fiscal Printer station to be used.
      data - The characters to be printed.
  • Method Details

    • getStation

      public int getStation()
      FiscalPrinter method PrintNormal parameter station, see UPOS specification.
      Returns:
      PrintNormal parameter station.
    • getData

      public String getData()
      FiscalPrinter method PrintNormal parameter data, see UPOS specification.
      Returns:
      PrintNormal parameter data.
    • 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.