http://bugzilla.opensuse.org/show_bug.cgi?id=908624 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|okular: printing of certain |pdftk 2.02: printing of |PDF files does not work |certain PDF files cannot |(works via "lpr" command) |work with "fit-to-page" | |(wrong BoundingBox values) --- Comment #10 from Johannes Meixner <jsmeix@suse.com> --- I think the DSC values are not correct in print-job-data_132.save. print-job-data_132.save contains ------------------------------------------------------------------------------ %%BoundingBox: 0 0 595 842 %%PageBoundingBox: 0 0 311 542 %%PageBoundingBox: 0 0 317 548 ------------------------------------------------------------------------------ Ghostscript shows the actual BoundingBox values for the two pages: ------------------------------------------------------------------------------ # gs -sDEVICE=bbox -dBATCH -dNOPAUSE print-job-data_132.save %%BoundingBox: 142 149 453 692 %%BoundingBox: 138 147 456 695 ------------------------------------------------------------------------------ When I change the BoundingBox values in print-job-data_132.save as follows: ------------------------------------------------------------------------------ %%BoundingBox: 138 147 456 695 %%PageBoundingBox: 142 149 453 692 %%PageBoundingBox: 138 147 456 695 ------------------------------------------------------------------------------ then the CUPS printing option fit-to-page works for this file. I.e. the BoundingBox values in the PostScript are wrong. The PostScript is created by pdftk: ------------------------------------------------------------------------------ # grep Creator print-job-data*save print-job-data_131.save:%%Creator: pdftk 2.02 - www.pdftk.com print-job-data_132.save:%%Creator: pdftk 2.02 - www.pdftk.com ------------------------------------------------------------------------------ According to my analysis it means: Printing of certain PDF files does not work with "fit-to-page" because of wrong BoundingBox values in the PostScript that is created by "pdftk 2.02". Therefore it seems to be a bug in "pdftk 2.02" (or in whatever helper-tool or library that is used by pdftk to crate PostScript). Stefan Brandner, I think you should submit a new bug report for pdftk. -- You are receiving this mail because: You are on the CC list for the bug.