助けが必要です。PrinterStateReasonプリンターを贈る方法がわかりません。PrinterStateReasonこの方法で呼び出すことができます
PrinterStateReason pr =PrinterStateReason.OUTPUT_AREA_FULL;
与えられたプリンターの状態を確認したいのですが、可能PrinterStateReasonですか?
例 :
PrintService[] pservices =PrintServiceLookup.lookupPrintServices(null, null);
log.info("Printer Attrbute"+ pservices .getAttributes().toArray());
これにより、与えられたネットワークで利用可能なすべてのプリントが一覧表示されます。同じように使う方法がわかりませんかPrinterStateReason ?