October 24, 2006

Printing Word And PDF files from Python

Posted in Software at 20:13 by graham

Recently I had to automate printing a whole bunch of CVs on Windows. Having successfully avoided VBA my whole programming life, it was time to think fast. Thankfully Python has some win32com bindings, which allows you to talk COM to various Windows applications, and get them to print the documents.

First you need the Python win32com bindings.

Read the rest of this entry »