Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed hplip from rpm packages for suse that I found on rpmseek.com and I want to set up my dj3745 printer.
However, hpssd won't start. It says:
Quote:
# /etc/init.d/hplip restart
Stopping hpiod: /etc/profile: line 285: export: `PATH###': not a valid identifier
[ OK ]
Stopping hpssd: /etc/profile: line 285: export: `PATH###': not a valid identifier
[ OK ]
Starting hpiod: [ OK ]
Starting hpssd: [FAILED]
Note: You may have to restart the cupsd.
I tried to run hpssd manually by running /usr/share/hplip/hpssd.py and it says:
Quote:
# ./hpssd.py
Traceback (most recent call last):
File "./hpssd.py", line 50, in ?
from base import async, utils, database, status, pml, slp
File "/usr/share/hplip/base/database.py", line 38, in ?
import device
File "/usr/share/hplip/base/device.py", line 38, in ?
from prnt import pcl, ldl, cups
File "/usr/share/hplip/prnt/cups.py", line 38, in ?
import cupsext
ImportError: No module named cupsext
I guess it tries to load a file called cupsext.py and it can't find it. I searched in /usr but I can't find it. Am I missing something?
Help!
Edit:
Wrong, there it is: /usr/lib/python2.4/site-packages/cupsext.so
Is this what it tries to load? Why it cant load it?
not sure about the particular "cupsext.py" location or purpose, however, here are some usefull CUPS commands:
service cups status
/etc/init.d/cupsys start
/etc/init.d/cupsys restart
Some more useful commands:
To show the accepting state of printers: lpstat -a
To show printers with their attached devices: lpstat -v
To list queued print jobs: lpstat -o
To cancel all print jobs: cancel -a Okipage8z
To cancel print job 37: cancel 37
To delete a printer: lpadmin -x Okipage8z
To view the CUPS log file: cat /var/log/cups/error_log
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.