本主题不是最新的。 有关最新信息,请参阅 打印架构规范。
描述设备中已安装的输入箱或设备支持箱的完整列表。 允许按页面规范输入箱。 JobInputBin、DocumentInputBin 和 PageInputBin 关键字互斥。 两者不应同时在 PrintTicket 或 Print Capabilities 文档中指定。
元素信息
| 名字 | 价值 |
|---|---|
| 元素类型 |
特征 |
| 范围前缀 |
页 |
| 笔记 |
没有 |
结构内容
此元素的 XML 结构为:
<psf:Feature name="psk:PageInputBin">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<psf:Option name="psk:_OptionName_">
<psf:Property name="psf:IdentityOption">
<psf:Value xsi:type="xs:string">_IdentityOptionValue_</psf:Value>
</psf:Property>
<psf:Property name="psf:_EnvelopeOptionValue_">
<psf:Value xsi:type="xs:string">_EnvelopeOptionValue_</psf:Value>
</psf:Property>
<psf:ScoredProperty name="psk:BinType">
<psf:Value xsi:type="xs:string">_BinTypeValue_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:FeedType">
<psf:Value xsi:type="xs:string">_FeedTypeValue_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaCapacity">
<psf:Value xsi:type="xs:string">_MediaCapacityValue_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSizeAutoSense">
<psf:Value xsi:type="xs:string">_MediaSizeAutoSenseValue_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaTypeAutoSense">
<psf:Value xsi:type="xs:string">_MediaTypeAutoSenseValue_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSheetCapacity">
<psf:Value xsi:type="xs:integer">_MediaSheetCapacityValue_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaPath">
<psf:Value xsi:type="xs:string">_MediaPathValue_</psf:Value>
</psf:ScoredProperty>
<psf:Property name="psk:FeedFace">
<psf:Value xsi:type="xs:string">_FeedFaceValue_</psf:Value>
</psf:Property>
<psf:Property name="psk:FeedDirection">
<psf:Value xsi:type="xs:string">_FeedDirectionValue_</psf:Value>
</psf:Property>
</psf:Option>
</psf:Feature>
结构变量
下表概述了 XML 结构中定义的变量的特征。
| 名字 | 数据类型 | 单位 | 支持的值 | 总结 |
|---|---|---|---|---|
| _OptionName_ |
字符串 |
字符 |
XML 中由命名空间定义的有效完全限定名称。 如果未指定命名空间,则假定默认命名空间。 |
选项的名称。 |
| _IdentityOptionValue_ |
字符串 |
n/a |
True、False。 |
定义一个选项,当所选选项将禁用此功能时。 |
| _EnvelopeOptionValue_ |
字符串 |
n/a |
True、False。 |
定义一个选项,当所选选项将禁用此功能时。 |
| _BinTypeValue_ |
字符串 |
n/a |
ContinuousFeed、SheetFeed。 |
指定箱的类型。 |
| _FeedTypeValue_ |
字符串 |
n/a |
自动、手动。 |
指定箱的源机制。 |
| _MediaCapacityValue_ |
字符串 |
n/a |
高、标准。 |
指定箱是否为大容量箱(定性)。 |
| _MediaSizeAutoSenseValue_ |
字符串 |
n/a |
支持,无。 |
指定设备的媒体大小自动感知功能。 |
| _MediaTypeAutoSenseValue_ |
字符串 |
n/a |
支持,无。 |
指定设备的媒体类型自动感知功能。 |
| _MediaSheetCapacityValue_ |
整数 |
床单 |
设备允许的最大整数约束。 |
以箱的页数(全级别)指定媒体容量。 |
| _MediaPathValue_ |
字符串 |
n/a |
直,蛇形。 |
指定媒体路径的特征。 |
| _FeedFaceValue_ |
字符串 |
n/a |
FaceUp、FaceDown |
指定介质是向上打印还是正面向下打印。 |
| _FeedDirectionValue_ |
字符串 |
n/a |
LongEdgeFirst、ShortEdgeFirst |
指定媒体是先馈送长边缘还是先馈送短边缘。 |
可扩展标记语言 (XML) 内容
公共打印架构关键字在 https://schemas.microsoft.com/windows/2003/08/printing/printschemakeywords 命名空间中定义。 此关键字的公共可扩展标记语言 (XML) 内容定义如下:
<psf:Feature name="psk:PageInputBin">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<!-- Device will automatically choose best option based on configuration -->
<psf:Option name="psk:AutoSelect">
<psf:ScoredProperty name="psk:BinType">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:FeedType">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaCapacity">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSizeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaTypeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSheetCapacity">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaPath">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:Property name="psk:FeedFace">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
<psf:Property name="psk:FeedDirection">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
</psf:Option>
<!--Specifies the default manual feed bin -->
<psf:Option name="psk:Manual">
<psf:ScoredProperty name="psk:BinType">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:FeedType">
<psf:Value xsi:type="xs:string">Manual</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaCapacity">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSizeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaTypeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSheetCapacity">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaPath">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:Property name="psk:FeedFace">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
<psf:Property name="psk:FeedDirection">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
</psf:Option>
<!--Specifies the feed bin is a cassette-->
<psf:Option name="psk:Cassette">
<psf:ScoredProperty name="psk:BinType">
<psf:Value xsi:type="xs:string">SheetFeed</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:FeedType">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaCapacity">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSizeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaTypeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSheetCapacity">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaPath">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:Property name="psk:FeedFace">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
<psf:Property name="psk:FeedDirection">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
</psf:Option>
<!--Specifies the feed bin is a tractor-->
<psf:Option name="psk:Tractor">
<psf:ScoredProperty name="psk:BinType">
<psf:Value xsi:type="xs:string">ContinuousFeed</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:FeedType">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaCapacity">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSizeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaTypeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSheetCapacity">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaPath">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:Property name="psk:FeedFace">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
<psf:Property name="psk:FeedDirection">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
</psf:Option>
<!-- Device Input tray for Inkjet Printers -->
<psf:Option name="psk:AutoSheetFeeder">
<psf:ScoredProperty name="psk:BinType">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:FeedType">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaCapacity">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSizeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaTypeAutoSense">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSheetCapacity">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaPath">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:Property name="psk:FeedFace">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
<psf:Property name="psk:FeedDirection">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:Property>
</psf:Option>
</psf:Feature>