LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-21-2004, 06:18 PM   #1
simsjr
Member
 
Registered: Apr 2004
Location: I'm everywhere, Focker!
Distribution: Slackware
Posts: 53

Rep: Reputation: 16
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!

Last edited by simsjr; 04-21-2004 at 06:21 PM.
 
Old 04-22-2004, 02:44 AM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
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
 
Old 04-23-2004, 08:57 PM   #3
dog606
LQ Newbie
 
Registered: Aug 2003
Location: PR
Distribution: Slackware
Posts: 17

Rep: Reputation: 0
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!
 
Old 04-23-2004, 10:09 PM   #4
simsjr
Member
 
Registered: Apr 2004
Location: I'm everywhere, Focker!
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 16
Thumbs up

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

Thanks you two!
 
Old 04-23-2004, 10:48 PM   #5
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
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.
 
Old 04-23-2004, 10:58 PM   #6
simsjr
Member
 
Registered: Apr 2004
Location: I'm everywhere, Focker!
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 16
...And to clarify I DON'T reinstall LPRng?
 
Old 04-24-2004, 01:25 PM   #7
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
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.

Last edited by e1000; 04-24-2004 at 01:30 PM.
 
Old 04-24-2004, 08:31 PM   #8
simsjr
Member
 
Registered: Apr 2004
Location: I'm everywhere, Focker!
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 16
Hear, hear!
 
Old 12-01-2004, 12:22 PM   #9
bec_221
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
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.
:-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
CUPS Cannot print in mozilla non-root (can as root)? mismacku Linux - Software 0 08-26-2004 03:07 AM
Mozilla can't print with cups? hraposo Slackware 4 08-06-2004 02:55 PM
Using Cups To Print With Mozilla Problems roorings Linux - Software 3 11-01-2003 10:11 PM
Print to CUPS from Mozilla bax Linux - Software 2 02-11-2003 04:10 PM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration