The Output - File Name Supported Tokens currently available include:
&C& which is replaced with the Customer Number.
&V& which is replaced with the Vendor Number.
& which is replaced with the Transaction Number only (no sub-letter).
%M which is replaced by Machine Number.
%R which is replaced by Register Number.
%D which is replaced by Current Date (in YYMMDD format).
%T which is replaced by Current Time (in HHMMSS format, 24 hour).
See:
Configuration Manager - Printers - Ports - File
Configuration Manager Contents