PDF PRINT: Difference between revisions

From Commander4j
Created page with "=PDF_PRINT Map Configuration= '''config.xml''' <map id="Map06" enabled="Y" description="GEN PDF Document to printer queue."> <input id="in1" description="Read PDF Document"> <type>PDF_PRINT</type> <path>./interface/input/428 (GEN Print PDF)</path> <mask/> <pollingInterval>1000</pollingInterval> <XSLT/> </input> <output id="out1" enabled="Y" description="Print PDF Document to HP8600">..."
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category: Middleware4j]]
=PDF_PRINT Map Configuration=
=PDF_PRINT Map Configuration=
'''config.xml'''
'''config.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>


This Connector is designed to automatically print PDF files whenever they are found in the nominated directory.
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  
You will notice that you can specify the name of a print queue in the element  


<syntaxhighlight lang="xml">
  <queueName>HP8600</queueName>
  <queueName>HP8600</queueName>
</syntaxhighlight>

Latest revision as of 15: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>