Reproduce input spooled file as output

Reproduce input spooled file as output

Reproduce input spooled file as output

If you simply want to reproduce the input spooled files in the merged output, then you need to setup your template as described in the section map spooled file data from current page.

 

With that you can have a template looking like this in the legacy version 1.0 spooled file format:

 

NG2MapSplfs0012

 

The same looks like this in version 2.0, which is recommended:

 

NG2MapSplfs0016

 

In the example above we map the data found in position 1 to 132 of the lines 1 to 80.

 

If you want to keep the columns of the input spooled file, then you can choose to map the data with a fixed font, which means that all the characters have the same width - contrary to a proportional font (e.g. Arial), where e.g. the letters M and W is much wider than the letter I.

 

In this example I have chosen to install and use the font, Courier New font:

 

NG2MapSplfs0017

(Image shown is for version 2.0 of the spooled file format)

 

Which ensures, that the columns of the detail lines are kept in the final, merged output:

 

NG2MapSplfs0014

Another fixed font is Lucida Console, but that is unfortunately only widely available as a normal font - not in a bold version.

    • Related Articles

    • PDF input and output

      If you want to create PDF output in InterFormNG2, then you need to setup a workflow in InterFormNG2 to do that. If you want to use the PDF inside of an email, then you should consider to check out the email output options first, as the normal create ...
    • Spooled file support

      InterFormNG2 is able to process spooled files, if you install InterFormNG2 on the IBM i platform. Please notice, that spooled file support, as well as Spool2XML, are modules for InterFormNG2, that are purchased separately. You can also use the ...
    • Use the page range of an input spooled file

      This section covers solutions of how you can use the page range of an input spooled file in order to only process a sub section of a spooled file specified on the PAGERANGE parameter as a from and to page number. These scenarios are covered below: 1) ...
    • File output

      InterFormNG2 can distribute all the output formats in many different ways. You can combine all input and output formats with all the distribution options. The list below shows all the ways you can distribute the output from InterFormNG2: 1.If you ...
    • Output the spooled file pages in reverse order

      It is possible to output the pages of a spooled file in reverse order. This section describes how you can setup a template in InterFormNG2 to achieve that. That is possible, if you setup a template like below: Each of the steps are explained below: ...