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 | defaultLeftMarginThe default left margin (default 1). |
int | defaultLineDensityThe default line density in 1/72 inches (6 LPI = 9/72 inches per line, 8 LPI = 12/72, default value is 11). |
int | defaultMplThe default maximum page length (default 72). |
int | defaultMppThe default maximum print position (default 132). |
int | defaultPrintDensityThe default characters per inch (default 17 CPI) for LU3 132 char lines or LU1. |
int | defaultTopMarginThe default top margin (default 1). |
int | paperLeftMarginThe left margin in 1/72 inches for the paper (default 20). |
int | paperTopMarginThe top margin in 1/72 inches for the paper (default 20). |
int | printTimeoutThe 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.
© 2026 Mindus SARL. All rights reserved.