LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Force Mozilla to Print to CUPS? (https://www.linuxquestions.org/questions/linux-hardware-18/force-mozilla-to-print-to-cups-173045/)

simsjr 04-21-2004 06:18 PM

Force Mozilla to Print to CUPS?
 
Hey All,

I had no problem configuring CUPS for my HP printer - the test page printed with no problem. However, it seems Mozilla wants to print to "Postscript/default" using the the "lpr ${HPDeskjet5550}" command.

I'm using Slackware 9.1 on Fluxbox.

Anyone know how I can make Mozilla print using CUPS? I'm going crazy!

finegan 04-22-2004 02:44 AM

Slackware has a bug in it, its only mentioned in the welcome email...

You have the apsfilter version of lpr installed, but the cups version of everything else... no kidding, just use pkgtool to uninstall cups and then use it again to re-install cups (after grabbing the package from a mirror) Look at the man page of "lpr" right now and its oldschool apsfilter lpr, after the re-install you'll see the cups version of lpr.

Cheers,

Finegan

dog606 04-23-2004 08:57 PM

I had the same exact problem...
I fixed it going to Mozilla File Menu -> Print
At the Printer where it says "Postscript/default" click Properties.
Another window will popup, at the "Print Command" field, change lpr for lpr-cups.
Before:
lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}
After:
lpr-cups ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}

Click Ok and try to print. It worked for me, I hope it does for you too. Good Luck!

simsjr 04-23-2004 10:09 PM

Aha! I'll give that a shot before I try to recompile the kernel. Hopefully that does it.

Thanks you two!

e1000 04-23-2004 10:48 PM

dude, lpr will work to print to CUPS, problem is that slackware installs 'LPRng' by default which is bound to the lpr command. if you uninstall LPRng and CUPS then reinstall CUPS, it will work.

I had the exact same problem when I first tried to get my printer working.

simsjr 04-23-2004 10:58 PM

...And to clarify I DON'T reinstall LPRng?

e1000 04-24-2004 01:25 PM

that is correct, LPRng only gets in the way
and if it works, tell us.

In my opinion, I think that the next slackware release should either remove LPRng, or make you choose between the two in some sort of specalized install script (like the WM selection script), rather than leting you install both.

simsjr 04-24-2004 08:31 PM

Hear, hear!

bec_221 12-01-2004 12:22 PM

Printing from Mozilla w/in Fedora
 
Hi All,
I am having a problem printing in Mozilla as well. I can print from the command line or from open office and I've tried the above suggestions however, I still cannot print. I am alsoo able to print a CUPSv1.1.x test page fine. Any help is greatly appreciated.
:-)


All times are GMT -5. The time now is 05:51 AM.