In Part 1 of this series I showed you how to configure your Windows printer to print to a specific file. If you print more than one document, you will have to rename that file to prevent it from being overwritten. If you want to print a lot of documents, you can automate the process using Python shown below.
I occasionally need to print a collection of Windows documents to a file instead of a printer directly, either because the printer is not available at the time of rendering, or I want to batch print a lot of files at a later more convenient time, e.g., at night. For a few files, I will simply direct the print job to a file, and the print driver will prompt me for a filename. However, this can be problematic if I have a lot of files to print. It would better if the file were named automatically.