Printing reports to PDF using PDFCreator
QlikView's report engine is very capable of producing good quality paper or PDF reports (with an appropriate PDF printer driver). There is an additionally licensed add-on for QlikView Publisher that allows automated generation of these reports into PDF and distribution to multiple recipients. This additional option is not available without Publisher.
This recipe demonstrates using automation to print the reports using the PDFCreator (http://sourceforge.net/projects/pdfcreator) printer driver. This driver has its own API that allows us to control the name of the file and location.
Note
Note that when installing PDFCreator, you should watch out for additional toolbars or add-ons that you may not want to install.
The code has been tested on versions of PDFCreator up to 1.6.2, but I would expect it to work on newer versions.
Getting ready
This example can use any QlikView document that has a report. I am going to assume that there is at least one report called...