PANTHEON™ Help

 Toc
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]Guides for PANTHEON
  [Collapse]Guide for PANTHEON
   [Collapse]Settings
    [Expand]Subjects
    [Expand]Items
    [Expand]POS
    [Expand]Manufacturing
    [Expand]Personnel
     Calendar
    [Expand]Financials
    [Expand]Customs
    [Expand]Program
    [Collapse]Documentation
     [Expand]Documents
     [Expand]Mailroom
     [Expand]Send SMS or Email
     [Expand]Classification Scheme
     [Expand]Exchange Settings
     [Collapse]Workflow Design
      [Expand]About workflows
      [Expand]Workflow (system) toolbar
       Settings - WF
      [Collapse]Design
        Task edit - general
       [Collapse]Design - Workflow Elements
         Workflow blocks (default)
        [Expand]PANTHEON Forms blocks
        [Collapse]Input/Output blocks
          Open URL
         [Expand]Scan
          Print Files
          MS Office template
          DB to XML
          XML to DB
          XML from/to variables
          REST request
          REST Mailbox
          Send mail
          Send SMS
          Translation
          OAuth authorization
          Print Report
          Check Conditions
        [Expand]Goods/Orders blocks
        [Expand]DMS blocks
       [Expand]Block settings
       [Expand]Design Toolbar
        How To - Resolving Workflow Diagram Loading Error
      [Expand]Workflow - Old topics
     [Expand]To-Do
     [Expand]PANTHEON DMS Add-in
    [Expand]Change User
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]POS
   [Expand]Service
   [Expand]Financials
   [Expand]Personnel
   [Expand]Analytics
   [Expand]Desktop
   [Expand]Help
   [Expand]Messages and Warnings
   [Expand]Additional programs
   [Expand]Old products
  [Expand]Guide for PANTHEON Retail
  [Expand]Guide for PANTHEON Vet
  [Expand]Guide for PANTHEON Farming
 [Collapse]User Manuals for PANTHEON
  [Expand]User Manual for PANTHEON
  [Expand]User Manual for PANTHEON Retail
  [Expand]User manual for PANTHEON Vet
  [Expand]User Manual for PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]Guides for PANTHEON Web
  [Expand]Guide for PANTHEON Web Light
  [Expand]Guide for PANTHEON Web Terminal
  [Expand]Guide for PANTHEON Web Legal
  [Expand]Old products Archive
 [Collapse]User Manuals for PANTHEON Web
  [Expand]Getting started PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
  [Expand]User Manual for PANTHEON Web Terminal
  [Expand]User Manual for PANTHEON Web Legal
  [Expand]Old products Archive
[Collapse]PANTHEON Granules
 [Collapse]Guides for PANTHEON Granules
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]Dashboard Granule
  [Expand]B2B Orders Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
 [Collapse]User Manuals for PANTHEON Granules
  [Expand]Getting started
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]B2B Orders Granule
  [Expand]Dashboard Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
  [Expand]Archive
[Expand]User Site

Load Time: 772.0791 ms
"
  1000000590 | 220389 | 361515 | Updated
Label

Print files

The Print files block allows you to print specific files from a defined folder.

The block can be accessed from the menu Settings | Documentation | Workflow Design by clicking the panel Design | Input/Output.

WARNING

To use the Print files block, you are required to have pre-installed an application for running an overview of document types. For example, to print PDF files, it is necessary to have Adobe Reader installed.

You can use one of the two options to specify the files for printing (you can also use both options at the same time):

– Using the FileName variable. You can specify one or more file names (with full path) for printing. If more than one file is to be printed, the files must be separated by semicolons. You can use wildcards ('*', '?') to specify multiple files (or folders) at the same time.

– Using the WorkFolder and PrintFilenamesMask variables. In the WorkFolder variable, you can specify one or more folders (if more than one folders is used, the folders must be separated by semicolons) from which the files are to be printed. You can use wildcards in folder names. In PrintFilenamesMask you can specify a mask for the files you want to print. You can also use wildcards here.

For example:

– FileName := 'c:\files\readme.txt;c:\files\*pdf;c:\files\*.doc*;c:\files\tmp*\*.pdf' – Prints the 'readme.txt' file from the 'c:\files' folder, prints the PDF, DOC and DOCX files from the 'c:\files' folder, prints the PDF files from all subfolders of the 'c:\files' folder, if the subfolder name starts with 'tmp'.

– WorkFolder := 'c:\files;c:\files\tmp*\' and PrintFilenamesMask := '*.pdf' – Prints all PDF files from the 'c:\files' folder and its subfolders if the subfolder name starts with 'tmp'.

Double-clicking the block reads data from the WorkFolder and/or PrintFilenamesMask variables.

The variables can be accessed by clicking the (Variables) icon in the Design toolbar.

Select Mailbox and settings for Operations from mailbox are transfered from the selected mailbox. Select Resource Printer.

Print files one by one - When enabled, next file will be sent to printer after printing of prior file is finished. When parameter is disabled, files are sent to printer without wait while printing of prior files are finished. This parameter can be usefull when printing files to pdf. When disabled all files are printed 'at once' and several save dialogs are opened at the sametime. When this parameter is enabled, files are printed one by one and user can see what file is printing at the moment.

If Resource filed is left empty, program will ask and offer Printers that are set in Data field. If also Mailbox is left empty, program will execute printing on default Printer set in Windows settings.

 

HINT

For more information on how to use the Print files block, see the User manual for eWorkflows.

 

 


 

Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!