Variables you can use in PDF Templates
There are a few variables you can use in custom PDF templates.
Header, Footer, Title Page Header and Title Page Footer Fields
[[Document_Title]] - The name of the document.
[[File_Name]] - The name of the PDF file.
[[Date]] - The date in the format that your system is configured to use.
[[Date_Time]] - The date and time in the format your system is configured to use.
[[YYYY-MM-DD]] - Year, month and date.
[[YYYY-MM-DD HH:MM:SS]] - Year, month, date, hours, minutes and seconds. 24-hour clock.
[[YYYY-MM-DD HH:MM:SS 12HR]] - Year, month date, hours, minutes and seconds. 12-hour clock with AM/PM.
[[MM/DD/YYYY HH:MM:SS 12HR]] - Year, month date, hours, minutes and seconds. 12-hour clock with AM/PM.
[[MM/DD/YYYY]] - Month, day and year.
[[DD/MM/YYYY]] - Day, month and year.
[[YYYY]] - Year

Footer Numbering Field
[[Page_Number]] - The page number.
[[Page_Count]] - The total number of pages.

Would be nice if HTML entities (like (r) or (c)) could be used.