FormSprint by ICS

   Home

This page lists examples of FormSprint Spool Mapper conditional printing.  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. 

Collapse all | Expand all

Print NONE if amount due blank
Shows how detail lines can be loaded to buffers and marked so they don't print or print differently from the other detail lines. The example also prints the word NONE when there is no amount due.  download
Using PRINT IF to change fonts
Example shows how variable data can be loaded to a buffer, then read from the buffer and marked if a specified character string is present in the line. The characters can appear anywhere in the line or only in a specific character position, depending on the columns indicated in the PRINT IF function. If the lines pass the PRINT IF function test, the line is marked by placing a character, in this example an *, at the front of the line in the buffer. The buffer is then printed twice: once using a PRINT IF function to print only the lines with an * in character position 1, using a font other than the default font; and once using a PRINT NOT function to print the line only if there is no * in character position 1.  download
Print a social security number or not based on state
Reference 1 looks at a specific line and column position for a specific number that identifies a particular state using the PRINT IF function. If found, an asterisk is placed in buffer 3. The social security number is placed in the buffer behind the asterisk. Reference 3 prints the social security number only if there is an asterisk in position 1 of buffer 3.  download
Print a signature if amount is greater than specified amount
The amount of the check is first loaded to a buffer and formatted using the MATH function. The MATH function merely multiplies the amount by one but this allows the amount to be formatted with two zeros after the decimal. A comparison amount is loaded to buffer 3. Finally the PRINTIF function is used to compare buffer 3 with the amount of the check and print a macro containing a signature if the check amount is greater.  download
Print final page of two-part form only when it is the final or total page
Example shows how to control the printing of a two-page form so that the second page only prints when the page contains the word "TOTAL" in a specific column position. This means any number of continuation pages will print before the final page containing the total will print rather than each spool file page printing on both page one and page two.  download
Print a macro or graphic based on the spool file page number
Example prints a macro on page 1 by looking for a 1 (page number) in a specific character position on a specific line. If the page number is 1, then the macro is loaded to buffer 2. Later, buffer 2 is printed. If the page number isn't 1, then the buffer stays empty. Note that the PRINT IF function actually looks for a blank 1 to handle two digit page numbers.  download
Add labels to payroll check stub to make it more readable
Example shows how various types of data in a payroll check can be labeled to make a check stub easier to read when the data doesn't always print in the same place. A macro that is the appropriate label is loaded in a buffer line corresponding with the line the data appears in and gets printed with that line.  download
Selectively change fonts and placement
Example uses the PRINT IF function to capture a line containing the word "OVERDUE" among a group of lines and load it to a specific buffer. The line or just the word "OVERDUE" can be printed anywhere on the page and in any font. Example also shows how to use the SEARCH AND REPLACE function to change one character to another.  download
Switching between English and Spanish
Example prints a Spanish or an English version of the form based on spool file input. The form assumes either "SPN" or "ENG" in line 2, columns 14 through 16. Using the PRINT IF function either macro 1 or macro 2 is loaded in buffer 2 depending on whether "SPN" or "ENG" is in the spool file. Each macro could be part of a form page or the entire page, in either Enlish or Spanish.  download
Changing terms of payment based on variable data
Example tests a character string in line 4, character positions 90-92. If it is "000" then the text "Due Upon Receipt" is loaded to buffer 4. If it is not "000", then the value in position 91-92 is loaded to the buffer with "Terms: Net" in front and "Days" in back. This might result in something like "Terms: Net 30 Days" printing on the form when the buffer is printed.  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.