2021.2

Table Of Contents
only available when printing directly from Designer.
${template}
${template} is a shorthand for ${template.base}_
${template.nr,0000}.${template.ext}.
It expands to a name based on the template name. A four digit
sequence number is added at the end of the base name. The file
extension is determined by the selected output format.
The 0000 in ${template.nr,0000} is a format pattern that takes
care of formatting the number with at least four digits and leading
zero's. See "Formatting date and number values " on page1495,
below.
Example
If the template file is C:\Data\My-Invoices-EN.OL-template which
gets printed to PDF, then ${template} expands to My-Invoices-
EN_0001.pdf.
${template.base}
Returns the base name of the template, which is the name of the
template file without its path and without the trailing file extension.
Example
If the template file is C:\Data\My-Invoices-EN.OL-template, then
${template.base} expands to My-Invoices-EN .
${template.name}
Returns the name of the template file without the path.
Example
If the template file is C:\Data\My-Invoices-EN.OL-template, then
${template.name} expands to My-Invoices-EN.OL-template.
Note that ${template.name} still includes the extension of the
template file (.OL-template in the example above).
${template.nr}
An automatic sequence number belonging to the current output
file. It is automatically incremented for each new output file that
gets created when Separation has been selected in the Output
Creation Preset.
Page 1488