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
Pages: (8) </ 1 2 3 4 [5] 6 7 8 >/

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

reply to topic new topic new poll
Topic: Trying to get CUPS to work, With extension or hplip< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: July 23 2007,18:43 QUOTE

Thanks - I tried a symlink in /opt/bin but got the same result...
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: July 26 2007,19:01 QUOTE

Got it:
Code Sample
sudo cp /opt/hplip/lib/python2.3/site-packages/* /opt/python/lib/python2.3/site-packages


This function is particularly DSL - pity you can't see the lurid colour  :)
Code Sample
$ hp-levels        
...
Using device: hp:/usb/OfficeJet_G85?serial=SGG13E0C49VL

Black cartridge
Part No.: 45 (51645A)
Health: Good/OK

-----------------------------------------------------------------------------------------
|////////////////////                                                                              | (approx. 20%)
-----------------------------------------------------------------------------------------

Tri-color cartridge
Part No.: 78 (C6578DN/C6578AN)
Health: Good/OK

-----------------------------------------------------------------------------------------
|//////////////////                                                                                | (approx. 18%)
-----------------------------------------------------------------------------------------

Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: July 27 2007,11:43 QUOTE

...Not such a breakthrough as I originally thought. Now I can get print output in the following ways:

1. "Print Test Page" button in cups admin
2. $ hp-testpage -p OfficeJetG85
3. $ lp -d OfficeJetG85 Events

Note that /opt/hplip/bin is first in $PATH from the terminal window.

However I cannot print from Beaver, Ted, Firefox, etc - if I try from Beaver, I get this:
Code Sample
$ Status Information:
sending job 'dsl@box+680' to OfficeJetG85@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - No such file or directory
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports

But:
Code Sample
$ lpstat -a
OfficeJetG85 accepting requests since Fri Jul 27 14:07:14 2007
$ lpq
OfficeJetG85 is ready
no entries
From this I infer that Beaver et al are trying to use /usr/lp rather than /opt/hplip/bin/lp but how to fix it without resorting to replacing /usr/lp & /usr/lpr with symlinks?
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: July 27 2007,12:09 QUOTE

Did you edit the config files for those apps to use the paths you're using? See ~/.beaver/General for its print command. I don't know about Ted and I don't see an rc file for it. Maybe print to file and then print the file?

--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: July 27 2007,12:20 QUOTE

I guess I could edit the config files, but I would need to do that for all of the DSL apps I'm likely to print from. I was more looking for some way to globally modify the DSL path so that all apps and terminal windows would use the modified path.
Back to top
Profile PM 
37 replies since June 09 2007,13:14 < Next Oldest | Next Newest >

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

Pages: (8) </ 1 2 3 4 [5] 6 7 8 >/
reply to topic new topic new poll
Quick Reply: Trying to get CUPS to work

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