Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't print lots of images from Firefox/Gimp/Okular #3950

Closed
michaelrsweet opened this issue Oct 1, 2011 · 15 comments
Closed

Can't print lots of images from Firefox/Gimp/Okular #3950

michaelrsweet opened this issue Oct 1, 2011 · 15 comments

Comments

@michaelrsweet
Copy link
Collaborator

@michaelrsweet michaelrsweet commented Oct 1, 2011

Version: 1.4.8
CUPS.org User: Fry-kun

Description of problem:
When trying to print the page above to networked Apple 12/640ps, the job gets submitted okay and disappears from the computer, but the printer doesn't react except for blinking a light.
This is the case with SOME webpages/documents and not the case with others (they print okay). Printing attached image to file (.ps), to Cups-PDF, and print preview all work, too. Printing the resuting .ps also works.

Version-Release number of selected component (if applicable):

1st machine i686, upgraded F14 -> F15:
2.6.40.4-5.fc15.i686
cups.i686 1:1.4.8-2.fc15
firefox.i686 6.0.2-1.fc15
foomatic.i686 4.0.7-3.fc15
foomatic-db.noarch 4.0-28.20110221.fc15
--- BROKEN

2nd machine x64, upgraded F14 -> F15:
2.6.40.3-0.fc15.x86_64
cups.x86_64 1:1.4.8-2.fc15
firefox.x86_64 6.0-1.fc15
--- BROKEN

3rd machine x64, F14:
2.6.35.13-92.fc14.x86_64
cups.x86_64 1:1.4.6-1.fc14
firefox4.x86_64 4.0.1-2.fc14
foomatic.x86_64 4.0.5-1.fc14
foomatic-db.noarch 4.0-23.20101123.fc14
--- WORKING (takes a long time to process, but prints)

How reproducible:
every time

After updating F14 to foomatic-4.0.7-2.fc14:
Firefox 4.0.1 PASS
Okular 0.12.2 FAIL
Gimp 2.6.11 PASS

F15:
Firefox 6.0.2 FAIL
Okular 0.12.5 FAIL
Gimp 2.7.3 FAIL

Redhat tracker: https://bugzilla.redhat.com/show_bug.cgi?id=739325

Debug log is here: https://bugzilla.redhat.com/attachment.cgi?id=523866

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 1, 2011

CUPS.org User: Fry-kun

P.S. forgot to mention: this is not limited to 1 printer, I've tried printing from the broken i686 machine to Brother MFC-8840D and it didn't work either.

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 2, 2011

CUPS.org User: mike

We do not provide support for Foomatic driver issues. Please contact the developers on bugs.linux-foundation.org for this issue.

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 3, 2011

CUPS.org User: Fry-kun

Brother MFC-8840D BR-Script3 <--- this one is not foomatic but has the same problem

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 3, 2011

CUPS.org User: h.blischke

Please supply more information like error_log, the printer's PPD, and original input file.

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 3, 2011

CUPS.org User: Fry-kun

Original input file is already attached to this bug. I just tried to print it from Okular, the logs are below.
How do I get the printer's PPD?

access_log:
localhost - - [03/Oct/2011:13:03:59 -0700] "POST /printers/Brother-MFC-8840D HTTP/1.1" 200 312 Create-Job successful-ok
localhost - - [03/Oct/2011:13:03:59 -0700] "POST /printers/Brother-MFC-8840D HTTP/1.1" 200 182784 Send-Document successful-ok
localhost - - [03/Oct/2011:13:04:00 -0700] "POST / HTTP/1.1" 200 343 Create-Printer-Subscription successful-ok

