|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.java4less.textprinter.JobProperties
this class stores information about the printer job. It stored global information for th job like, page size and margins.
Field Summary | |
boolean |
autoChartSetSelection
allow automatic change of character set if the characters to be printed cannot be found in the defined set. |
int |
bottomMargin
bottom margin (number of lines) |
int |
cols
size of the page, columns |
double |
columnWidth
wide of columns in inches. |
boolean |
condensed
use condensed charaters |
boolean |
draftQuality
printing quality |
java.lang.String |
interspacing
line interspacing. |
java.lang.String |
javaEncoding
jave encoding to be used if no character set conversion is performed |
boolean |
landscape
landscape format, usually only laser printers support this. |
int |
leftMargin
left margin (number of columns) |
PaperSize |
paperSize
paper size, only required if the pitch and line spacing must be set automatically. |
double |
pitch
Size of the characters 10, 12 or 15 (characters/inch). |
boolean |
proportional
proportional printing. |
int |
resolution
printer resolution, only required if the pitch and line spacing must be set automatically. |
int |
rightMargin
right margin (number of columns) |
int |
rows
size of the page, lines |
int |
topMargin
top margin (number of lines) |
java.lang.String |
userDefinedCommands
any user defined control commands to be executed at the beginning of the job |
Constructor Summary | |
JobProperties()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int rows
public int cols
public int topMargin
public int bottomMargin
public int leftMargin
public int rightMargin
public java.lang.String interspacing
public boolean landscape
public boolean draftQuality
public double pitch
public double columnWidth
public boolean autoChartSetSelection
public java.lang.String userDefinedCommands
public int resolution
public PaperSize paperSize
public boolean proportional
public boolean condensed
public java.lang.String javaEncoding
Constructor Detail |
public JobProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |