このトピックは最新ではありません。 最新の情報については、「印刷スキーマ仕様」を参照してください。
出力の色設定の特性について説明します。
要素情報
| 名前 | 価値 |
|---|---|
| 要素の種類 |
特徴 |
| スコープ プレフィックス |
ページ |
| 筆記 |
何一つ |
構造コンテンツ
この要素の XML 構造は次のとおりです。
<psf:Feature name="psk:PageOutputColor">
<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:DeviceBitsPerPixel>
<psf:Value xsi:type="xs:integer">_DeviceBitsPerPixelValue_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name=psk:DriverBitsPerPixel>
<psf:Value xsi:type="xs:integer">_DriverBitsPerPixelValue_</psf:Value>
</psf:ScoredProperty>
</psf:Option>
</psf:Feature>
構造体変数
次の表は、XML 構造体で定義されている変数の特性の概要を示しています。
| 名前 | データ型 | 単位 | サポートされている値 | 概要 |
|---|---|---|---|---|
| _OptionName_ |
糸 |
文字 |
XML の名前空間で定義されている有効な完全修飾名。 名前空間が指定されていない場合、既定の名前空間が想定されます。 |
オプションの名前。 |
| _IdentityOptionValue_ |
糸 |
n/a |
True、False。 |
選択した場合にこの機能を無効にするオプションを定義します。 |
| _DeviceBitsPerPixelValue_ |
整数 |
ピクセルあたりのビット数 |
0 より大きく、デバイスのサポート値の最大値より小さい。 |
プリンターでサポートされているカラー データのピクセルあたりのビット数を示す数値。 |
| _DriverBitsPerPixelValue_ |
整数 |
ピクセルあたりのビット数 |
0 より大きく、デバイスのサポート値の最大値より小さい。 |
コア ドライバーがビットマップ レンダリング バッファーに使用する必要があるピクセルあたりのビット数を示す数値。 |
拡張マークアップ言語 (XML) コンテンツ
パブリック印刷スキーマ キーワードは、https://schemas.microsoft.com/windows/2003/08/printing/printschemakeywords 名前空間で定義されます。 このキーワードのパブリック拡張マークアップ言語 (XML) コンテンツを以下に定義します。
<psf:Feature name="psk:PageOutputColor">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<!-- Specifies the output should be in color. -->
<psf:Option name="psk:Color">
<psf:ScoredProperty name="psk:DeviceBitsPerPixel">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:DriverBitsPerPixel">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
</psf:Option>
<!-- Specifies the output should be in grayscale. -->
<psf:Option name="psk:Grayscale">
<psf:ScoredProperty name="psk:DeviceBitsPerPixel">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:DriverBitsPerPixel">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
</psf:Option>
<!-- Specifies the output should be in monochrome (Black). -->
<psf:Option name="psk:Monochrome">
<psf:ScoredProperty name="psk:DeviceBitsPerPixel">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:DriverBitsPerPixel">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
</psf:Option>
</psf:Feature>