FormSprint by ICS

   Home

This page lists examples of FormSprint PDF/TIFF conversion.   Each example can be downloaded and imported into FormSprint for use in form development.  A README file accompanies each download and includes instructions for importing the form into FormSprint. 

Convert to PDF or TIFF files

Collapse all | Expand all

Convert form page to TIFF file and place it in a directory in the IFS
Example shows how to use the DYNAMIC DISTRIBUTION function to convert the form to a TIFF file and place the file in a directory in the IFS. The account number is padded with zeros and loaded to a buffer with the extentsion ".tif:O". The buffer is then used as the file name in the DYNAMIC DISTRIBUTION function where the path is a directory in the IFS. In the example, the page is also printed.  download
Extract date and time for naming a PDF file
Example uses the EXTRACT function to load the spool file creation date to buffer 2. The SEARCH and REPLACE functions is used to read buffer 2, remove the forward slashes in the date and rewrite the date to buffer 2. The EXTRACT FUNCTION is used a second time to load the spool file creation time to the end of the creation date. Again the SEARCH and REPLACE function is used to remove colons in the time. .PDF:O, which tells FormSprint to convert the output to a PDF file, is added to the end of the contents of buffer 2 and buffer 2 is used as the file names in the DISTRIBUTED PRINT function. Note that the DISTRIBUTED PRINT function places the PDF file in a directory in the IFS called EPA.  download
Creating PDF/TIFF file dynamiclly and loading it to an IFS directory dynamically
Example uses input from the spool file to 1) select part of a file name from a substitution table and load it in buffer 3; 2) concatenate a number from the spool file with the first part of the file name to complete the unique file name and 3) add .PDF:O to the end of the file name to tell FormSprint to create a PDF file and overwrite any file with the same name. The path name is loaded in buffer 4 using parameter 3 from the same substitution table. Buffer 3 is used as the file name and buffer 4 is used for the path name in the Dynamic Distribution function to create the PDF file and place it in the appropriate directory in the IFS.  download
Creating a unique name when creating a TIFF file
Example shows how to create a TIFF file with a unique name. The PDF/TIF module is an optional module. Reference 1 picks up the customer number from the spool file and loads it to a buffer with the letter C in front and "TIF:O" in back. The DYNAMIC DISTRIBUTION function is then used to both generate the TIFF file and place it in a folder and print the page. Note that the O in "TIF:O" will cause FormSprint to overwrite an existing file with the same name.  download

Home | Overview | General Applications | Laser Checks | Other Applications | User Comments | User Tips
Complementary Products | Whats New | Site Map | Examples | FAQ

  Copyright © 2009 Integrated Custom Software, Inc.