LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-01-2006, 01:46 PM   #1
digitalmojo17
LQ Newbie
 
Registered: Oct 2005
Location: toronto
Distribution: slackware
Posts: 10

Rep: Reputation: 0
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
 
Old 01-01-2006, 04:00 PM   #2
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
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 ) 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
 
Old 01-02-2006, 09:31 PM   #3
digitalmojo17
LQ Newbie
 
Registered: Oct 2005
Location: toronto
Distribution: slackware
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 01-02-2006, 10:12 PM   #4
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
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
 
Old 01-24-2006, 03:59 AM   #5
sucram2g
Member
 
Registered: Dec 2004
Location: Uganda
Distribution: SuSE
Posts: 36

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hp photosmart 2610 network printer adssse Linux - Hardware 1 12-10-2005 08:36 PM
HP Photosmart 7550 printer on network mewgle Linux - Hardware 1 12-07-2005 03:57 AM
HP all in one PCS 2510 photosmart printer Maldain Linux - Hardware 2 05-13-2005 09:56 AM
HP Photosmart USB printer recognised as scsi hard drive reddazz Linux - Hardware 3 04-09-2005 05:58 AM
Scanner and Printer! Khalinsar Linux - Hardware 1 09-14-2003 10:09 PM


All times are GMT -5. The time now is 12:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration