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)"

-- 
java.lang.ClassCastException: com.lowagie.text.pdf.PdfDictionary cannot be cast 
to com.lowagie.text.pdf.PRIndirectReference
https://bugs.launchpad.net/bugs/544636
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to