Map spooled files in the designer
Spooled file extract functions
This section lists and describes the functions available to extract information from the spooled file. Normally you do not need to think much about this as the functions are normally added when you select an area in the input spooled file, so you do ...
Insert dynamic images found in spooled file
This section address scenarios where you have an input spooled file in InterFormNG2, which includes spooled file lines, that refers to dynamic images e.g. found via a link. This can e.g. be in spooled files generated for processing in InterForm400 ...
Spooled files and duplex
If you want to combine spooled file processing with duplex, then you first need to consider which duplex option, that you want to implement. In the scenarios below it is assumed, that you want to process the input spooled file in the usual way: That ...
Spooled file multi-Up
It is possible in InterFormNG2 to convert multiple input spooled file pages into a single output page. This is often referred to as either Multi-Up or pages per side. A classic example of multi-up is this kind of output, where we have chosen to put 4 ...
Switch between different page layouts within a spooled file
Within a spooled file you may have so different formats of the pages, so that you would prefer to switch between different templates or just different layouts/designs through a spooled file. (This is the function labeled as overlay selector in ...
Handling multi-line conditioned sections
This section address the situations, where you have conditioned blocks of multiple lines in the input spooled file, that you want to map as blocks. A prerequisite is, that you have loaded a spooled file in the Library and then loaded the sample ...
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 ...
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: ...
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: ...
Change page breaks of a spooled file
When you merge an input spooled file with a template in InterFormNG2 e.g. for PDF or print output, then you normally want the same page breaks in the output as in the original input spooled file. You are however not necessarily limited by that and ...
Use spooled file attributes in the designer
You can use a lot of spooled file attributes, when you create a template in the designer. You can e.g. use spooled file attributes in the designer in multiple way: Inside conditions or e.g. simply include them in a text element. You can refer to ...
How to iterate across detail lines in spooled file
In this section I will show you how you can make InterFormNG2 iterate across detail lines in an input spooled file, and how to setup conditions on each detail line. This can be done in two different ways depending on which spooled file format, that ...
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 ...
Map spooled file data from current page
This section covers the normal way of mapping spooled file data. This section explains e.g. what to do, if you want InterFormNG2 to iterate across all pages in the input spooled file and generate the same number of output pages. You can map the ...
Change spooled file mappings
After you have mapped spooled file contents in either the designer or the workflow, then you might later want to change the mapping and e.g. select some other positions in the spooled file. This section describes a tip of how you can see the ...
Suggestions for fixed fonts
When you map the contents of a spooled file, then you should consider, if you are going to use a proportional font or a fixed font. Most fonts are proportional i.e. that all the characters does not have the same width so e.g. the letter 'i' is much ...
Map spooled file data from a specific page
You can map the spooled file contents, after you have loaded a sample spooled file in the designer. If you want to iterate across all pages in the spooled file to have an output, that is as many pages as the input spooled file, then you should refer ...
View spooled file contents
This section shows how to view the spooled file contents in the designer. You can view the loaded spooled file, if you click this icon on the top left of the designer: Now you can see the contents of the spooled file on the right: On the page 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 ...
Popular Articles
REST webservice basic example
Below a simple setup is done to illustrate how the REST webservice basic can be setup. The example below can be run without any programming at all. First a simple template to prove, that the workflow has worked and returned a PDF: The template is ...
XPath
In InterFormNG2, you use the language XPath for referencing data from the XML file. There are many sources of information if you want to learn more about XPath, but you can also simply read the few examples below to get a good idea of how it can be ...
Release log
This is the list of the InterFormNG2 releases and the major new features in each release: Version 4.0.0 Important: InterFormNG2 now runs on Java 17. So you need to install Java 17 on Linux and the IBM i platform, if you want to InterFormNG2 on either ...
Aligment options for fixed positioned elements
There are several ways to align fixed positioned elements in the designer: (This lists alignment options for fixed positioned elements only. All alignment options are covered here.) 1.You can enable a grid, resize the lines of the grid and the fixed ...
Text element
If you want to insert any kind of text in InterFormNG2, then you should use the text element. You can insert a new text element if you click on this icon: The data, that you can output as text are these types: 1.A text constant. 2.Drag nodes from an ...