Bug 1005492

Summary: printing to cups-pdf printer generates a corrupt pdf file
Product: [Fedora] Fedora Reporter: Joachim Backes <joachim.backes>
Component: cups-pdfAssignee: Remi Collet <fedora>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: fedora, madsen, rcollet
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-16 05:44:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
a corrupt pdf file generated by cups-pdf
none
/etc/cups/cups-pdf.conf
none
input from gnome-terminal (ls -l)
none
generated pdf by "lpr -Ppdf input"
none
firefox print none

Description Joachim Backes 2013-09-07 15:12:54 UTC
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):
cups-pdf-2.6.1-5.fc20.x86_64

How reproducible:
alwyays

Steps to Reproduce:
1.lpr <some-tex> -P<cups-pdf-printer>
2.
3.

Actual results:
The generated PDF file can't be shown by evince or acroread

Expected results:


Additional info:

Comment 1 Joachim Backes 2013-09-07 15:16:59 UTC
Created attachment 795123 [details]
a corrupt pdf file generated by cups-pdf

Comment 2 Joachim Backes 2013-09-07 15:20:52 UTC
Created attachment 795124 [details]
/etc/cups/cups-pdf.conf

Comment 3 Joachim Backes 2013-09-13 05:27:26 UTC
Still the same effect with cups-pdf-2.6.1-6.fc20.x86_64

Comment 4 Remi Collet 2013-09-13 05:34:26 UTC
Sorry, but I cannot reproduce.
Please provide a sample "input" text.

Comment 5 Joachim Backes 2013-09-13 06:58:11 UTC
Created attachment 797159 [details]
input from gnome-terminal (ls -l)

Comment 6 Joachim Backes 2013-09-13 07:00:41 UTC
Created attachment 797161 [details]
generated pdf by "lpr -Ppdf input"

Comment 7 Remi Collet 2013-09-13 11:22:09 UTC
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

Comment 8 Dethlef Madsen 2013-09-13 12:56:28 UTC
Created attachment 797318 [details]
firefox print

Works correct for me. Installed via yum from testing.

cups-pdf-2.6.1-6.fc20.x86_64

Comment 9 Joachim Backes 2013-09-13 16:47:08 UTC
(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 ?

system-config-printer

> 
> Can you try with this command :
> /us
> r/sbin/lpadmin -p Cups-PDF -v cups-pdf:/ -m CUPS-PDF.ppd -E

No change :-(

But:
----

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

Comment 10 Remi Collet 2013-09-16 05:44:26 UTC
Thanks for the feedback.