Red Hat Bugzilla – Bug 1005492
printing to cups-pdf printer generates a corrupt pdf file
Last modified: 2013-09-16 01:44:26 EDT
Description of problem:
I have installed cups-pdf. If I try to print some text on cups-pdf printer, the generated PDF file is corrupt and can't be shown be evince.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.lpr <some-tex> -P<cups-pdf-printer>
The generated PDF file can't be shown by evince or acroread
Created attachment 795123 [details]
a corrupt pdf file generated by cups-pdf
Created attachment 795124 [details]
Still the same effect with cups-pdf-2.6.1-6.fc20.x86_64
Sorry, but I cannot reproduce.
Please provide a sample "input" text.
Created attachment 797159 [details]
input from gnome-terminal (ls -l)
Created attachment 797161 [details]
generated pdf by "lpr -Ppdf input"
Cannot reproduce with default Cups-PDF printer created during RPM install.
How your "pdf" printer was created ?
Can you try with this command :
/usr/sbin/lpadmin -p Cups-PDF -v cups-pdf:/ -m CUPS-PDF.ppd -E
Created attachment 797318 [details]
Works correct for me. Installed via yum from testing.
(In reply to Remi Collet from comment #7)
> Cannot reproduce with default Cups-PDF printer created during RPM install.
> How your "pdf" printer was created ?
> Can you try with this command :
> r/sbin/lpadmin -p Cups-PDF -v cups-pdf:/ -m CUPS-PDF.ppd -E
No change :-(
I could solve my problem by removing the cups-pdf printer and recreating it again by system-config-printer. So I think I made previously some errors. You may close the ticket as "no error".
Thanks for the feedback.