Bug 844334

Summary: PDF printing delayed from Evince
Product: [Fedora] Fedora Reporter: Antonio T. (sagitter) <anto.trande>
Component: popplerAssignee: Marek Kašík <mkasik>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 17CC: jpopelka, mkasik, rdieter, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-18 10:19:45 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
PDF file
none
first page as printed to pdf from evince none

Description Antonio T. (sagitter) 2012-07-30 10:36:07 UTC
Description of problem:
PDF document printing from Evince is very slow. Once printing job starts, 'pdftops' process appears on 'htop' with a CPU usage very high per about 2 minutes after which the printer starts to work.

Version-Release number of selected component (if applicable):
cups-1.5.2-12.fc17
Printer: Canon PIXMA MP270 - CUPS + Gutenprint v5.2.9 Simplified


How reproducible:
Open pdf file with Evince, launch a print, printer works after about 2 minutes.


Actual results:
Printing job delayed.

Expected results:
Immediate printer response.

Additional info:
Suspicion link with #Bug827632, #Bug828301

Comment 1 Jiri Popelka 2012-07-30 11:37:20 UTC
Does it behave the same when you print the file with 'lpr file.pdf' ?
Is it the same with all pdf files ?
Is printing of postscript file (so pdftops is not involved) OK ?

I don't think bug #827632 and bug #828301 are related because they are about not printing at all and also when using foomatic driver (you use gutenprint).

Comment 2 Antonio T. (sagitter) 2012-07-30 14:04:14 UTC
(In reply to comment #1)
> Does it behave the same when you print the file with 'lpr file.pdf' ?

No.

> Is it the same with all pdf files ?

No. I can tell you that the file is a PDF ver1.4 .
I have just tried another (ver1.5) and it is printed fine with Evince.

> Is printing of postscript file (so pdftops is not involved) OK ?

Yes.

Comment 3 Jiri Popelka 2012-07-30 14:30:39 UTC
Can you attach an output from printing troubleshooter when printing that file from Evince ?
https://fedoraproject.org/wiki/Printing/Debugging#Printing_troubleshooter

Comment 4 Jiri Popelka 2012-07-30 14:32:14 UTC
Actually it would be useful if you could attach that pdf file too.
You can make the attachment private if you want.

Comment 5 Antonio T. (sagitter) 2012-07-30 15:52:56 UTC
(In reply to comment #3)
> Can you attach an output from printing troubleshooter when printing that
> file from Evince ?
> https://fedoraproject.org/wiki/Printing/Debugging#Printing_troubleshooter

/var/log/cups/error_log is empty.

>Actually it would be useful if you could attach that pdf file too.
>You can make the attachment private if you want.

Sure. I can tell you more: this problem appears if print the single first page, not with the others.

Comment 6 Antonio T. (sagitter) 2012-07-30 15:54:03 UTC
Created attachment 601304 [details]
PDF file

Comment 7 Jiri Popelka 2012-08-02 15:14:06 UTC
Created attachment 601981 [details]
first page as printed to pdf from evince

Comment 8 Jiri Popelka 2012-08-02 15:19:24 UTC
This seems to be a poppler.

If I open the document from comment #6 in evince and print the first page to PDF, then the result makes pdftops and also okular (which I think also uses poppler) eat a lot of CPU.