Comment 5 for bug 544636

Revision history for this message
Johann Felix Soden (johfel) wrote : Re: java.lang.ClassCastException: com.lowagie.text.pdf.PdfDictionary cannot be cast to com.lowagie.text.pdf.PRIndirectReference

pdftk uses the itext library and a mail on its mailing list gave me the right hint:
 http://thread.gmane.org/gmane.comp.java.lib.itext.general/46855/focus=46859

The printed pdf file is not standard conform [1].
The information dictionary of the document is a direct object, not an indirect reference as in the pdf that works.
So this is mainly a bug in the used pdf generator, not in pdftk. However, pdftk should produce a more user-friendly error message.

Can you provide the version of the cups / cups-pdf package which you have installed, please?

[1]: See table 3.11 on page 61 in http://partners.adobe.com/public/developer/en/pdf/PDFReference13.pdf :
"Info dictionary (Optional; must be an indirect reference)"