XMLプリンターリストの構成
Workspace Environment Management には、XML プリンタリストファイルを使用してユーザープリンタを構成する機能が含まれています。
XML プリンタリストファイルを作成したら、アクション[ タイプ] オプションを [デバイスマッピング プリンタファイルを **使用] に設定して、管理コンソールでプリンタ **アクションを作成します。
注:
特定の Windows 資格情報を必要としないプリンターのみがサポートされます。
XMLプリンターリストファイル構造
XMLファイルはUTF-8でエンコードされ、以下の基本的なXML構造を持つ。
<?xml version= "1.0" エンコード=" UTF-8"?> <ArrayOfSerializableKeyValuePairofStringListOfVuemUserAssignedPrinter xmlns: xsd=」http://www.w3.org/2001/XMLSchema "xmlns: xsi=」http://www.w3.org/2001/XMLSchema-instance ">...</ArrayOfSerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter><!--NeedCopy-->
すべてのクライアントおよび関連するデバイスは、次のタイプのオブジェクトによって表されます。
シリアル化可能キー値ペア<文字列、リスト <VUEMUserAssignedPrinter> >> 各デバイスは次のように表されます。
\<SerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter> \<Key>DEVICE1 </Key> \<Value> \<VUEMUserAssignedPrinter>...</VUEMUserAssignedPrinter> </Value> </SerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter><!--NeedCopy-->
デバイスの各ブロックは、特定のクライアント名またはコンピュータ名と一致する必要があります。\ <Key> タグには、関連する名前が含まれています。\ <Value> タグには、指定されたクライアントに割り当てられた プリンタと一致する VUEMUserAssignedPrinter オブジェクトのリストが含まれます。
<?xml version= "1.0" エンコード=" utf-8"?> <ArrayOfSerializableKeyValuePairofStringListOfVuemUserAssignedPrinter xmlns: xsi=」http://www.w3.org/2001/XMLSchema-instance "xmlns: xsd=」http://www.w3.org/2001/XMLSchema "> <SerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter> <Key> DEVICE1 </Key> <Value> <VueMUser割り当て済みプリンタ>...</VUEMUserAssignedPrinter> </Value> </SerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter> </ArrayOfSerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter><!--NeedCopy-->
VUEMUserAssignedPrinter タグの構文
構成済みの各プリンタは、
**\ 
**\ 
**\ 
**\ 
**\ 
**\ 
**\ 
**\ 
**\ 
**\ 
**\ 
**\ 
**\ 
**\ 
<Reserved01>.これには、詳細設定が含まれています。いかなる方法でも 変更しないでください。
> \<VUEMActionAdvancedOption> \<Name> 自己修復可能</Name> \<Value> 0 </Value> </VUEMActionAdvancedOption<!--NeedCopy-->
特定のプリンタオブジェクトの自己修復を有効にするには、上記の内容をコピーして貼り付けて、ハイライト 0 の値を 1 に変更します。
プリンタオブジェクトの例
次の例では、クライアントまたはコンピュータの DEVICE1 に 2 つのアクティブなプリンタを割り当てます。
- HP レーザージェット 2200 シリーズ UNC パス \ server.example.net\ HP レーザージェット 2200 シリーズ (通常使うプリンタ)
- UNCパス上のキヤノンC5531iシリーズ プリンタ**\ server.example.net\ キヤノンC5531iシリーズ**
また、クライアントまたはコンピュータの DEVICE2 にアクティブなプリンタを 1 つ割り当てます。
- HP レーザージェット 2200 シリーズ UNC パス \ server.example.net\ HP レーザージェット 2200 シリーズ
    <?xml version="1.0" encoding="utf-8"?>
      <ArrayOfSerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <SerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter>
            <Key>DEVICE1</Key>
            <Value>
                <VUEMUserAssignedPrinter>
                    <IdPrinter>1</IdPrinter>
                    <IdSite>1</IdSite>
                    <State>1</State>
                    <ActionType>0</ActionType>
                    <UseExtCredentials>0</UseExtCredentials>
                    <isDefault>1</isDefault>
                    <IdFilterRule>1</IdFilterRule>
                    <RevisionId>1</RevisionId>
                    <Name>HP LaserJet 2200 Series</Name>
                    <Description />
                    <DisplayName />
                    <TargetPath>\\server.example.net\HP LaserJet 2200 Series</TargetPath>
                    <ExtLogin />
                    <ExtPassword />
                    <Reserved01><?xml version="1.0" encoding="utf-8"?><ArrayOfVUEMActionAdvancedOption xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><VUEMActionAdvancedOption><Name>SelfHealingEnabled</Name><Value>0</Value></VUEMActionAdvancedOption></ArrayOfVUEMActionAdvancedOption></Reserved01>
                </VUEMUserAssignedPrinter>
            </Value>
          <Value>
                <VUEMUserAssignedPrinter>
                    <IdPrinter>2</IdPrinter>
                    <IdSite>1</IdSite>
                    <State>1</State>
                    <ActionType>0</ActionType>
                    <UseExtCredentials>0</UseExtCredentials>
                    <isDefault>0</isDefault>
                    <IdFilterRule>1</IdFilterRule>
                    <RevisionId>1</RevisionId>
                    <Name>Canon C5531i Series</Name>
                    <Description />
                    <DisplayName />
                    <TargetPath>\\server.example.net\Canon C5531i Series</TargetPath>
                    <ExtLogin />
                    <ExtPassword />
                    <Reserved01><?xml version="1.0" encoding="utf-8"?><ArrayOfVUEMActionAdvancedOption xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><VUEMActionAdvancedOption><Name>SelfHealingEnabled</Name><Value>0</Value></VUEMActionAdvancedOption></ArrayOfVUEMActionAdvancedOption></Reserved01>
                </VUEMUserAssignedPrinter>
            </Value></SerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter>
          <SerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter>
            <Key>DEVICE2</Key>
            <Value>
                <VUEMUserAssignedPrinter>
                    <IdPrinter>1</IdPrinter>
                    <IdSite>1</IdSite>
                    <State>1</State>
                    <ActionType>0</ActionType>
                    <UseExtCredentials>0</UseExtCredentials>
                    <isDefault>0</isDefault>
                    <IdFilterRule>1</IdFilterRule>
                    <RevisionId>1</RevisionId>
                    <Name>HP LaserJet 2200 Series</Name>
                    <Description />
                    <DisplayName />
                    <TargetPath>\\server.example.net\HP LaserJet 2200 Series</TargetPath>
                    <ExtLogin />
                    <ExtPassword />
                    <Reserved01><?xml version="1.0" encoding="utf-8"?><ArrayOfVUEMActionAdvancedOption xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><VUEMActionAdvancedOption><Name>SelfHealingEnabled</Name><Value>0</Value></VUEMActionAdvancedOption></ArrayOfVUEMActionAdvancedOption></Reserved01>
                </VUEMUserAssignedPrinter>
            </Value></SerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter>
       </ArrayOfSerializableKeyValuePairOfStringListOfVUEMUserAssignedPrinter>
<!--NeedCopy-->