I'm using the latest version of PDFCreator, and it works fine. However, when I try to use the PDFCreator printer programmatically - it doesn't work. It creates a much larger file (272 Kb vs 9 kb), which I cannot open. I'm getting this message:
"Adobe Acrobat Reader could not open 'SFL_6073W_B.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
Exactly the same problem is with CutePDF Writer and some other printers. I've found out that the printer actually prints postscript files rather than PDFs. Why? This is a PDF printer.
How to fix this?