1.8

Table Of Contents
File name variables
File name variables are available in a few places in the "Print Options" on page851:
l
In the Job Output Mask field when using the Directory option
l
In the Job Name field when using the Windows Printer option.
If the output is to be separated into multiple files, some Output content variables can also be
used as Output file variables, depending on the level of separation (see "Content variables" on
page965).
Template
Note
The variables ${template}, ${template.base} and ${template.name} are only
available when printing directly from the 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 page969, 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
Page 962