Re: Problems Printing with Firefox

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Lisa Kachold
Date:  
To: Main PLUG discussion list
Subject: Re: Problems Printing with Firefox
Hi Mark

On Sun, Mar 18, 2012 at 7:49 AM, Mark Phillips
<>wrote:

> I have Firefox 11.0 installed, as well as Google Chrome 17.0.963.65,
> Opera, and of course, Epiphany on my Debian testing machine. I use cups for
> printing over the network to my hp printer. Chrome, Opera, Epiphany all
> recognize all the installed printers on my network, but Firefox does not
> see any of them. I don't even have the print to file option that most posts
> on the subject talk about. When I look in firefox's about:config at all the
> print* settings, the printer is there, but it does not show up in the print
> dialog and I cannot print from firefox.
> Anyone else have this problem, and know how to solve it?
>
> Thanks,
>
> Mark
>


Reference: http://wiki.debian.org/SystemPrinting

A) Have you logged into Cups to see if there is an error?

http://localhost:631

WHAT IS THE ERROR message in the logs?

B) What does system-config-printer say?
http://cyberelk.net/tim/software/system-config-printer/

Is it not postscript? See D - below related to firefox and postscript

C) If this is a "permissions issue", you might have to add the Firefox
invoking user to the group file:

sudo usermod -a -G lpadmin tom


D) Are you using a postscript printer? Do you have kprinter installed?

Firefox:
1. First, if you haven't done so, you need to print to PostScript in order
for the needed entry in prefs.js to be populated. This will be done
automatically the first time you print. Open any web page and go to:

File --> Print --> choose PostScript/default (it should be the default if
you haven't installed any printers yet) --> click "Print"

Once you have done this and it prints, it'll add the PostScript entry you
need to edit.

2. In the URL bar, type

about:config to open the config page.

3. In the "Filter" bar, type

print.printer_PostScript/default.print_command
This should filter everything out but that line.

4. Right-click on the line, click on "Modify", and change the entry to say

kprinter then click OK. This will make Firefox print to kprinter any time
you select the "PostScript/default" printer.

5. Right-click anywhere in the white space, then click on "New --> Boolean"
to add a new Boolean entry. Type

print.always_print_silent

and set its value to "true". This will force Firefox to print to the
default printer without prompting you. If "PostScript/default" is the only
printer you have and there are no local / network printers, it works great
and you can stop here. But if you installed a printer through CUPS, it
complicates things as Firefox will want to use that as a default and all
your prints will go there without prompting you! So even if you don't have
a local printer, it's a good idea to add the following line in case you add
one later.

6. Once again, right-click and choose "New --> Boolean". Type

print.postscript.cups.enabled
and set its value to "false". That will disable CUPS printing in Firefox,
and it will default to the "PostScript/default" printer. And since you've
changed the output of that to kprinter, you'll see a "processing" dialog
for a split second when you print, after which kprinter will open up. There
you can choose all your printers, including PDF, PostScript, and any CUPS
installed printers :) .

E. If you have an older version of debian (known gtk bug issues) you might
try (verify) this:

1. From the terminal change into the gtk-2.0 directory...
cd /etc/gtk-2.0 [if you have a different version,check for the gtkrc file
as in 2.]

2. Use sudo and a text editor (my editor of choice is "vi") to create the
gtkrc file in the /etc/gtk-2.0 directory...
sudo vi gtkrc

3. Add the following to your newly-created gtkrc file...
gtk-print-backends="lpr,file"

4. Exit the text editor and save your newly-created gtkrc file.

5. Re-start your computer to incorporate the changes. [Not sure why they
suggest this step, but it's in all the posts...]

6. Re-open firefox and you should be able to print to "lpr" from it!


Respond with logs and test output with exact versions please?
--
(503) 754-4452 Android
(623) 239-3392 Skype
(623) 688-3392 Google Voice
**
it-clowns.com
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss