You have the following variables available for the PDF file name:
The latest version
&np | number 0-padded. Note: &np generates 001; use &np[1,2] to get 01. |
&t | title name (since the version 1.6) |
&st | page status (since the version 1.6) (Normal, InUse, ReadOnly) |
&sx | section extra string (since the version 1.6) |
&zx | zone extra string (since the version 1.6) |
&ed | edition date (since the version 1.6) |
&en | edition number name (since the version 1.6) |
&u | user name (since the version 1.6) |
&U | user full name (since the version 1.6) |
&dmp | last modified date page (since the version 1.6) |
&D | current time (since the version 1.6) |
&w | workstate name (since the version 1.6) |
For &ed, &dmp and &d variables you can also add the date format, e.g. &ed(dd-MM-yy) will output 13-02-16 for the date of February, 13 2016.
In version 1.5 and previous
Substringing
You can apply substringing to above variables, by:
&e[0,3]
means take only first three characters and the edition identifier.
Note: the index of the first character is 0 and not 1.
See also
Specifying Postscript title for printing
Specifying print caption