How do I customize the output file name when third-parties utilize the PDF-XChange Print Driver?
Please note that a developer asked this question on the PDF XChange forum. They were using build 0150 of the Print Driver with Revit MEP. When they generated PDF files in this manner the file name followed the format:
"Model name - Sheet - Sheet Number - Sheet Name".
They wanted to use only the Sheet Number as the file name.
JavaScript must be used to edit the default file name of output documents, as applications pass the file name to Windows automatically when documents are printed and this determines the final file name. To accomplish this, you must modify the 'titrules.js' which is located in your printer install directory. This is the JavaScript file referenced to determine the document name or the "title rules".
JavaScript is relatively simple to use. There are many tutorials available online, such as those detailed below:
http://www.w3schools.com/js/default.asp
http://www.webteacher.com/javascript/
You can contact us by phone, email or our social media accounts — we are here to assist you.
Cookies are necessary in order to enable you to move around the website and use its features,
including making purchases through our online store.
We need cookies in order to determine the number of unique users who visit the site,
and to provide certain features, such as the login functionality.
We do not use cookies for advertising purposes.
By clicking "Accept" (or continuing to use the site) you are agreeing to our use of these tools.
Learn More