LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2004, 11:04 PM   #1
AlteZza2k2
Member
 
Registered: Sep 2003
Posts: 39

Rep: Reputation: 15
firefox and printing


hello, im trying to get printing to work in firefox, however, my printer that i setup using cups doesnt show up. when i print from other programs, like gedit, its no problem, but my printer doesnt show up in firefox. any ideas?
 
Old 03-20-2004, 01:03 AM   #2
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
If you have KDE, and you have it setup with CUPS, then you can click "Properties" in the print dialog, and select "kprinter" as your print command. This will open a KDE dialog where you can select your printer. The default in Firefox is to use standard old "lpr", which should probably work with your printer, and I really doubt you'd not any difference.
 
Old 03-20-2004, 11:37 AM   #3
usernamenumber
Member
 
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
That's because Mozilla uses a nonstandard (and, frankly, really wierd) print dialog. You can do as the above poster suggests or you have a couple of other options:

1. If the printer you want to use is the default in CUPS, then mozilla will print to that, well, by default.

2. If not, and you are using bash as your shell (this is the default in most distros), then you can set the MOZ_PRINTER_NAME to tell Mozilla what printer to use. Add the following line to the .bashrc file in your home directory:

export MOZ_PRINTER_NAME="myprinter"

where "myprinter" is whatever you've called your new printer in CUPS. Then log out and log back in. There are ways to get around this annoying need, but it's simplest to just re-login. Mozilla should now use that printer.

3. It occurs to me that even if you run gnome you can still run kprinter. See if it's installed and if it is then you can still do as the above poster suggests and have Mozilla use it.

Hope this helps,

--Brad
 
Old 07-18-2004, 12:43 AM   #4
Earl Parker II
Member
 
Registered: Jan 2002
Location: Shelby, NC, US
Distribution: Linux Mint 19.2
Posts: 130

Rep: Reputation: 17
usernamenumber,

Though I'm using bash as my shell I can't seem to find .bashrc anywhere. Strikes me as odd but, as far as I can tell, no .bashrc.

I have an NFS machine that 1) my printer is connected to and 2) Firefox is actually installed on. The "shortcut" on my client machine points to the finefox script file on my NFS machine. This arrangement works fine until I want to print. I suppose I could do it the way tk31337 suggests but I was hoping for a little more elegant solution. BTW I'm running Slack 10.0 on both machines, CUPS is installed and works well with everything else, including OOo1.1.1.

You mentioned another way to accomplish this. I'm very comfortable with command line and file editing, so any pearls of wisdom you might have on the subject would be most welcome.
 
Old 08-04-2004, 08:11 AM   #5
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
usernamenumber

Just a quick note of thanks for your post here.

I am using a Konica-Minolta magicolor 2300DL (color laser) which required a foo2zjs driver found via linuxprinting.org, and an ICM which incidentally came from a windows .exe file, and a .ppd that I created at the foo2zjs site and downloaded and installed.

It was your post however that enabled me to get my Mozilla 1.7.2 to work on my Suse 9.0 virtual machine.

Thanks again
 
  


Reply



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
Printing java applets from firefox? 95se Linux - Software 4 01-21-2010 02:48 AM
Firefox and Cups Printing 9.3 mpapet SUSE / openSUSE 6 02-12-2006 04:46 PM
Firefox printing size..... nemesi Slackware 2 07-15-2005 02:36 PM
printing from firefox viniosity Linux - Software 12 01-06-2005 06:03 PM
Firefox & printing mohapi Fedora 2 10-13-2004 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration