Bug 1005492 - printing to cups-pdf printer generates a corrupt pdf file
Summary: printing to cups-pdf printer generates a corrupt pdf file
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cups-pdf
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-07 15:12 UTC by Joachim Backes
Modified: 2013-09-16 05:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-16 05:44:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
a corrupt pdf file generated by cups-pdf (2.17 KB, application/octet-stream)
2013-09-07 15:16 UTC, Joachim Backes
no flags Details
/etc/cups/cups-pdf.conf (9.43 KB, text/plain)
2013-09-07 15:20 UTC, Joachim Backes
no flags Details
input from gnome-terminal (ls -l) (642 bytes, text/plain)
2013-09-13 06:58 UTC, Joachim Backes
no flags Details
generated pdf by "lpr -Ppdf input" (2.17 KB, application/force-download)
2013-09-13 07:00 UTC, Joachim Backes
no flags Details
firefox print (74.98 KB, application/pdf)
2013-09-13 12:56 UTC, Dethlef Madsen
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.