Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printing in Firefox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Thu Aug 26, 2004 3:07 am    Post subject: Printing in Firefox Reply with quote

I not sure if this is the right forum for this but...

I can't print in firefox. There is only one printer in the print dialog and its "PostScript/default" When I click print, it generates and everything, but it never prints. I can print in everything else. The print command looks like it needs some modification, but I don't know what to:

Code:
lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}

_________________
Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Thu Aug 26, 2004 3:16 am    Post subject: Reply with quote

I just change it to: lpr -P<YOUR_PRINTER_HERE>. Of course if you just want the default printer, just lpr will do. HTH :D
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Fri Aug 27, 2004 5:37 am    Post subject: Reply with quote

hm, that doesn't work either. I tried both lpr and lpr -P<YOUR_PRINTER_HERE>.
_________________
Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10
Back to top
View user's profile Send private message
shiftless
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2003
Posts: 128

PostPosted: Fri Aug 27, 2004 12:54 pm    Post subject: Reply with quote

what is the output of "lpstat -s" ?
Back to top
View user's profile Send private message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Fri Aug 27, 2004 6:50 pm    Post subject: Reply with quote

Code:
[Fri Aug 27 14:49:25] 1:~$ lpstat -s
system default destination: queue
device for print: usb://HP/DeskJet%20810C?serial=CN99R1P1XRGI
device for queue: /dev/null

_________________
Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10
Back to top
View user's profile Send private message
shiftless
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2003
Posts: 128

PostPosted: Fri Aug 27, 2004 7:22 pm    Post subject: Reply with quote

electrofreak wrote:
Code:
[Fri Aug 27 14:49:25] 1:~$ lpstat -s
system default destination: queue
device for print: usb://HP/DeskJet%20810C?serial=CN99R1P1XRGI
device for queue: /dev/null


Your default printer is set to the printer instance named "queue". The printer instance named "queue" points to /dev/null so nothing will ever be printed via the default printer.

Your best option is to set your default printer to point to "print" instead of "queue". How you do this depends on your print software, if you are using Cups you can just use the web interface, for others i dont know.

Otherwise you should just be able to add
Code:
export MOZ_PRINTER_NAME=print

to your .bashrc to get printing working correctly in firebird.
Back to top
View user's profile Send private message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Fri Aug 27, 2004 8:34 pm    Post subject: Reply with quote

shiftless wrote:
electrofreak wrote:
Code:
[Fri Aug 27 14:49:25] 1:~$ lpstat -s
system default destination: queue
device for print: usb://HP/DeskJet%20810C?serial=CN99R1P1XRGI
device for queue: /dev/null


Your default printer is set to the printer instance named "queue". The printer instance named "queue" points to /dev/null so nothing will ever be printed via the default printer.

Your best option is to set your default printer to point to "print" instead of "queue". How you do this depends on your print software, if you are using Cups you can just use the web interface, for others i dont know.

Otherwise you should just be able to add
Code:
export MOZ_PRINTER_NAME=print

to your .bashrc to get printing working correctly in firebird.


Thanks a lot. Now it works. However, I'm wondering, what is this cups web interface you are talking about? How do I access it?
_________________
Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10
Back to top
View user's profile Send private message
kLUMSY bOT
n00b
n00b


Joined: 23 Jul 2004
Posts: 69

PostPosted: Sat Aug 28, 2004 3:17 am    Post subject: Reply with quote

visit http://localhost:631
Back to top
View user's profile Send private message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Tue Aug 31, 2004 6:04 pm    Post subject: Reply with quote

kLUMSY bOT wrote:
visit http://localhost:631


thanks...

Its kinda slow and eats a lot of CPU time. odd.
_________________
Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum