Package | Description |
---|---|
javafx.print |
Provides the public classes for the JavaFX Printing API.
|
Modifier and Type | Field and Description |
---|---|
static Paper |
Paper.A0
Specifies the ISO A0 size, 841 mm by 1189 mm.
|
static Paper |
Paper.A1
Specifies the ISO A1 size, 594 mm by 841 mm.
|
static Paper |
Paper.A2
Specifies the ISO A2 size, 420 mm by 594 mm.
|
static Paper |
Paper.A3
Specifies the ISO A3 size, 297 mm by 420 mm.
|
static Paper |
Paper.A4
Specifies the ISO A4 size, 210 mm by 297 mm.
|
static Paper |
Paper.A5
Specifies the ISO A5 size, 148 mm by 210 mm.
|
static Paper |
Paper.A6
Specifies the ISO A6 size, 105 mm by 148 mm.
|
static Paper |
Paper.C
Specifies the engineering C size, 17 inch by 22 inch.
|
static Paper |
Paper.DESIGNATED_LONG
Specifies the ISO Designated Long size, 110 mm by 220 mm.
|
static Paper |
Paper.EXECUTIVE
Specifies the executive size, 7.25 inches by 10.5 inches.
|
static Paper |
Paper.JAPANESE_POSTCARD
Specifies the Japanese postcard size, 100 mm by 148 mm.
|
static Paper |
Paper.JIS_B4
Specifies the JIS B4 size, 257 mm by 364 mm.
|
static Paper |
Paper.JIS_B5
Specifies the JIS B5 size, 182 mm by 257 mm.
|
static Paper |
Paper.JIS_B6
Specifies the JIS B6 size, 128 mm by 182 mm.
|
static Paper |
Paper.LEGAL
Specifies the North American legal size, 8.5 inches by 14 inches.
|
static Paper |
Paper.MONARCH_ENVELOPE
Specifies the Monarch envelope size, 3.87 inch by 7.5 inch.
|
static Paper |
Paper.NA_8X10
Specifies the North American 8 inch by 10 inch paper.
|
static Paper |
Paper.NA_LETTER
Specifies the North American letter size, 8.5 inches by 11 inches
|
static Paper |
Paper.NA_NUMBER_10_ENVELOPE
Specifies the North American Number 10 business envelope size,
4.125 inches by 9.5 inches.
|
static Paper |
Paper.TABLOID
Specifies the tabloid size, 11 inches by 17 inches.
|
Modifier and Type | Method and Description |
---|---|
Paper |
PrinterAttributes.getDefaultPaper()
Return the default paper size used on this printer.
|
Paper |
PageLayout.getPaper()
The paper used.
|
Modifier and Type | Method and Description |
---|---|
Set<Paper> |
PrinterAttributes.getSupportedPapers()
Returns an unmodifiable set of the supported paper sizes
for this printer.
|
Modifier and Type | Method and Description |
---|---|
PageLayout |
Printer.createPageLayout(Paper paper,
PageOrientation orient,
double lMargin,
double rMargin,
double tMargin,
double bMargin)
Obtain a new PageLayout for this printer using the specified
parameters.
|
PageLayout |
Printer.createPageLayout(Paper paper,
PageOrientation orient,
Printer.MarginType mType)
Obtain a new PageLayout instance for this printer using the specified
parameters.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.