error_log:
E [03/Oct/2011:11:56:21 -0700] Avahi client failed, closing client to allow a clean restart
W [03/Oct/2011:12:51:38 -0700] Duplicate listen address "/var/run/cups/cups.sock" ignored!
W [03/Oct/2011:12:51:41 -0700] failed to CreateProfile: org.freedesktop.ColorManager.Failed:profile object path '/org/freedesktop/ColorManager/profiles/Brother_MFC_8840D_Gray__' already exists
W [03/Oct/2011:12:51:41 -0700] no access to /System/Library/ColorSync/Profiles/sRGB Profile.icc
W [03/Oct/2011:12:51:41 -0700] no access to /System/Library/ColorSync/Profiles/sRGB Profile.icc
W [03/Oct/2011:12:51:41 -0700] no access to /System/Library/ColorSync/Profiles/Generic CMYK Profile.icc
W [03/Oct/2011:12:51:41 -0700] failed to CreateProfile: org.freedesktop.ColorManager.Failed:profile object path '/org/freedesktop/ColorManager/profiles/HP_Officejet_4500_g510n_z_Gray__' already exists
W [03/Oct/2011:12:51:41 -0700] failed to CreateProfile: org.freedesktop.ColorManager.Failed:profile object path '/org/freedesktop/ColorManager/profiles/HP_Officejet_4500_g510n_z_RGB__' already exists

page_log:
Brother-MFC-8840D kostya 65 [03/Oct/2011:13:03:59 -0700] 1 1 - localhost 110917-tiered-anniversary.gif Letter -

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 3, 2011

CUPS.org User: Fry-kun

Also, this print job printed the following text only (instead of the image):

ERROR NAME;
configurationerror
COMMAND;
setpagedevice
OPERAND STACK;
--dicttype--

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 6, 2011

CUPS.org User: Fry-kun

ping
Anything else I need to post here?

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 12, 2011

CUPS.org User: h.blischke

First, where to find the printer's PPD: it is
/etc/cups/ppd/printername.ppd
where printername is the name of the respective printer.

Now to the PostScript error page you get:
"configuration error" indicates that the printer's interpreter gets parameters that cannot be satified, e.g. requesting duplex printing on a printer with no duplex unit installed or the like.

Please post both the PPD and the source file to print (how to get the source file: stop the queue, do a print and post the file
/var/spool/cups/dxxxxx-001, where xxxxx is the job ID)

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 16, 2011

CUPS.org User: h.blischke

Well, the PPD looks OK, and the source file to be printed is a PDF file.
So I suspect your problem is due to some misconfiguration of the pdftops
filter.
Please do the following to supply more diagnostic information:
(1) set up a "fake" printer using the file device (make sure the cupsd.conf contains the directive FileDevice Yes) using a device_uri like
file:///absolute_path_to_a_sitable_directory
but otherwise set up identical to the real printer (same PPD, same defaults). Do not forget to restart cupsd.
(2) switch on debug logging (cupsctl --debug-logging).
(3) print the PDF you posted to the fake printer.
(4) execute cupsctl --no-debug-logging to switch back to normal logging
(5) post the portion of the error_log containing the text job messages and the result file.

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Dec 15, 2011

CUPS.org User: Fry-kun

/etc/cups/cupsd.conf had no mention of FileDevice, so I added it and restarted cups. I then added a printer with same PPD with path "file:///tmp/prnt" but every time I try to print to it, there's an error message:
"Stopping job because the scheduler could not open the output file"
The directory /tmp/prnt is created and permissions are set to 777 (selinux is off)

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Dec 23, 2011

CUPS.org User: Fry-kun

ping

Loading

1 similar comment
@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jan 12, 2012

CUPS.org User: Fry-kun

ping

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Dec 6, 2012

CUPS.org User: Fry-kun

Additional info from redhat bug:

Jochen Wiedmann 2012-01-25 13:37:53 PST

Confirming the same poblem with Fedora 16 and a Brother MFC7820N.

Jochen Wiedmann 2012-01-25 13:41:48 PST

Additional info: I am observing this bug typically with PDF files when printing from the Adobe Reader plugin for Firefox. As a workaround, I save the PDF file and print it with evince. So far, this worked for me.
(Sorry, I have one tray only.)

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Dec 6, 2012

CUPS.org User: Fry-kun

I still can't print -- think the problem is more prominent now than before (upgraded to Fedora 17 recently)

PLEASE REOPEN THE BUG!!

Loading

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Sep 13, 2015

CUPS.org User: thomas303

I have exactly the same problem using Ubuntu 14.04.3 (as well as with older versions of ubuntu over the years).

There's also a bug report on launchpad: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/802942

Multiple Ubuntu users are faced with this issue. This but should be reopened.

Attached is the output of ubuntu's troubleshoot process.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant