View previous topic :: View next topic |
Author |
Message |
electrofreak l33t


Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Thu Aug 26, 2004 3:07 am Post subject: Printing in Firefox |
|
|
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 |
|
 |
papal_authority Veteran


Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Thu Aug 26, 2004 3:16 am Post subject: |
|
|
I just change it to: lpr -P<YOUR_PRINTER_HERE>. Of course if you just want the default printer, just lpr will do. HTH  _________________ The free market gave me gonorrhea. |
|
Back to top |
|
 |
electrofreak l33t


Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Fri Aug 27, 2004 5:37 am Post subject: |
|
|
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 |
|
 |
shiftless Tux's lil' helper

Joined: 08 Oct 2003 Posts: 128
|
Posted: Fri Aug 27, 2004 12:54 pm Post subject: |
|
|
what is the output of "lpstat -s" ? |
|
Back to top |
|
 |
electrofreak l33t


Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Fri Aug 27, 2004 6:50 pm Post subject: |
|
|
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 |
|
 |
shiftless Tux's lil' helper

Joined: 08 Oct 2003 Posts: 128
|
Posted: Fri Aug 27, 2004 7:22 pm Post subject: |
|
|
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 |
|
 |
electrofreak l33t


Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Fri Aug 27, 2004 8:34 pm Post subject: |
|
|
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 |
|
 |
kLUMSY bOT n00b


Joined: 23 Jul 2004 Posts: 69
|
|
Back to top |
|
 |
electrofreak l33t


Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Tue Aug 31, 2004 6:04 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|