JavaTM Platform
Standard Ed. 6

クラス
javax.print.attribute.standard.PrinterStateReason の使用

PrinterStateReason を使用しているパッケージ
javax.print.attribute.standard このパッケージには、特定の印刷属性のクラスが含まれています。 
 

javax.print.attribute.standard での PrinterStateReason の使用
 

PrinterStateReason として宣言されている javax.print.attribute.standard のフィールド
static PrinterStateReason PrinterStateReason.CONNECTING_TO_DEVICE
          出力デバイスに対してジョブがスケジュールされ、共有ネットワーク出力デバイスへの接続処理中です (ネットワーク上の別のサーバーが出力デバイスを長時間使用している場合、実際のジョブの印刷を長時間開始できない状態になっています)。
static PrinterStateReason PrinterStateReason.COVER_OPEN
          デバイスのカバーが開いています。
static PrinterStateReason PrinterStateReason.DEVELOPER_EMPTY
          現像剤がなくなりました。
static PrinterStateReason PrinterStateReason.DEVELOPER_LOW
          現像剤が残り少なくなっています。
static PrinterStateReason PrinterStateReason.DOOR_OPEN
          デバイスのドアが開いています。
static PrinterStateReason PrinterStateReason.FUSER_OVER_TEMP
          定着器の温度が標準を上回っています。
static PrinterStateReason PrinterStateReason.FUSER_UNDER_TEMP
          定着器の温度が標準を下回っています。
static PrinterStateReason PrinterStateReason.INPUT_TRAY_MISSING
          給紙トレーがデバイスに挿入されていません。
static PrinterStateReason PrinterStateReason.INTERLOCK_OPEN
          プリンタのインターロックデバイスがロックされていません。
static PrinterStateReason PrinterStateReason.INTERPRETER_RESOURCE_UNAVAILABLE
          フォントやフォームなどのインタプリタリソースが利用できません。
static PrinterStateReason PrinterStateReason.MARKER_SUPPLY_EMPTY
          なくなっているマーカーサプライ (トナー、インク、リボンなど) があります。
static PrinterStateReason PrinterStateReason.MARKER_SUPPLY_LOW
          残り少なくなっているマーカーサプライ (トナー、インク、リボンなど) があります。
static PrinterStateReason PrinterStateReason.MARKER_WASTE_ALMOST_FULL
          マーカーサプライの空き容器収納部がもうすぐいっぱいになります。
static PrinterStateReason PrinterStateReason.MARKER_WASTE_FULL
          マーカーサプライの空き容器収納部がいっぱいです。
static PrinterStateReason PrinterStateReason.MEDIA_EMPTY
          空になっている入力トレーがあります。
static PrinterStateReason PrinterStateReason.MEDIA_JAM
          デバイスで紙詰まりが発生しています。
static PrinterStateReason PrinterStateReason.MEDIA_LOW
          用紙が残り少なくなっている入力トレーがあります。
static PrinterStateReason PrinterStateReason.MEDIA_NEEDED
          トレーに用紙がありません。
static PrinterStateReason PrinterStateReason.MOVING_TO_PAUSED
          誰かがプリンタを一時停止しましたが、デバイスが停止するまでには一定の時間が必要です。
static PrinterStateReason PrinterStateReason.OPC_LIFE_OVER
          光導電体が使用できなくなりました。
static PrinterStateReason PrinterStateReason.OPC_NEAR_EOL
          光導電体の交換時期が近づいています。
static PrinterStateReason PrinterStateReason.OTHER
          下記のエラー以外のエラーが検出されました。
static PrinterStateReason PrinterStateReason.OUTPUT_AREA_ALMOST_FULL
          まもなくいっぱいになる排紙エリア (トレー、スタッカー、コレーターなど) があります。
static PrinterStateReason PrinterStateReason.OUTPUT_AREA_FULL
          いっぱいになっている排紙エリア (トレー、スタッカー、コレーターなど) があります。
static PrinterStateReason PrinterStateReason.OUTPUT_TRAY_MISSING
          排紙トレーがデバイスに挿入されていません。
static PrinterStateReason PrinterStateReason.PAUSED
          誰かがプリンタを一時停止し、PrinterState が STOPPED になっています。
static PrinterStateReason PrinterStateReason.SHUTDOWN
          プリンタが印刷サービスから削除され、デバイスの電源が切られているか、または物理的に撤去されています。
static PrinterStateReason PrinterStateReason.SPOOL_AREA_FULL
          スプール処理用に割り当てられた固定記憶領域がすべて使用されています。
static PrinterStateReason PrinterStateReason.STOPPED_PARTLY
          複数の出力デバイスをプリンタが制御している場合、この理由は 1 つ以上の出力デバイスが停止していることを示します。
static PrinterStateReason PrinterStateReason.STOPPING
          デバイスの停止処理が行われており、まもなく停止します。
static PrinterStateReason PrinterStateReason.TIMED_OUT
          サーバーが出力デバイスに接続することができました (またはすでに接続されています) が、出力デバイスからの応答がありません。
static PrinterStateReason PrinterStateReason.TONER_EMPTY
          トナーがなくなりました。
static PrinterStateReason PrinterStateReason.TONER_LOW
          トナーが残り少なくなっています。
 

PrinterStateReason 型の引数を持つ型を返す javax.print.attribute.standard のメソッド
 Set<PrinterStateReason> PrinterStateReasons.printerStateReasonSet(Severity severity)
          この PrinterStateReasons 属性の指定された重要度レベルの各プリンタ状態理由属性から、変更不可能なセットビューを返します。
 

PrinterStateReason 型のパラメータを持つ javax.print.attribute.standard のメソッド
 Severity PrinterStateReasons.put(PrinterStateReason reason, Severity severity)
          指定されたプリンタ状態理由をこのプリンタ状態理由属性に追加し、同時に指定された重要度レベルに関連付けます。
 

PrinterStateReason 型の型引数を持つ javax.print.attribute.standard のコンストラクタパラメータ
PrinterStateReasons(Map<PrinterStateReason,Severity> map)
          指定されたマップと同じ PrinterStateReason から Severity へのマッピングを持つプリンタ状態理由属性を新しく構築します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。