public interface PrintSetup
Modifier and Type | Field and Description |
---|---|
static short |
A3_PAPERSIZE
A3 - 297x420 mm
|
static short |
A4_EXTRA_PAPERSIZE
A4 Extra - 9.27 x 12.69 in
|
static short |
A4_PAPERSIZE
A4 - 210x297 mm
|
static short |
A4_PLUS_PAPERSIZE
A4 Plus - 210x330 mm
|
static short |
A4_ROTATED_PAPERSIZE
A4 Rotated - 297x210 mm
|
static short |
A4_SMALL_PAPERSIZE
A4 Small - 210x297 mm
|
static short |
A4_TRANSVERSE_PAPERSIZE
A4 Transverse - 210x297 mm
|
static short |
A5_PAPERSIZE
A5 - 148x210 mm
|
static short |
B4_PAPERSIZE
B4 (JIS) 250x354 mm
|
static short |
B5_PAPERSIZE
B5 (JIS) 182x257 mm
|
static short |
ELEVEN_BY_SEVENTEEN_PAPERSIZE
11 x 17 in
|
static short |
ENVELOPE_10_PAPERSIZE
US Envelope #10 4 1/8 x 9 1/2
|
static short |
ENVELOPE_9_PAPERSIZE
US Envelope #9 3 7/8 x 8 7/8
|
static short |
ENVELOPE_C3_PAPERSIZE
Envelope C3 324x458 mm
|
static short |
ENVELOPE_C4_PAPERSIZE
Envelope C4 229x324 mm
|
static short |
ENVELOPE_C5_PAPERSIZE |
static short |
ENVELOPE_C6_PAPERSIZE
Envelope C6 114x162 mm
|
static short |
ENVELOPE_CS_PAPERSIZE
Envelope C5 162x229 mm
|
static short |
ENVELOPE_DL_PAPERSIZE
Envelope DL 110x220 mm
|
static short |
ENVELOPE_MONARCH_PAPERSIZE |
static short |
EXECUTIVE_PAPERSIZE
US Executive 7 1/4 x 10 1/2 in
|
static short |
FOLIO8_PAPERSIZE
Folio 8 1/2 x 13 in
|
static short |
LEDGER_PAPERSIZE
US Ledger 17 x 11 in
|
static short |
LEGAL_PAPERSIZE
US Legal 8 1/2 x 14 in
|
static short |
LETTER_PAPERSIZE
US Letter 8 1/2 x 11 in
|
static short |
LETTER_ROTATED_PAPERSIZE
US Letter Rotated 11 x 8 1/2 in
|
static short |
LETTER_SMALL_PAGESIZE
US Letter Small 8 1/2 x 11 in
|
static short |
NOTE8_PAPERSIZE
US Note 8 1/2 x 11 in
|
static short |
QUARTO_PAPERSIZE
Quarto 215x275 mm
|
static short |
STATEMENT_PAPERSIZE
US Statement 5 1/2 x 8 1/2 in
|
static short |
TABLOID_PAPERSIZE
US Tabloid 11 x 17 in
|
static short |
TEN_BY_FOURTEEN_PAPERSIZE
10 x 14 in
|
Modifier and Type | Method and Description |
---|---|
int |
getCommentsMode()
Returns how to print comments:
0: None
1: As displayed on sheet
2: print at the end of sheet
|
short |
getCopies()
Returns the number of copies.
|
boolean |
getDraft()
Returns the draft mode.
|
int |
getErrorsMode()
Returns how to print errors in cell:
0: as displayed on sheet
1: print error as blank
2: print error as dashes("--")
3: print error as "#N/A"
|
short |
getFitHeight()
Returns the number of pages high to fit the sheet in.
|
short |
getFitWidth()
Returns the number of pages wide to fit sheet in.
|
double |
getFooterMargin()
Returns the footer margin.
|
double |
getHeaderMargin()
Returns the header margin.
|
short |
getHResolution()
Returns the horizontal resolution.
|
boolean |
getLandscape()
Returns the landscape mode.
|
boolean |
getLeftToRight()
Returns the left to right print order.
|
boolean |
getNoColor()
Returns the black and white setting.
|
boolean |
getNoOrientation()
Returns the no orientation.
|
boolean |
getNotes()
Returns the print notes.
|
short |
getPageStart()
Returns the page start.
|
short |
getPaperSize()
Returns the paper size.
|
short |
getScale()
Returns the scale.
|
boolean |
getUsePage()
Returns the use page numbers.
|
boolean |
getValidSettings()
Returns the valid settings.
|
short |
getVResolution()
Returns the vertical resolution.
|
void |
setCommentsMode(int mode) |
void |
setCopies(short copies)
Sets the number of copies.
|
void |
setDraft(boolean d)
Set whether it is in draft mode
|
void |
setErrorsMode(int mode) |
void |
setFitHeight(short height)
Set the number of pages high to fit the sheet in
|
void |
setFitWidth(short width)
Set the number of pages wide to fit the sheet in
|
void |
setFooterMargin(double footermargin)
Sets the footer margin.
|
void |
setHeaderMargin(double headermargin)
Sets the header margin.
|
void |
setHResolution(short resolution)
Sets the horizontal resolution.
|
void |
setLandscape(boolean ls)
Set whether to print in landscape
|
void |
setLeftToRight(boolean ltor)
Set whether to go left to right or top down in ordering
|
void |
setNoColor(boolean mono)
Set whether it is black and white
|
void |
setNoOrientation(boolean orientation)
Set no orientation. ?
|
void |
setNotes(boolean printnotes)
Print the include notes
|
void |
setPageStart(short start)
Set the page numbering start.
|
void |
setPaperSize(short size)
Set the paper size.
|
void |
setScale(short scale)
Set the scale.
|
void |
setUsePage(boolean page)
Set whether to use page start
|
void |
setValidSettings(boolean valid)
Valid settings.
|
void |
setVResolution(short resolution)
Sets the vertical resolution.
|
static final short LETTER_PAPERSIZE
static final short LETTER_SMALL_PAGESIZE
static final short TABLOID_PAPERSIZE
static final short LEDGER_PAPERSIZE
static final short LEGAL_PAPERSIZE
static final short STATEMENT_PAPERSIZE
static final short EXECUTIVE_PAPERSIZE
static final short A3_PAPERSIZE
static final short A4_PAPERSIZE
static final short A4_SMALL_PAPERSIZE
static final short A5_PAPERSIZE
static final short B4_PAPERSIZE
static final short B5_PAPERSIZE
static final short FOLIO8_PAPERSIZE
static final short QUARTO_PAPERSIZE
static final short TEN_BY_FOURTEEN_PAPERSIZE
static final short ELEVEN_BY_SEVENTEEN_PAPERSIZE
static final short NOTE8_PAPERSIZE
static final short ENVELOPE_9_PAPERSIZE
static final short ENVELOPE_10_PAPERSIZE
static final short ENVELOPE_DL_PAPERSIZE
static final short ENVELOPE_CS_PAPERSIZE
static final short ENVELOPE_C5_PAPERSIZE
static final short ENVELOPE_C3_PAPERSIZE
static final short ENVELOPE_C4_PAPERSIZE
static final short ENVELOPE_C6_PAPERSIZE
static final short ENVELOPE_MONARCH_PAPERSIZE
static final short A4_EXTRA_PAPERSIZE
static final short A4_TRANSVERSE_PAPERSIZE
static final short A4_PLUS_PAPERSIZE
static final short LETTER_ROTATED_PAPERSIZE
static final short A4_ROTATED_PAPERSIZE
void setPaperSize(short size)
size
- the paper size.void setScale(short scale)
scale
- the scale to usevoid setPageStart(short start)
start
- the page numbering startvoid setFitWidth(short width)
width
- the number of pagesvoid setFitHeight(short height)
height
- the number of pagesvoid setLeftToRight(boolean ltor)
ltor
- left to rightvoid setLandscape(boolean ls)
ls
- landscapevoid setValidSettings(boolean valid)
valid
- Validvoid setNoColor(boolean mono)
mono
- Black and whitevoid setDraft(boolean d)
d
- draftvoid setNotes(boolean printnotes)
printnotes
- print the notesvoid setNoOrientation(boolean orientation)
orientation
- Orientation.void setUsePage(boolean page)
page
- Use page startvoid setHResolution(short resolution)
resolution
- horizontal resolutionvoid setVResolution(short resolution)
resolution
- vertical resolutionvoid setHeaderMargin(double headermargin)
headermargin
- header marginvoid setFooterMargin(double footermargin)
footermargin
- footer marginvoid setCopies(short copies)
copies
- number of copiesshort getPaperSize()
short getScale()
short getPageStart()
short getFitWidth()
short getFitHeight()
boolean getLeftToRight()
boolean getLandscape()
boolean getValidSettings()
boolean getNoColor()
boolean getDraft()
boolean getNotes()
boolean getNoOrientation()
boolean getUsePage()
short getHResolution()
short getVResolution()
double getHeaderMargin()
double getFooterMargin()
short getCopies()
int getCommentsMode()
void setCommentsMode(int mode)
int getErrorsMode()
void setErrorsMode(int mode)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.