LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   hp-photosmart 2575 printer/scanner on slackware 10.2 (https://www.linuxquestions.org/questions/slackware-14/hp-photosmart-2575-printer-scanner-on-slackware-10-2-a-398391/)

digitalmojo17 01-01-2006 01:46 PM

hp-photosmart 2575 printer/scanner on slackware 10.2
 
as someone who still relatively new to linux, i'm happy that i have so far managed to stay the course with slackware. it has been not only the most challenging and difficult distribution, but also - and by consequence - the most informative as to what the linux experience is about, i think. my final task in setting up my system is to get a printer working in slackware and i need to seek guidance on this one.

i'm using slackware 10.2 2.4.31 with xfce as my desktop environment. i chose not to install any kde. my current printer is an hp-photosmart 2575 all-in-one. i have installed the latest cups software, hplip etc. and any dependencies that have been necessary. i've started cups and added the printer:

Quote:

Description: hp-photosmart
Location:
Printer State: idle, accepting jobs.
Device URI: usb://6543?serial=MY56M110WV04B8
xfprint-manager also shows it as the selected printer for cups. clicking "print test page" the paper loads but the print job immediately fails. clicking on "show completed jobs":


Quote:

Description: hp-photosmart
Location:
Printer State: idle, accepting jobs.
"unable to open print file "/usr/var/spool/cups/d00013-001" - Permission denied"
Device URI: usb://6543?serial=MY56M110WV04B8

ID Name User Size State Control
printer-13 Test Page root 15k aborted Restart Job
i have identical results trying to print from firefox and abiword. clicking on "configure printer":

Quote:

Admin

Error:

server-error-internal-error
using the terminal to open hp-toolbox:

Quote:

bash-3.00# hp-toolbox
Traceback (most recent call last):
File "/usr/bin/hp-toolbox", line 41, in ?
import base.async_qt as async
File "/usr/share/hplip/base/async_qt.py", line 85, in ?
from qt import *
ImportError: No module named qt
i can print from gimp, but only using one of the alternative drivers specifically compatible with gimp-print. also, xsane is unable to detect the scanner.

this is all consistant for both root and user.

i'm going to keep plugging away at this, but if anyone has any help to offer i'd really appreciate it. thanks.

digitalmojo17

MMYoung 01-01-2006 04:00 PM

Looks like you missed installing Qt (no module named qt). HPLIP requires:
kdebindings-3.3.x, kdelibs-3.3.x, qt-3.3.x, and net-snmp-5.2.x.

There is a ./configure "switch" (I can't remember what it is right now) to exclude the network (net-snmp) checking if you don't have a network, nor ever plan on using your printer over the network if you compile HPLIP yourself. If you didn't I'm fairly certian you will need the net-snmp package as well as all of the hplip packagers I know of (including myself :D) always compile with net-snmp installed. The others can be installed from the second Slackware CD.

Once you get all the proper dependencies installed the proper uri for HPLIP starts with hp:/whatever. For instance mine is:
Using device: hp:/usb/PSC_1600_series?serial=MY4ADB4209L0

BTW, if you want I can point you to where my packages are, just PM me for the URL.

HTH,
MMYoung

digitalmojo17 01-02-2006 09:31 PM

thanks.

ok. i have installed both net-snmp and qt-x11-3.3.5. trying to install kdelibs:

Quote:

checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt) no t found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
i'm guessing that i've either installed qt in the wrong place (usr/local/qt), or i have to set some environment or path variable?

i appreciate the help, mate.

digitalmojo17

ps. i tried to PM you earlier, but was having some problem accessing the page or something. i'll try again later.

MMYoung 01-02-2006 10:12 PM

If you want you can left click on my screen name and you should get a drop down list to email me. That will be fine too and should work better.

Later,
MMYoung

sucram2g 01-24-2006 03:59 AM

bash-3.00# hp-toolbox
Traceback (most recent call last):
File "/usr/bin/hp-toolbox", line 41, in ?
import base.async_qt as async
File "/usr/share/hplip/base/async_qt.py", line 85, in ?
from qt import *
ImportError: No module named qt

I had the same problem on my suse 10 box. It means that the the the python-qt is looking in the wrong place for the libraries. This can occur after a system update eg, when u update from python2.3 to python2.4. They will still use the path of
(suse) /usr/lib/python2.3/*
So what you can do is copy all files in the (suse) /usr/lib/python2.3/site-packages/ to the correct python Dir and edit the paths in the config files.

Hope it helps


All times are GMT -5. The time now is 07:18 PM.