Custom Macros

General usage of the PDF Printer.

Moderator: jr

gohtar
Posts: 1
Joined: Wed Dec 19, 2007 6:46 pm

Custom Macros

Post 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,
jr
Site Admin
Posts: 500
Joined: Sun Mar 26, 2006 12:28 pm

Post 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
Post Reply