本主題不是最新的。 如需最新的資訊,請參閱 列印架構規格。
描述輸出的雙工特性。 雙工功能允許在媒體的兩側列印。 每個檔會分開雙工。 DocumentDuplex 和 JobDuplexAllDocumentsContiguously 互斥。 由驅動程式決定這些關鍵詞之間的條件約束處理。
元素資訊
| 名字 | 價值 |
|---|---|
| 項目類型 |
特徵 |
| 範圍前置詞 |
公文 |
| 筆記 |
沒有 |
結構內容
這個項目的 XML 結構如下所示:
<psf:Feature name="psk:DocumentDuplex">
<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:ScoredProperty name="psk:DuplexMode">
<psf:Value xsi:type="xs:string">_DuplexModeValue_</psf:Value>
</psf:ScoredProperty>
</psf:Option>
</psf:Feature>
結構變數
下表概述 XML 結構中定義的變數特性。
| 名字 | 數據類型 | 單位 | 支援的值 | 總結 |
|---|---|---|---|---|
| _OptionName_ |
字串 |
字元 |
XML 中命名空間所定義的有效完整名稱。 如果未指定任何命名空間,則會假設預設命名空間。 |
選項的名稱。 |
| _IdentityOptionValue_ |
字串 |
n/a |
True、False。 |
定義選項,當選取此選項會停用此功能時。 |
| _DuplexModeValue_ |
字串 |
n/a |
自動、手動。 |
定義雙工模式。 自動雙工是由硬體執行。 手動雙工是由軟體和用戶執行。 |
可延伸標記語言 (XML) 內容
公用列印架構關鍵詞定義於 https://schemas.microsoft.com/windows/2003/08/printing/printschemakeywords 命名空間中。 此關鍵詞的公用 Extensible Markup Language (XML) 內容定義如下:
<psf:Feature name="psk:DocumentDuplex">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<!-- Specifies one sided printing. -->
<psf:Option name="psk:OneSided" />
<!-- Specifies two sided printing such that the page is flipped parallel to the MediaSizeWidth direction. -->
<psf:Option name="psk:TwoSidedShortEdge">
<psf:ScoredProperty name="psk:DuplexMode">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
</psf:Option>
<!-- Specifies two sided printing such that the page is flipped parallel to the MediaSizeHeight direction. -->
<psf:Option name="psk:TwoSidedLongEdge">
<psf:ScoredProperty name="psk:DuplexMode">
<psf:Value xsi:type="xs:string">_Undefined_</psf:Value>
</psf:ScoredProperty>
</psf:Option>
</psf:Feature>