2022.2

Table Of Contents
theWorkflowOnlineHelp)andthenreferencingitinthe"Printoptions"onpage630fieldsviathe
variable@automation.JobInfoX@(where"X"isthenumberoftheJobInfovariable).
Iftheoutputistobeseparatedintomultiplefiles,someOutputcontentvariablescanalsobeusedas
Outputfilevariables,dependingonthelevelofseparation(see"Contentvariables"onpage873).
Template
${template} ${template}isashorthandfor${template.base}_${tem-
plate.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0000in${template.nr,0000}isaformatpatternthattakescareofformattingthenumber
withatleastfourdigitsandleadingzero's.See"Formattingdateandnumbervalues"onpage876,
below.
Example: IfthetemplatefileisC:\Data\My-Invoices-EN.OL-templatewhichgets
printedtoPDF,then${template}expandstoMy-Invoices-EN_0001.pdf.
${template.base} Returnsthebasenameofthetemplate,whichisthenameofthetemplatefilewithoutitspathand
withoutthetrailingfileextension.
Example: IfthetemplatefileisC:\Data\My-Invoices-EN.OL-template,then${tem-
plate.base}expandstoMy-Invoices-EN.
${template.name} Returnsthenameofthetemplatefilewithoutthepath.
Example: IfthetemplatefileisC:\Data\My-Invoices-EN.OL-template,then${tem-
plate.name}expandstoMy-Invoices-EN.OL-template.
Notethat${template.name}stillincludestheextensionofthetemplatefile(.OL-templateinthe
exampleabove).
${template.nr} Anautomaticsequencenumberbelongingtothecurrentoutputfile.Itisautomaticallyincremented
foreachnewoutputfilethatgetscreatedwhenSeparationhasbeenselectedintheOutput
CreationPreset.
Itispossibletoformatthenumberusingapatternandlocale.See"Formattingdateandnumberval-
ues"onpage876,below.
${template.ext} Theextensionthatcorrespondstothechosenoutputformat(inlowercase).
Forexample,forPDFoutput,${template.ext}wouldbepdf,forPostScriptoutput,${tem-
plate.ext}wouldreturnps.
Notethat${template.ext}doesnotincludealeadingdot.
Page 870