| View previous topic :: View next topic |
| Author |
Message |
cfgauss l33t


Joined: 18 May 2005 Posts: 720 Location: USA
|
Posted: Fri Jun 25, 2010 4:44 pm Post subject: [SOLVED] Cannot print to printer with chromium-bin-5.0.376 |
|
|
I have an amd64 system with the chromium-bin-5.0.376.0_p44230 browser. When I try to print, it brings up the dialog window with my printer but nothing happens when I print, so I print to a PDF file instead and use evince to print. But this dialog window prints perfectly to the printer with Firefox.
Any debugging hints would be gratefully received.
[SOLVED] See jyxent's solution, below. [/SOLVED]
Last edited by cfgauss on Tue Jul 13, 2010 4:27 am; edited 1 time in total |
|
| Back to top |
|
 |
BradN Advocate


Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Mon Jun 28, 2010 8:37 pm Post subject: |
|
|
You could try checking cups logs to see if anything actually was submitted for printing, or if you're really masochistic you could run chromium under strace and try to find output related to the print attempt (but if there was no cups log activity, there might be no related strace output either).
I think a more practical attempt might be building chromium from source. |
|
| Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 3280 Location: Canada
|
Posted: Tue Jun 29, 2010 5:33 am Post subject: Re: Cannot print to printer with chromium-bin-5.0.376 |
|
|
| cfgauss wrote: | I have an amd64 system with the chromium-bin-5.0.376.0_p44230 browser. When I try to print, it brings up the dialog window with my printer but nothing happens when I print, so I print to a PDF file instead and use evince to print. But this dialog window prints perfectly to the printer with Firefox.
Any debugging hints would be gratefully received. |
I actually have it happenning to me as well with compiled amd64 chtromium since chromium update some 3 months ago. It does not print, so I print same pages from firefox.
Did not try to track it yet, but cups does not show anything, looks like print jobs from chromium do not reach cups at all. |
|
| Back to top |
|
 |
bobspencer123 Guru


Joined: 19 Dec 2005 Posts: 544
|
Posted: Tue Jun 29, 2010 2:09 pm Post subject: |
|
|
I haven't been able to print using chromium (source) for quite some time now. I too have been relegated to using firefox to print my directions, receipts, etc...
edit: this is on a x86 system. _________________ Increasingly becoming a 2 channel audio nut! |
|
| Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 3280 Location: Canada
|
Posted: Tue Jun 29, 2010 8:34 pm Post subject: |
|
|
| bobspencer123 wrote: | I haven't been able to print using chromium (source) for quite some time now. I too have been relegated to using firefox to print my directions, receipts, etc...
edit: this is on a x86 system. |
Perhaps it is time to file a bug ? Especially since chromium now has a stable status |
|
| Back to top |
|
 |
kimmie Guru


Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Mon Jul 05, 2010 1:19 pm Post subject: |
|
|
Hmm... I get a dialog, and it prints to a remote printer. BUT only the first page gets printed, or the scaling is completely off, or both. So it's effectively useless.
EDIT: using chromium-bin, got sick of compiling |
|
| Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Jul 05, 2010 1:39 pm Post subject: |
|
|
Indeed, chromium is a big package to compile, like xulrunner  |
|
| Back to top |
|
 |
cfgauss l33t


Joined: 18 May 2005 Posts: 720 Location: USA
|
Posted: Mon Jul 05, 2010 2:26 pm Post subject: |
|
|
| BradN wrote: | | You could try checking cups logs to see if anything actually was submitted for printing... | CUPS access_log has
| Code: | localhost - - [05/Jul/2010:09:04:44 -0500] "POST / HTTP/1.1" 200 433 CUPS-Get-Printers successful-ok
localhost - - [05/Jul/2010:09:04:44 -0500] "GET /ppd/Epson.ppd HTTP/1.1" 200 75643 - -
localhost - - [05/Jul/2010:09:04:44 -0500] "POST / HTTP/1.1" 200 433 CUPS-Get-Printers successful-ok <repeated 108 times>
localhost - - [05/Jul/2010:09:05:06 -0500] "POST /printers/Epson HTTP/1.1" 200 239190 Print-Job client-error-document-format-not-supported |
Firefox, which prints successfully, has an additional line | Code: | | localhost - - [05/Jul/2010:09:30:49 -0500] "POST / HTTP/1.1" 200 419 CUPS-Get-Classes successful-ok | which alternates with CUPS-Get-Printers successful-ok.
CUPS error_log under chromium has | Code: | I [05/Jul/2010:09:05:06 -0500] [Job ???] Request file type is application/pdf.
|
Does this suggest how to fix the problem? Or, is this the basis of a bug report?
Last edited by cfgauss on Mon Jul 05, 2010 2:40 pm; edited 1 time in total |
|
| Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 3280 Location: Canada
|
Posted: Mon Jul 05, 2010 2:38 pm Post subject: |
|
|
| d2_racing wrote: | Indeed, chromium is a big package to compile, like xulrunner  |
Except that chromium is updated almost every week  |
|
| Back to top |
|
 |
