|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.PrinterStateReason
public class PrinterStateReason
PrinterStateReason 는 프린터의 현재 상태에 대한 추가 정보, 즉 프린터 PrinterState
속성을 보다 알기 쉽게 하는 정보를, 값의 열거로서 제공하는 인쇄 속성 클래스입니다. 프린터 상태 이유를 나타내는 표준의 값을 정의합니다. 인쇄 서비스를 구현하는 경우, 통지할 필요가 있는 프린터 상태 이유는, 특정의 구현에 적응하는 것 뿐입니다. 정의 떠날 수 있어 모든 프린터 상태 이유를 통지할 필요는 없습니다.
PrinterStateReason 자체는 인쇄 서비스의 속성 세트에서는 직접 사용되지 않고,PrinterStateReasons
속성이 사용됩니다. PrinterStateReasons
속성에는, 인쇄 서비스의 상태에 관련하는 PriterStateReason 객체가 전혀 포함되지 않는 경우도 있어, 1 개(살) 이상 포함되는 경우도 있습니다. PrinterStateReason 객체는, REPORT (중요도저), WARNING, 또는 ERROR (중요도고) Severity
레벨에 각각 관련지을 수 있습니다. 프린터는 대응하는 조건이 true 가 되었을 때에 PrinterStateReason 객체를 인쇄 서비스 PrinterStateReasons
속성에 추가해, false 가 되었을 때에 이 객체를 삭제합니다. 인쇄 서비스 전체 PrinterState
의 변경 (와)는 관계없는 것으로 이 처리를 합니다.
IPP 호환성:각 PrinterStateReason
와 관련지을 수 있었던 Severity
객체의 toString()
메소드로 반환되는 캐릭터 라인치를 하이픈 (-
)으로 이은 것이,PrinterStateReasons
의 IPP 키워드치를 나타냅니다. getName()
에 의해 반환되는 카테고리명은 IPP 속성명을 나타냅니다.
필드의 개요 | |
---|---|
static PrinterStateReason |
CONNECTING_TO_DEVICE
출력 디바이스에 대해서 작업이 스케줄 되어 공유 네트워크 출력 디바이스에의 접속 처리중입니다 (네트워크상의 다른 서버가 출력 디바이스를 장시간 사용하고 있는 경우, 실제의 작업의 인쇄를 장시간 개시할 수 없는 상태가 되어 있습니다). |
static PrinterStateReason |
COVER_OPEN
디바이스의 커버가 열려 있습니다. |
static PrinterStateReason |
DEVELOPER_EMPTY
현상제가 없어졌습니다. |
static PrinterStateReason |
DEVELOPER_LOW
현상제가 얼마 남지 않게 되고 있습니다. |
static PrinterStateReason |
DOOR_OPEN
디바이스의 문이 열려 있습니다. |
static PrinterStateReason |
FUSER_OVER_TEMP
정착기의 온도가 표준을 웃돌고 있습니다. |
static PrinterStateReason |
FUSER_UNDER_TEMP
정착기의 온도가 표준을 밑돌고 있습니다. |
static PrinterStateReason |
INPUT_TRAY_MISSING
페이퍼 트래이가 디바이스에 삽입되고 있지 않습니다. |
static PrinterStateReason |
INTERLOCK_OPEN
프린터의 인터락 디바이스가 락 되고 있지 않습니다. |
static PrinterStateReason |
INTERPRETER_RESOURCE_UNAVAILABLE
폰트나 폼등의 interpreter 자원을 이용할 수 없습니다. |
static PrinterStateReason |
MARKER_SUPPLY_EMPTY
없어져 있는 마커 서플라이 (토너, 잉크, 리본 등)가 있습니다. |
static PrinterStateReason |
MARKER_SUPPLY_LOW
얼마 남지 않게 되고 있는 마커 서플라이 (토너, 잉크, 리본 등)가 있습니다. |
static PrinterStateReason |
MARKER_WASTE_ALMOST_FULL
마커 서플라이의 빈용기 수납부가 이제 곧 가득 됩니다. |
static PrinterStateReason |
MARKER_WASTE_FULL
마커 서플라이의 빈용기 수납부가 가득합니다. |
static PrinterStateReason |
MEDIA_EMPTY
비우고 있는 입력 트레이가 있습니다. |
static PrinterStateReason |
MEDIA_JAM
디바이스로 종이 걸림이 발생하고 있습니다. |
static PrinterStateReason |
MEDIA_LOW
용지가 얼마 남지 않게 되고 있는 입력 트레이가 있습니다. |
static PrinterStateReason |
MEDIA_NEEDED
트레이에 용지가 없습니다. |
static PrinterStateReason |
MOVING_TO_PAUSED
누군가가 프린터를 일시정지했습니다만, 디바이스가 정지하기까지는 일정한 시간이 필요합니다. |
static PrinterStateReason |
OPC_LIFE_OVER
광도전체를 사용할 수 없게 되었습니다. |
static PrinterStateReason |
OPC_NEAR_EOL
광도전체의 교환 시기가 가까워지고 있습니다. |
static PrinterStateReason |
OTHER
아래와 같은 에러 이외의 에러가 검출되었습니다. |
static PrinterStateReason |
OUTPUT_AREA_ALMOST_FULL
곧 가득 되는 배지 에리어 (트레이, 스탁카, 컬레이터 등)가 있습니다. |
static PrinterStateReason |
OUTPUT_AREA_FULL
가득 되어 있는 배지 에리어 (트레이, 스탁카, 컬레이터 등)가 있습니다. |
static PrinterStateReason |
OUTPUT_TRAY_MISSING
배지 트레이가 디바이스에 삽입되고 있지 않습니다. |
static PrinterStateReason |
PAUSED
누군가가 프린터를 일시정지해, PrinterState 가 STOPPED 가 되어 있습니다. |
static PrinterStateReason |
SHUTDOWN
프린터가 인쇄 서비스로부터 삭제되어 디바이스의 전원이 잘리고 있는지, 또는 물리적으로 철거되고 있습니다. |
static PrinterStateReason |
SPOOL_AREA_FULL
spool 처리용으로 할당할 수 있었던 고정 기억 영역이 모두 사용되고 있습니다. |
static PrinterStateReason |
STOPPED_PARTLY
복수의 출력 디바이스를 프린터가 제어하고 있는 경우, 이 이유는 1 개 이상의 출력 디바이스가 정지하고 있는 것을 나타냅니다. |
static PrinterStateReason |
STOPPING
디바이스의 정지 처리를 하고 있어 곧 정지합니다. |
static PrinterStateReason |
TIMED_OUT
서버가 출력 디바이스에 접속할 수가 있었던 (또는 벌써 접속되고 있습니다)가, 출력 디바이스로부터의 응답이 없습니다. |
static PrinterStateReason |
TONER_EMPTY
토너가 없어졌습니다. |
static PrinterStateReason |
TONER_LOW
토너가 얼마 남지 않게 되고 있습니다. |
생성자 의 개요 | |
---|---|
protected |
PrinterStateReason (int value)
지정된 정수치를 사용해 새로운 프린터 상태 이유 열거치를 구축합니다. |
메소드의 개요 | |
---|---|
Class <? extends Attribute > |
getCategory ()
이 인쇄 속성치의 「카테고리」로서 사용되는 인쇄 속성 클래스를 돌려줍니다. |
protected EnumSyntax [] |
getEnumValueTable ()
PrinterStateReason 클래스의 열거치 테이블을 돌려줍니다. |
String |
getName ()
속성치가 인스턴스가 되는 카테고리의 이름을 돌려줍니다. |
protected String [] |
getStringTable ()
PrinterStateReason 클래스의 캐릭터 라인 테이블을 돌려줍니다. |
클래스 javax.print.attribute. EnumSyntax 로부터 상속된 메소드 |
---|
clone , getOffset , getValue , hashCode , readResolve , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
equals , finalize , getClass , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
public static final PrinterStateReason OTHER
public static final PrinterStateReason MEDIA_NEEDED
public static final PrinterStateReason MEDIA_JAM
public static final PrinterStateReason MOVING_TO_PAUSED
PrinterState
가 STOPPED 가 되어,PrinterStateReasons
의 값은 PAUSED 로부터 MOVING_TO_PAUSED 로 변경됩니다. 프린터의 일시정지가 가능하고, 특정의 상황하로 일시정지에 필요한 시간이 길어지는 경우에는, 이 값을 지원할 필요가 있습니다.
public static final PrinterStateReason PAUSED
PrinterState
가 STOPPED 가 되어 있습니다. 이 상태에서는 인쇄는 행해지지 않습니다만, 클라이언트로부터 요구되는 그 외의 조작은 실행의 필요가 있습니다. 일시정지시에 작업의 인쇄 처리를 하고 있었을 경우, 일시정지가 해제되었을 때에 인쇄를 재개할 필요가 있습니다. 이 때에 일시정지의 흔적을 인쇄물에 남기지 않게 할 필요가 있습니다. 프린터가 일시정지 가능한 경우는 이 값을 지원할 필요가 있습니다.
public static final PrinterStateReason SHUTDOWN
public static final PrinterStateReason CONNECTING_TO_DEVICE
public static final PrinterStateReason TIMED_OUT
public static final PrinterStateReason STOPPING
PrinterState
는 STOPPED 로 변경됩니다. STOPPING 이유는, 비록 출력 디바이스가 1 대만의 경우에서도 에러가 아닙니다. 출력 디바이스가 작업의 수락을 중지하면(자),PrinterStateReasons
에 이 이유가 설정되어 처리중의 인쇄를 완료합니다.
public static final PrinterStateReason STOPPED_PARTLY
public static final PrinterStateReason TONER_LOW
public static final PrinterStateReason TONER_EMPTY
public static final PrinterStateReason SPOOL_AREA_FULL
public static final PrinterStateReason COVER_OPEN
public static final PrinterStateReason INTERLOCK_OPEN
public static final PrinterStateReason DOOR_OPEN
public static final PrinterStateReason INPUT_TRAY_MISSING
public static final PrinterStateReason MEDIA_LOW
public static final PrinterStateReason MEDIA_EMPTY
public static final PrinterStateReason OUTPUT_TRAY_MISSING
public static final PrinterStateReason OUTPUT_AREA_ALMOST_FULL
public static final PrinterStateReason OUTPUT_AREA_FULL
public static final PrinterStateReason MARKER_SUPPLY_LOW
public static final PrinterStateReason MARKER_SUPPLY_EMPTY
public static final PrinterStateReason MARKER_WASTE_ALMOST_FULL
public static final PrinterStateReason MARKER_WASTE_FULL
public static final PrinterStateReason FUSER_OVER_TEMP
public static final PrinterStateReason FUSER_UNDER_TEMP
public static final PrinterStateReason OPC_NEAR_EOL
public static final PrinterStateReason OPC_LIFE_OVER
public static final PrinterStateReason DEVELOPER_LOW
public static final PrinterStateReason DEVELOPER_EMPTY
public static final PrinterStateReason INTERPRETER_RESOURCE_UNAVAILABLE
생성자 의 상세 |
---|
protected PrinterStateReason(int value)
value
- 정수치메소드의 상세 |
---|
protected String [] getStringTable()
EnumSyntax
내의 getStringTable
protected EnumSyntax [] getEnumValueTable()
EnumSyntax
내의 getEnumValueTable
public final Class <? extends Attribute > getCategory()
PrinterStateReason 클래스, 및 벤더 정의의 임의의 서브 클래스에서는, 카테고리는 PrinterStateReason 클래스 자신이 됩니다.
Attribute
내의 getCategory
java.lang.Class
클래스의 인스턴스public final String getName()
PrinterStateReason 클래스, 및 벤더 정의의 임의의 서브 클래스에서는, 카테고리명은 printer-state-reason
가 됩니다.
Attribute
내의 getName
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.