Bug 828301 - Several programs not printing, including Evince and Gimp
Summary: Several programs not printing, including Evince and Gimp
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: foomatic
Version: 17
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-04 14:16 UTC by Manuel Schneckenreither
Modified: 2013-08-01 18:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-01 18:10:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
troubleshooter output (239.61 KB, text/plain)
2012-06-04 17:12 UTC, Manuel Schneckenreither
no flags Details
/etc/cups/ppd/hp-LaserJet-3020.ppd (10.20 KB, application/vnd.cups-ppd)
2012-06-04 17:15 UTC, Manuel Schneckenreither
no flags Details
simple_test.pdf (5.80 KB, application/octet-stream)
2012-06-22 13:44 UTC, Tim Waugh
no flags Details
simple_test.ps (PDF converted with F-18's pdftops) (1.02 MB, application/postscript)
2013-05-13 11:41 UTC, Tim Waugh
no flags Details
Comment (227.49 KB, text/plain)
2012-06-04 14:16 UTC, Manuel Schneckenreither
no flags Details

Description Manuel Schneckenreither 2012-06-04 14:16:53 UTC
Created attachment 915459 [details]
Comment

(This comment was longer than 65,535 characters and has been moved to an attachment by Red Hat Bugzilla).

Comment 1 Manuel Schneckenreither 2012-06-04 14:23:42 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
BTW: Because of Install from BETA-CD, I am using 
cups-1.5.3-1.fc17.x86_64

Comment 2 Manuel Schneckenreither 2012-06-04 14:24:02 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,2 +1,2 @@
 BTW: Because of Install from BETA-CD, I am using 
-cups-1.5.3-1.fc17.x86_64+cups-1.5.3-1.fc17.x86_64 (from updates-testing)

Comment 3 Jiri Popelka 2012-06-04 15:45:48 UTC
Seems similar to bug #827632, however here USB backend is used while in bug #827632 it's dnssd (socket) backend.

Manuel,

- please attach the troubleshooter output once more with the "Add an attachment".
- attach the /etc/cups/ppd/hp-LaserJet-3020.ppd

Now try the following steps and let me know if any of them make any change:
- downgrade to cups-1.5.2 with 'yum downgrade cups cups-libs'.
  1.5.3 has improved usb backend (uses libusb-1) which could possibly cause the trouble here.

- install hplip and change the driver in system-config-printer to 'HP LaserJet 3020 pcl3, hpcups'

Comment 4 Jiri Popelka 2012-06-04 15:50:03 UTC
(In reply to comment #0)
> Description of problem:
> Cannot print from some programs, like Evince or Gimp. However, same document
> can be printed from Okular. Firefox is also able to print.

Okular seem to be emitting print jobs in postscript while the other programs emit them in PDF.

Comment 5 Jiri Popelka 2012-06-04 16:25:34 UTC
(In reply to comment #4)
> Okular seem to be emitting print jobs in postscript while the other programs
> emit them in PDF.

https://bugs.kde.org/show_bug.cgi?id=286825

Comment 6 Manuel Schneckenreither 2012-06-04 17:12:43 UTC
Created attachment 589218 [details]
troubleshooter output

Comment 7 Manuel Schneckenreither 2012-06-04 17:15:32 UTC
Created attachment 589219 [details]
/etc/cups/ppd/hp-LaserJet-3020.ppd

Comment 8 Manuel Schneckenreither 2012-06-04 17:26:55 UTC
Downgrade of cups made the printer light blinking. Nonetheless it was not printing from evince...

Since changing the driver to 'HP LaserJet 3020 pcl3, hpcups' it is working. 

Hope that helps...

Comment 9 Jiri Popelka 2012-06-05 17:07:37 UTC
Making this one a duplicate of bug #827632 as they seem to be similar.
AFAICT in both cases this print fails when the input format is pdf and driver uses foomatic, so the pdftops and foomatic-rip filters are used.

Although I have no idea whether the problem is in pdftops or foomatic or somewhere else.

*** This bug has been marked as a duplicate of bug 827632 ***

Comment 10 Tim Waugh 2012-06-20 15:50:44 UTC
Manuel: just to clarify...

After you changed the driver to 'HP LaserJet 3020 pcl3, hpcups', can you now print from Evince / Gimp?

Comment 11 Manuel Schneckenreither 2012-06-20 16:53:16 UTC
Yes, since then printing works perfectly fine.

Comment 12 Tim Waugh 2012-06-21 09:23:34 UTC
Thanks.  That seems to narrow the problem down to foomatic then.

Comment 13 Tim Waugh 2012-06-22 13:44:15 UTC
Created attachment 593750 [details]
simple_test.pdf

Could you please try printing this file from the command line, like this?:

lp -d hp-LaserJet-3020 simple_test.pdf

Does that print out correctly?

Comment 14 Tim Waugh 2012-06-22 13:44:47 UTC
Deleted Technical Notes Contents.

Old Contents:
BTW: Because of Install from BETA-CD, I am using 
cups-1.5.3-1.fc17.x86_64 (from updates-testing)

Comment 15 Manuel Schneckenreither 2012-06-22 18:30:54 UTC
No, doesn't work:

[schnecki@laptop Downloads]$ lp -d hp-LaserJet-3020 simple_test.pdf 
lp: The printer or class does not exist.
[schnecki@laptop Downloads]$

Comment 16 Manuel Schneckenreither 2012-06-22 18:32:21 UTC
this works:

[schnecki@laptop Downloads]$ lp simple_test.pdf 
request id is Hewlett-Packard-hp-LaserJet-3020-20 (1 file(s))

Comment 17 Manuel Schneckenreither 2012-06-22 18:46:13 UTC
this works also:

[schnecki@laptop Downloads]$ lp -d Hewlett-Packard-hp-LaserJet-3020 simple_test.pdf 
[schnecki@laptop Downloads]$ lpstat
Hewlett-Packard-hp-LaserJet-3020-23 schnecki             0   Fri 22 Jun 2012 08:43:37 PM CEST

Comment 18 Tim Waugh 2012-06-25 10:39:57 UTC
Thanks.  Since this is a different queue to the one mentioned in comment #6 and comment #7, could you please confirm which driver is used?  i.e. what does this say?:

grep NickName /etc/cups/ppd/Hewlett-Packard-hp-LaserJet-3020.ppd

Comment 19 Manuel Schneckenreither 2012-06-25 12:47:04 UTC
*ShortNickName: "HP LaserJet 3020"
*NickName: "HP LaserJet 3020 pcl3, hpcups 3.12.4"

Comment 20 Tim Waugh 2012-06-25 13:08:53 UTC
OK.  Could you please create a new queue, using the driver you were having problems with, i.e. the one in comment #7?  That's what I'm trying to diagnose.

With this new queue, please submit the test PDF as in comment #17 but using the name of the new queue.

Does it print out correctly using the foomatic driver?

Comment 21 Manuel Schneckenreither 2012-06-25 13:23:41 UTC
You gotta be glad I know that printers work with printing queues. Otherwise I wouldn't have known what to do ;)

[schnecki@laptop Downloads]$ lp -d hp_foomatic simple_test.pdf
request id is hp_foomatic-54 (1 file(s))
[schnecki@laptop Downloads]$ 


No page was printed! Printing the test page from the tool "system-config-printer" works however.

Comment 22 Manuel Schneckenreither 2012-06-25 13:48:37 UTC
oh and the driver I installed for the queue:


[schnecki@laptop Downloads]$ grep NickName /etc/cups/ppd/hp_foomatic.ppd 
*ShortNickName: "HP LaserJet 3020 Postscript"
*NickName:      "HP LaserJet 3020 Foomatic/Postscript"
[schnecki@laptop Downloads]$ 


Do you need any other information?

Comment 23 Manuel Schneckenreither 2012-06-25 13:53:12 UTC
[schnecki@laptop Downloads]$ lp -d hp_foomatic simple_test.pdf && lpstat
request id is hp_foomatic-55 (1 file(s))
hp_foomatic-55          schnecki          6144   Mon 25 Jun 2012 03:50:09 PM CEST
[schnecki@laptop Downloads]$


Well Gnome also tells me that it sent the job to the printer and afterwards tells me that i got printed...


Oh and I do no C, if you want me to debug anything or so!

Comment 24 Tim Waugh 2013-05-13 11:41:00 UTC
Created attachment 747193 [details]
simple_test.ps (PDF converted with F-18's pdftops)

Are you still seeing this problem?

If so, could you please try printing this simple_test.ps file and let me know the result?

Comment 25 Manuel Schneckenreither 2013-05-13 15:42:11 UTC
Hi,

I actually did a fresh install of Fedora 18 last week. And yes, the problem still occured. When I am using the recommended driver Foomatic/Postscript then
the printer is unable to read the transfered document. It blinks until I cancel the printing job using the printers button. However, Gnome status message tells me immediatelly after sending the document, that it was printed successfully.

As soon as I change the driver to hpcups, it works perfectly.

Comment 26 Tim Waugh 2013-06-03 13:09:38 UTC
The Device ID it's reporting is this:

MFG:Hewlett-Packard;CMD:PJL,MLC,BIDI-ECP,PCL,POSTSCRIPT,PCLXL;MDL:hp LaserJet 3020;CLS:PRINTER;DES:Hewlett-Packard LaserJet 3020;MEM:23MB;COMMENT:RES=600x2;

so it *ought* to be able to understand PostScript.

In any case, the first-choice driver for this model is currently hpcups in Fedora 18 and 19.

Comment 27 Fedora End Of Life 2013-07-04 06:35:15 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 28 Fedora End Of Life 2013-08-01 18:10:44 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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