Control Output File Name and Location Using Print to File
Summary
You can use this method when writing Office automation code for Word, Excel, Publisher, PowerPoint and Visio; Outlook does not have this capability. Prompting is automatically suppressed and all other conversion settings for controlling the output file are taken from the Image Printer’s currently selected profile. Below is a sample WORD VBA macro that that will print the currently open document to a specific folder and create a new generated file name each time. Included in the Image Printer 12 installation is a C# sample application demonstrating using Print to File from Word, Excel, PowerPoint, Publisher and Visio. For more information on Print to File usage and where to find the program samples, see the user guide for your Image Printer.