Package com.iizix.term.prop
Class TerminalPrinterSettings
java.lang.Object
com.iizix.term.prop.TerminalPrinterSettings
- All Implemented Interfaces:
- IBinderPOJO,- 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 SummaryFieldsModifier and TypeFieldDescription- intThe left margin (default 1).- intThe line density in 1/72 inches (6 LPI = 9/72 inches per line, 8 LPI = 12/72, default value is 11).- intThe maximum page length (default 72).- intThe maximum print position (default 132).- intThe left margin in 1/72 inches for the paper (default 20).- intThe top margin in 1/72 inches for the paper (default 20).- intNumber of characters per inch (default 17 CPI) for LU3 132 char lines or LU1.- intThe 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 intThe count of properties in this class to set/get when performing POJO to/from properties transfer.- intThe top margin (default 1).
- Constructor SummaryConstructors
- Method Summary
- Field Details- PROP_COUNTpublic static final int PROP_COUNTThe count of properties in this class to set/get when performing POJO to/from properties transfer.- See Also:
 
- mpppublic int mppThe maximum print position (default 132).
- mplpublic int mplThe maximum page length (default 72).
- leftMarginpublic int leftMarginThe left margin (default 1).
- topMarginpublic int topMarginThe top margin (default 1).
- printDensitypublic int printDensityNumber of characters per inch (default 17 CPI) for LU3 132 char lines or LU1.
- lineDensitypublic int lineDensityThe line density in 1/72 inches (6 LPI = 9/72 inches per line, 8 LPI = 12/72, default value is 11).
- paperTopMarginpublic int paperTopMarginThe top margin in 1/72 inches for the paper (default 20).
- paperLeftMarginpublic int paperLeftMarginThe left margin in 1/72 inches for the paper (default 20).
- printTimeoutpublic int printTimeoutThe 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- TerminalPrinterSettingspublic TerminalPrinterSettings()
 
- Method Details- copyCreates a clone object.- Returns:
- The clone of printer settings.