PDF PRINT: Difference between revisions

From Commander4j
No edit summary
 
Line 3: Line 3:
'''config.xml'''
'''config.xml'''
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
    <map id="Map06" enabled="Y" description="GEN PDF Document to printer queue.">
      <map>
        <input id="in1" description="Read PDF Document">
        <id>Map06</id>
            <type>PDF_PRINT</type>
        <enabled>true</enabled>
            <path>./interface/input/428 (GEN Print PDF)</path>
        <description>Print PDF Document</description>
            <mask/>
        <enableEmailNotifications>true</enableEmailNotifications>
            <pollingInterval>1000</pollingInterval>
        <connectors>
            <XSLT/>
            <input>
        </input>
              <id>in1</id>
        <output id="out1" enabled="Y" description="Print PDF Document to HP8600">
              <description>Read PDF Document</description>
            <path>./interface/output/428 (GEN Print PDF)</path>
              <type>PDF_PRINT</type>
            <type>PDF_PRINT</type>
              <url>
            <queueName></queueName>
                  <path>./interface/input/Map06 PDF to PRINT</path>
             <XSLT/>
                  <mask/>
        </output>
                  <prefix/>
    </map>
                  <pollingInterval>1000</pollingInterval>
              </url>
            </input>
            <output>
              <id>out1</id>
              <enabled>true</enabled>
              <description>Print PDF Document to HP8600</description>
              <type>PDF_PRINT</type>
              <url>
                  <path>./interface/output/Map06 PDF to PRINT</path>
                  <prefix/>
                  <fileExtension/>
                  <use83GUID>false</use83GUID>
              </url>
             </output>
        </connectors>
      </map>
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 14:34, 30 December 2024

PDF_PRINT Map Configuration

config.xml

      <map>
         <id>Map06</id>
         <enabled>true</enabled>
         <description>Print PDF Document</description>
         <enableEmailNotifications>true</enableEmailNotifications>
         <connectors>
            <input>
               <id>in1</id>
               <description>Read PDF Document</description>
               <type>PDF_PRINT</type>
               <url>
                  <path>./interface/input/Map06 PDF to PRINT</path>
                  <mask/>
                  <prefix/>
                  <pollingInterval>1000</pollingInterval>
               </url>
            </input>
            <output>
               <id>out1</id>
               <enabled>true</enabled>
               <description>Print PDF Document to HP8600</description>
               <type>PDF_PRINT</type>
               <url>
                  <path>./interface/output/Map06 PDF to PRINT</path>
                  <prefix/>
                  <fileExtension/>
                  <use83GUID>false</use83GUID>
               </url>
            </output>
         </connectors>
      </map>

This Connector is designed to automatically print PDF files whenever they are found in the nominated directory. You will notice that you can specify the name of a print queue in the element

 <queueName>HP8600</queueName>