public final class OrientationRequested extends EnumSyntax implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
有些文件格式(例如,"application/postscript"
)的打印流页面所需的取向是文档数据在指定的。此信息是由设备驱动程序在提交打印作业之前产生的。其他格式的文件(如"text/plain"
)不包括文件资料内所需的取向的概念。在后一种情况下,它是可能的打印机绑定到所需的方向后,它已提交的文档数据。预计打印机只支持某些格式的文件,OrientationRequested的属性(例如,"text/plain"
或"text/html"
)而不是其他人(例如"application/postscript"
)。这与其他工作模板属性没有什么不同,因为打印作业总是可以在不同作业模板属性的值之间进行约束的。然而,特别提到了因为它极有可能是打印机将支持只支持文件格式的一个子集的OrientationRequested属性。
聚丙烯的相容性:类别名称返回getName()
是IPP的属性名称。枚举的整数值为IPP的枚举值。的toString()
方法返回属性值的字符串表示形式的IPP。
Modifier and Type | Field and Description |
---|---|
static OrientationRequested |
LANDSCAPE
该内容将被成像在介质的长边。
|
static OrientationRequested |
PORTRAIT
该内容将被成像在短边缘的介质。
|
static OrientationRequested |
REVERSE_LANDSCAPE
的内容将被成像在整个长边的介质,但在相反的方式从景观。
|
static OrientationRequested |
REVERSE_PORTRAIT
的内容将被成像在短边缘的介质,但在相反的方式从肖像。
|
Modifier | Constructor and Description |
---|---|
protected |
OrientationRequested(int value)
用给定的整数值构造一个新的方向请求的枚举值。
|
Modifier and Type | Method and Description |
---|---|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
protected EnumSyntax[] |
getEnumValueTable()
返回的枚举值表类orientationrequested。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
protected int |
getOffset()
返回整数价值最低的orientationrequested使用类。
|
protected String[] |
getStringTable()
返回字符串表类orientationrequested。
|
clone, getValue, hashCode, readResolve, toString
public static final OrientationRequested PORTRAIT
public static final OrientationRequested LANDSCAPE
public static final OrientationRequested REVERSE_LANDSCAPE
public static final OrientationRequested REVERSE_PORTRAIT
Finishings
属性的情况下,相对的边缘需要整理的简单整理,只有一个位置整理设备的纵向文档。因此,
"text/plain"
肖像文件可以装订的“正确的”通过一个简单的加工设备,是常用的一些中东语言如希伯来语。
protected OrientationRequested(int value)
value
整型值。
protected String[] getStringTable()
getStringTable
方法重写,继承类
EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
方法重写,继承类
EnumSyntax
protected int getOffset()
getOffset
方法重写,继承类
EnumSyntax
public final 类<? extends Attribute> getCategory()
orientationrequested类,类类orientationrequested本身。
getCategory
接口
Attribute
java.lang.Class
类实例。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.