Re: can I define a default printer in firefox? how?
Paul E Condon wrote:
I'm running cups under sarge. I can print from firefox, but
the print window shows five printers, two are attached to a
Mac in the next room, two are figments of firefox's imagination.
The firefox print window always comes up with one of the figments
preselected (its designation is "xp_ps_spooldir_HOME_Xprintjobs@:64" )
If I forget to select a proper printer, I don't get output until
I fix my mistake. I hope there is a way to select a useful default
printer which will be automatically pre-selected when a choose to
print a page. Does anyone know if I can do this? And how?
The mozilla-xprint behavior is mostly controlled by the settings in
/etc/Xprint/C/print/Xprinters.
For example, to get rid of the two spurious printers, uncomment the line
Augment_Printer_List %none%
and make sure the other "Augment_Printer_List ..." lines are all
commented out. ("man Xprint" has more info on other options.)
In my case this was enough to make mozilla respect my default printer.
(It may be necessary to install the package "cupsys-bsd" and purge the
package "lpr"; I am not sure about this.)
You can also redirect the print job to the print manager of your desktop
environment by clicking on "Properties..." and changing the "Print
command" field. Mozilla remembers this setting. For example, if you use
KDE you can use "kprinter" as the command and then you will get the
normal KPrintManager dialog, which knows your default settings and
allows you to select things such as portrait/landscape, duplexing, etc.
for every individual print job. (The mozilla dialog will still come up
first, but you can just click OK since kprinter will override all
settings.)
Some more tricks are discussed here:
http://lists.debian.org/debian-user/2006/02/msg02068.html
Regards,
Florian
Reply to: