Class TerminalPrinterSettings

java.lang.Object
com.iizix.term.prop.TerminalPrinterSettings
All Implemented Interfaces:
IBinderPOJO, IPropBinder, Cloneable

public class TerminalPrinterSettings extends Object implements IPropBinder, Cloneable
This property class instance contains all properties for the printer properties as POJO variables. The variables are initialized with their default values.
Author:
Christopher Mindus
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    int
    The left margin (default 1).
    int
    The line density in 1/72 inches (6 LPI = 9/72 inches per line, 8 LPI = 12/72, default value is 11).
    int
    The maximum page length (default 72).
    int
    The maximum print position (default 132).
    int
    The left margin in 1/72 inches for the paper (default 20).
    int
    The top margin in 1/72 inches for the paper (default 20).
    int
    Number of characters per inch (default 17 CPI) for LU3 132 char lines or LU1.
    int
    The timeout in seconds used to keep a print-job alive, avoiding a new print dialog box on the client side (for Java), or a new PDF document for browser-based solutions.
    static final int
    The count of properties in this class to set/get when performing POJO to/from properties transfer.
    int
    The top margin (default 1).
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Creates a clone object.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • PROP_COUNT Link icon

      public static final int PROP_COUNT
      The count of properties in this class to set/get when performing POJO to/from properties transfer.
      See Also:
    • mpp Link icon

      public int mpp
      The maximum print position (default 132).
    • mpl Link icon

      public int mpl
      The maximum page length (default 72).
    • leftMargin Link icon

      public int leftMargin
      The left margin (default 1).
    • topMargin Link icon

      public int topMargin
      The top margin (default 1).
    • printDensity Link icon

      public int printDensity
      Number of characters per inch (default 17 CPI) for LU3 132 char lines or LU1.
    • lineDensity Link icon

      public int lineDensity
      The line density in 1/72 inches (6 LPI = 9/72 inches per line, 8 LPI = 12/72, default value is 11).
    • paperTopMargin Link icon

      public int paperTopMargin
      The top margin in 1/72 inches for the paper (default 20).
    • paperLeftMargin Link icon

      public int paperLeftMargin
      The left margin in 1/72 inches for the paper (default 20).
    • printTimeout Link icon

      public int printTimeout
      The timeout in seconds used to keep a print-job alive, avoiding a new print dialog box on the client side (for Java), or a new PDF document for browser-based solutions. Default is 10 seconds.
  • Constructor Details Link icon

    • TerminalPrinterSettings Link icon

      public TerminalPrinterSettings()
  • Method Details Link icon