public class HostPrinterSettings extends Object implements Cloneable
The default printer settings are loaded from the "server.ini" file from the [Settings3287] section as listed below:
Variable INI file entry Default value ------------------- -------------------- ------------- defaultMpp maximumPrintPosition 132 defaultMpl maximumPageLength 72 defaultLeftMargin leftMargin 1 defaultTopMargin topMargin 1 defaultPrintDensity charactersPerInch 17 defaultLineDensity lineDensity 11 paperLeftMargin paperLeftMargin 20 paperTopMargin paperTopMargin 20 printTimeout printTimeout 10
Modifier and Type | Field and Description |
---|---|
int |
defaultLeftMargin
The default left margin (default 1).
|
int |
defaultLineDensity
The default line density in 1/72 inches
(6 LPI = 9/72 inches per line, 8 LPI = 12/72, default value is 11).
|
int |
defaultMpl
The default maximum page length (default 72).
|
int |
defaultMpp
The default maximum print position (default 132).
|
int |
defaultPrintDensity
The default characters per inch (default 17 CPI) for LU3 132 char lines or LU1.
|
int |
defaultTopMargin
The default top margin (default 1).
|
int |
paperLeftMargin
The left margin in 1/72 inches for the paper (default 20).
|
int |
paperTopMargin
The top margin in 1/72 inches for the paper (default 20).
|
int |
printTimeout
The timeout in seconds used to keep a print-job
alive, avoiding a new print dialog box on the client side.
|
Constructor and Description |
---|
HostPrinterSettings() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones this instance of host printer settings.
|
void |
loadSettings(IniFile ini)
Loads the settings from the "server.ini" file.
|
public int defaultMpp
public int defaultMpl
public int defaultLeftMargin
public int defaultTopMargin
public int defaultPrintDensity
public int defaultLineDensity
public int paperTopMargin
public int paperLeftMargin
public int printTimeout
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.