All Implemented Interfaces:
Runnable

public class MarkFeed extends OutputRequest
Output request executor for POSPrinter method MarkFeed.
  • Constructor Details

    • MarkFeed

      public MarkFeed(JposCommonProperties props, int type)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      type - The type parameter indicates the type of mark sensed paper handling. Valid values are MF_TO_TAKEUP, MF_TO_CUTTER, MF_TO_CURRENT_TOF or MF_TO_NEXT_TOF.
  • Method Details

    • getType

      public int getType()
      POSPrinter method MarkFeed parameter Type, see UPOS specification.
      Returns:
      MarkFeed parameter type.
    • invoke

      public void invoke() throws jpos.JposException
      Description copied from class: JposOutputRequest
      Invokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.
      Overrides:
      invoke in class JposOutputRequest
      Throws:
      jpos.JposException - JposException thrown by the command to be executed.