Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to select a printer in apps, Nothing in the drop-down menu< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 12 2007,08:18 QUOTE

I'm working on tidying up the hplip extension and just noticed that when there is more than one printer available it doesn't seem to show up in applications like ted, firefox, openoffice, etc.

I would have expected the print dialogue drop-down box to show all printers available as per the cups browser interface but they don't. Firefox and openoffice print to the default printer and ted seems confused and doesn't print at all.

If I try "hp-print testpage" from a terminal window, the available printers are listed and I'm asked to select one.

Is there some trick to making multiple printers available in applications?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 12 2007,14:24 QUOTE

I found the solution for ted - apparently it looks for printers in four ways:

1. lpc status
2. /usr/sbin/lpc status
3. enq -As
4. lpstat -a

Adding the symlink /usr/sbin/lpc -> /opt/hplip/sbin/lpc and/or /usr/bin/lpstat -> /opt/hplip/bin/lpstat caused all of the available printers to be shown in ted.

I'm still stuck with firefox and openoffice (which might require spadmin which is not in the extension) - any ideas?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 13 2007,07:45 QUOTE

The trick for firefox appears to be as follows:

1. Enter "about:config" in the url box
2. Enter "print" in the filter box to narrow down the list of preferences
3. Double-click on "print.printer_list"
4. Enter the names of your cups printers, separated by spaces, eg:

"OfficeJetK80 OfficeJetK80Fax OfficeJetG85@192.168.1.100"
5. Restart firefox

You should now see all of your printers in the print dialogue drop-down box.

You can also change the default paper size by entering "A4" in "print.postscript.paper_size"
Back to top
Profile PM 
2 replies since Sep. 12 2007,08:18 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: How to select a printer in apps

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code