phajdan.jr Retired Dev


Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Mon Jul 05, 2010 7:21 pm Post subject: |
|
|
| dmpogo wrote: | | d2_racing wrote: | Indeed, chromium is a big package to compile, like xulrunner  |
Except that chromium is updated almost every week  |
The masked packages to be precise. Stable has less frequent updates.
By the way, yes, please file bugs for the problems you encounter. _________________ http://phajdan-jr.blogspot.com/ |
|
| Back to top |
|
 |
cfgauss l33t


Joined: 18 May 2005 Posts: 720 Location: USA
|
Posted: Mon Jul 05, 2010 8:15 pm Post subject: |
|
|
| Filed Bug 327014. |
|
| Back to top |
|
 |
BradN Advocate


Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Mon Jul 05, 2010 8:44 pm Post subject: |
|
|
| It appears that chromium is attempting to print pdf, but maybe postscript is expected? Does anyone know enough about cups to say if this would be a problem? |
|
| Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 3280 Location: Canada
|
Posted: Tue Jul 06, 2010 3:43 am Post subject: |
|
|
| phajdan.jr wrote: | | dmpogo wrote: | | d2_racing wrote: | Indeed, chromium is a big package to compile, like xulrunner  |
Except that chromium is updated almost every week  |
The masked packages to be precise. Stable has less frequent updates.
By the way, yes, please file bugs for the problems you encounter. |
Not really, I have 5.0.375.86 installed on June 24th, and now 5.0.375.99 appeared. Both are amd64 stable (the second is ~x86, however). On amd64 every single chromium in 5. series that now appears in a tree is stable it seems right away. |
|
| Back to top |
|
 |
phajdan.jr Retired Dev


Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Tue Jul 06, 2010 6:56 am Post subject: |
|
|
| dmpogo wrote: | | On amd64 every single chromium in 5. series that now appears in a tree is stable it seems right away. |
That's for security reasons. Indeed lately they have been more frequent, but that's rather unusual. _________________ http://phajdan-jr.blogspot.com/ |
|
| Back to top |
|
 |
kimmie Guru


Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Tue Jul 06, 2010 10:58 am Post subject: |
|
|
Until recently, there was no stable. And the only sensible thing to do was to stay in testing, because of bugs. Hence:
| Code: | $ qlop -lH chromium
Sat Jan 30 14:08:01 2010 >>> www-client/chromium-4.0.266.0-r1
Sat Feb 13 18:58:46 2010 >>> www-client/chromium-5.0.307.7
Sun Apr 11 16:30:31 2010 >>> www-client/chromium-5.0.342.9
Wed May 12 21:45:22 2010 >>> www-client/chromium-5.0.375.38
Tue Jun 1 08:25:02 2010 >>> www-client/chromium-5.0.375.55
Sat Jun 19 01:09:28 2010 >>> www-client/chromium-5.0.375.70
Thu Jun 24 16:39:11 2010 >>> www-client/chromium-5.0.375.70-r1
|
.... but I completely fail to see the point of going on about this. (Oops, slaps self, I just went on about it... Oops, I'm still going on, but... SLAP. Ouch! segfault: thread polluted at page 0x1) |
|
| Back to top |
|
 |
jyxent n00b

Joined: 16 Dec 2002 Posts: 15
|
Posted: Mon Jul 12, 2010 5:19 pm Post subject: |
|
|
| Updating to the 1.4.4 version of cups in ~amd64 fixed this problem for me. I think the issue is that chromium uses the pdf format to print and there is an issue with pdf support in the current stable build of cups. https://bugs.gentoo.org/show_bug.cgi?id=309901 |
|
| Back to top |
|
 |
cfgauss l33t


Joined: 18 May 2005 Posts: 720 Location: USA
|
Posted: Tue Jul 13, 2010 4:26 am Post subject: |
|
|
| jyxent wrote: | | Updating to the 1.4.4 version of cups in ~amd64 fixed this problem for me. I think the issue is that chromium uses the pdf format to print and there is an issue with pdf support in the current stable build of cups. https://bugs.gentoo.org/show_bug.cgi?id=309901 |
Yes, thanks. The CUPS update fixes the problem.
Getting CUPS 1.4 to work with my multifunction printer (scanner/printer) required a little blacklisting and udev rule editing described here. |
|
| Back to top |
|
 |
|