Page 1 of 1

Custom Macros

Posted: Wed Dec 19, 2007 6:53 pm
by gohtar
Are custom macros possible with the pdf printer?

I noticed the Macros folder and added the function name <DateYYYYMMDD> to the PDF File Name, just as a test, but it did not work. The file tried to write with the name <DateYYYYMMDD>.pdf.

I would like to be able to create my own macros for naming the files when print jobs are sent to the virtual printer. What I am thinking I want it to do for now is pop up a custom input form that will prompt the user to enter info that we want each file named with when they print it.

Thanks,

Posted: Wed Dec 19, 2007 8:15 pm
by jr
The Visual Basic Script macros are not documented yet. They enable you to create your own macros.

VBS macros have the syntax <vbs:MacroName>. It you want to call the DateYYYYMMDD function in the macro file then you write <vbs:DateYYYYMMDD> in the file name field.

Regards,
Jacob