System :: Trying to get CUPS to work



Thanks - I tried a symlink in /opt/bin but got the same result...
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%)
-----------------------------------------------------------------------------------------


...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?

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?
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.
Next Page...
original here.