1.7

Table Of Contents
On the Server, ${file} expands to a file name based on the job name. A
four digit sequence number is added at the end of the basename. The
suffix (the extension) is defined by the selected output technology.
Example
If the job name is my-invoices-reprint and is printed to PDF, then
${file} expands to my-invoices-reprint_0001.pdf
Designer context:
In the Designer, ${file} returns a generated name based on the
current template name. A four digit sequence number is added at the
end of the basename. The suffix is defined by the selected output
technology.
Example
If the template file is my-invoices.OL-template and is printed to
PostScript, then ${file} expands to my-invoices_0001.ps
${file.base}
The name of the template without dot extension (designer context) or
the name of the job without dot extenstion (server context)
Example (Designer context)
If the template file is C:\Data\my-invoices.OL-template, then
${file.base} returns my-invoices
${file.ext}
The extension that corresponds to the chosen output technology.
For example, for PDF output, ${file.ext} would be PDF, for
PostScript output, ${file.ext} would return PS
Note, that ${file.ext} does not include a leading dot.
${file.name}
The name of the template (designer context) or the name of the job
(server context)
Example
If the template file is C:\Data\my-invoices.OL-template, then
${file.name} returns my-invoices.OL-template
Page 543