public final class PrinterAttributes extends Object
デフォルトまたは現在の値やサポートされる値のセットまたは範囲を適宜取得するメソッドがあります。
このクラスのインスタンスはPrinterの委譲であり、プリンタから取得する必要があります。 プリンタの設定変更はこのAPIの範囲外であるため、アプリケーションによって変更することはできません。
| 修飾子と型 | メソッドと説明 |
|---|---|
Collation |
getDefaultCollation()
デフォルトの丁合い設定。
|
int |
getDefaultCopies()
デフォルトの印刷部数。
|
PageOrientation |
getDefaultPageOrientation()
このプリンタにおける用紙のデフォルトの向きを返します。
|
Paper |
getDefaultPaper()
このプリンタで使用されるデフォルトの用紙サイズを返します。
|
PaperSource |
getDefaultPaperSource()
デフォルトの給紙方法(トレイ)を返します
|
PrintColor |
getDefaultPrintColor()
デフォルトの色設定(グレースケールまたはカラー)を取得します
|
PrintQuality |
getDefaultPrintQuality()
デフォルトの品質設定を返します
|
PrintResolution |
getDefaultPrintResolution()
このプリンタにおける用紙のデフォルトの印刷解像度を返します。
|
PrintSides |
getDefaultPrintSides()
両面設定のデフォルト値を返します。
|
int |
getMaxCopies()
サポートされる最大部数。
|
Set<Collation> |
getSupportedCollations()
このプリンタでサポートされる丁合い設定の変更不可能なセットを返します。
|
Set<PageOrientation> |
getSupportedPageOrientations()
このプリンタでサポートされる向きの変更不可能なセットを返します。
|
Set<Paper> |
getSupportedPapers()
このプリンタでサポートされる用紙サイズの変更不可能なセットを返します。
|
Set<PaperSource> |
getSupportedPaperSources()
このプリンタでサポートされる給紙方法(給紙ビンや給紙トレイ)の変更不可能なセットを返します。
|
Set<PrintColor> |
getSupportedPrintColors()
このプリンタでサポートされる色設定の変更不可能なセットを返します。
|
Set<PrintQuality> |
getSupportedPrintQuality()
このプリンタでサポートされる品質設定の変更不可能なセットを返します。
|
Set<PrintResolution> |
getSupportedPrintResolutions()
このプリンタでサポートされる印刷解像度の変更不可能なセットを返します。
|
Set<PrintSides> |
getSupportedPrintSides()
このプリンタでサポートされる両面設定の変更不可能なセットを返します。
|
boolean |
supportsPageRanges()
ページ範囲がサポートされるかどうかをレポートします。
|
public int getDefaultCopies()
public int getMaxCopies()
public boolean supportsPageRanges()
public Collation getDefaultCollation()
Collationのデフォルト値public Set<Collation> getSupportedCollations()
Collationのサポートされる値public PrintSides getDefaultPrintSides()
PrintSidesのデフォルト値public Set<PrintSides> getSupportedPrintSides()
PrintSidesのサポートされる値public PrintColor getDefaultPrintColor()
public Set<PrintColor> getSupportedPrintColors()
PrintColorのサポートされる値public PrintQuality getDefaultPrintQuality()
public Set<PrintQuality> getSupportedPrintQuality()
PrintQualityのサポートされる値public PrintResolution getDefaultPrintResolution()
public Set<PrintResolution> getSupportedPrintResolutions()
PrintResolutionのサポートされる値public PageOrientation getDefaultPageOrientation()
public Set<PageOrientation> getSupportedPageOrientations()
PageOrientationのサポートされる値public Paper getDefaultPaper()
public Set<Paper> getSupportedPapers()
Paperのサポートされる値public PaperSource getDefaultPaperSource()
public Set<PaperSource> getSupportedPaperSources()
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.