Copy management for spooled files

Copy management for spooled files

This section covers the scenarios, where you want to output multiple copies of each output page in the sequence where page 1 is output multiple times, followed by page 2 multiple times etc.

 

For this example we have this simple template, which output the spooled file data of all the pages:

(This outputs position 1 to 76 in line 1 to 32)


    

In this case we want two copies of each page like described above. The first copy is to contain the text 'Original' and the second copy is to contain the text 'Copy'.

 

This can be implemented like below:


 

In the example above the number of copies is set as a fixed value in the template, but this value can of course also be set by retrieving a value from the input file or even dynamically retrieving a value from the current page to make it variable from page to page.

 

The number of copies can also be set via a workflow variable and in that way the workflow can also dynamically decide how many copies the template should generate.

    • Related Articles

    • Merge multiple spooled files

      This article describes one way to merge multiple spooled files together - similar to the function: Output Schedule Control (OSC) in InterForm400. The principle of Output Schedule Control is to wait for many spooled files of various types to arrive on ...
    • Spooled files in the workflow

      This section covers all topics concerning automatic processing of spooled files in the InterFormNG2 workflow: How to monitor an output queue. Load a sample spooled file in the workflow editor Convert a variable CPI spooled file How to condition the ...
    • Remove original underline handling in spooled files

      Input spooled files in InterFormNG2 are always converted into a simple text representation, where one line represents a input spooled file line. This also includes multiple spooled file lines found in the spooled file, that are using overlapping ...
    • Process spooled files with variable CPI attribute

      Normal spooled files can be loaded and processed directly in InterFormNG2, but there is one deviation from this and this concerns spooled files where the attribute, Variable CPI is Y. You can identify such spooled files if you select option ...
    • Map spooled files in the designer

      You can map spooled file data in the designer, after you have loaded a spooled file. Mapping is done with the either ng:spoolMap or the ng:spoolMapRel built-in functions. This section covers this: How to view the spooled file contents Spooled file ...