LinuxQuestions.org
Register a domain and help support LQ
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 08-11-2005, 03:55 PM   #16
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30

If this is of any help, this is hp-info:

simon@box:~$ hp-info

HP Linux Imaging and Printing System (ver. 0.9.4)
Device Information Utility ver. 3.0

Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


Choose device from probed devices connected on bus(es): usb,cups:

Using device: hp:/usb/psc_1100_series?serial=MY37ND93FBB0

Info for: hp:/usb/psc_1100_series?serial=MY37ND93FBB0

Device Parameters:
Parameter Value(s)
---------------------------- ----------------------------------------------------------
3bit-status-code 24
3bit-status-name NoFault
agent1-ack False
agent1-desc Black cartridge
agent1-dvc 0
agent1-health 0
agent1-health-desc OK
agent1-hp-ink False
agent1-kind 3
agent1-known False
agent1-level 32
agent1-level-trigger 0
agent1-sku 56/27
agent1-type 1
agent1-virgin False
agent2-ack False
agent2-desc Tri-color cartridge
agent2-dvc 0
agent2-health 0
agent2-health-desc OK
agent2-hp-ink False
agent2-kind 3
agent2-known False
agent2-level 9
agent2-level-trigger 0
agent2-sku 57/28
agent2-type 2
agent2-virgin False
back-end hp
cups-printers
dev-file
device-state 0
deviceid MFG:Hewlett-Packard;MDLsc 1100
series;CMD:LDL,MLC,PML,DYN;CLS:PRINTER;1284.4DL:4d,4e,1;SN
:MY37ND93FBB0;S:0380008000820000002c1480020c2500009;
duplexer 0
error-state 0
host
in-tray1 True
in-tray2 False
is-hp True
media-path 2
panel 0
panel-line1
panel-line2
photo-tray 0
port 1
r 0
revision 3
rg 0
rr 0
rs 0
serial MY37ND93FBB0
status-code 1000
status-desc The printer is idle.
supply-door 0
top-door 1

Model Parameters:
Parameter Value(s)
---------------------------- ----------------------------------------------------------
align-type 4
clean-type 2
color-cal-type 0
copy-type 0
embedded-server-type 0
fax-type 0
io-control 0
io-mfp-mode 2
io-mode 1
io-scan-port 0
io-support 2
model psc_1100_series
model-ui HP PSC 1100 series
panel-check-type 1
pcard-type 0
r0-agent1-kind 3
r0-agent1-sku 56/27
r0-agent1-type 1
r0-agent2-kind 3
r0-agent2-sku 57/28
r0-agent2-type 2
scan-type 1
status-type 2
support-type 2
tech-class DJ3320
tech-type 2

Status History:
Date/Time Status Description (code)
---------------------------- ----------------------------------------------------------
08/11/2005 20:55:19 The printer is idle. (1000)
08/11/2005 20:54:01 The printer is idle. (1000)
 
Old 08-11-2005, 04:04 PM   #17
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by simcox1
The hplip help files talk about configuring the scanner with the right uri. What is the uri? When I installed my printer using localhost:631 I simply gave it a name etc, the printer was there in the list, I wasn't asked for a uri. Is that an ip address? How do I find that out?
To find out the correct URI use probe:
Code:
/usr/share/hplip/probe
Here is the output of probe on my pc:
mmyoung@darkstar:~$ /usr/share/hplip/probe

HP Linux Imaging and Printing System (ver. 0.9.4)
Device Detection (Probe) Utility ver. 1.2

Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Device URI Model
------------------------------------------- ------------------
hp:/usb/PSC_1600_series?serial=MY4ADB4209L0 HP PSC_1600_series

When you set up your printer in CUPS you won't see the URI, mine just shows up as usb printer #1 (5540), but when you finish the URI should be listed on the page where you can do a test print job.

Later,
MMYoung
 
Old 08-11-2005, 04:31 PM   #18
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
This is on the cups admin page.


Device URI: usb://Hewlett-Packard/psc%201100%20series?serial=MY37ND93FBB0

The only difference between that and my printer model number is an extra BO on the end!

Last edited by simcox1; 08-11-2005 at 04:40 PM.
 
Old 08-11-2005, 04:39 PM   #19
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by simcox1
Using device: hp:/usb/psc_1100_series?serial=MY37ND93FBB0
That's your URI. From looking at the rest of the info output it looks like everything is in order with this lone exception:
cups-printers (yours)
cups-printers PSC-1610 (mine)

Any other differences are basically due to the different printers. You might want to check on their mailing list to see if anything like what you are experiencing has been reported before. If not post there and see what they say. The folks at HP seem to be pretty helpful and are fairly responsive.

You might want to double check your printer setup in CUPS web admin one more time just to be sure. Heck you've got nothing to lose so just delete the printer and start from scratch .

Later,
MMYoung
 
Old 08-11-2005, 09:58 PM   #20
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Something I just thought of, if you can open the HP Device Manager from your DE, take a look at the configuration settings. Click on Configure --> Configure HP Device --> Function Commands. In there my scan setting is:

xsane -V %SANE_URI%

HTH,
MMYoung
 
Old 08-11-2005, 10:20 PM   #21
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
I stand corrected on adding the device.

I must have been thinking of hpoj.
 
Old 08-12-2005, 04:37 AM   #22
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by sporks
I stand corrected on adding the device.

I must have been thinking of hpoj.
Probably so. I used the hpoj prior to hplip and the main thing I remember about that was having to be sure and start ptal before cups, which meant having to "monkey" around with rc.M. Now I just add a little if/fi thingy to rc.local to start hplip without having to worry about when cups starts.

I've built my own package of hplip and have "tinkered" with it to make it more Slackware like rather than RH like, basically moved the /etc/initd/hplip to /etc/rc.d/rc.hplip and then deleted the initd folder, and the doinst.sh file has a function that "byte-compiles" the python files so that it executes faster.

Later,
MMYoung
 
Old 08-12-2005, 10:47 AM   #23
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
Upon my misthinking in this thread, I upgraded to hplip using the www.linuxpackages.org package, mostly cause the scanning stopped working with hpoj. Now it works even better than before. Gotta make sure you have all the dependencies by trying to install using the Debian sequence in the Installation page.
 
Old 08-12-2005, 11:36 AM   #24
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by tuxdev
Upon my misthinking in this thread, I upgraded to hplip using the www.linuxpackages.org package, mostly cause the scanning stopped working with hpoj. Now it works even better than before. Gotta make sure you have all the dependencies by trying to install using the Debian sequence in the Installation page.
These are the install instructions I have posted for my personal package. They've worked everytime for me and others have installed using these instructions with no problems.

This software requires the following to be installed:
kdebindings-3.3.x
kdelibs-3.3.x
kdemultimedia-3.3.x
qt-3.3.x,
net-snmp-5.2.x.

If you already have KDE installed then the only package you need is net-snmp from linuxpackages.net, everything else is installed with a full install of Slackware Install CD1. I use Gnome so I had to install the KDE stuff to satisfy all dependencies.

1. Install kdebindings, kdelibs, kdemultimedia, and qt (if necessary).

2. Install net-snmp.

3. Install hplip-0.9.4

4. cd to /etc/rc.d and rename rc.hplip.new to rc.hplip.

5. Run ./rc.hplip start. You should just see two lines ending in OK, anything else
and there's a problem. Note any errors.

6. You will need to add the following (or something similar) to your rc.local file
so that rc.hplip will run at boot.

# Start the HPLIP Printer/Scanner service
if [ -x /etc/rc.d/rc.hplip ]; then
echo "Starting HPLIP Printer/Scanner Daemon"
/etc/rc.d/rc.hplip start
echo "HPLIP Started"
fi

7. Next you need to restart cups by running /etc/rc.d/rc.cups restart

8. If everything worked so far, click on Applications --> Accessories --> HP Device Manager

Later,
MMYoung
 
Old 08-13-2005, 01:07 PM   #25
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
Quote:
Originally posted by simcox1
The hplip help files talk about configuring the scanner with the right uri. What is the uri? When I installed my printer using localhost:631 I simply gave it a name etc, the printer was there in the list, I wasn't asked for a uri. Is that an ip address? How do I find that out?
When you configure it through cups it'll give the URI that starts hp:.....
 
Old 08-13-2005, 01:20 PM   #26
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
GRRR, I installed everything, stopped CUPS, started hplip restarted CUPS. Went to the toolbox, no devices configured. Went through localhost:631 to configure the device using the hp: URI.

Only when I open Kooka or Xsane it tells me that there are no scanning devices detected. :?
 
Old 08-13-2005, 02:31 PM   #27
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Would it work better if you compiled hplip? I haven't tried yet but packages sometimes don't work as well. I can't get into the device manager at all.
 
Old 08-13-2005, 02:40 PM   #28
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
Quote:
Originally posted by simcox1
Would it work better if you compiled hplip? I haven't tried yet but packages sometimes don't work as well. I can't get into the device manager at all.
I guess I could try compiling it. I already tried that and it pooped out on me on installation.
 
Old 08-13-2005, 04:15 PM   #29
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
This is what I get when I compile and try to install:
Quote:
echo -e "\n[hplip]\nversion=0.9.4\njdprobe=0\n" >> /usr/local/share/hplip/hplip.conf
echo -e "[dirs]\nhome=/usr/local/share/hplip\n" >> /usr/local/share/hplip/hplip.conf
sed 's:HPIODDIR=:HPIODDIR=/usr/local/sbin:' < /usr/local/share/hplip/hplip.sh > /usr/local/share/hplip/hplip.tmp; \
sed 's:HPSSDDIR=:HPSSDDIR=/usr/local/share/hplip:' < /usr/local/share/hplip/hplip.tmp > /usr/local/share/hplip/hplip; \
rm -f /usr/local/share/hplip/hplip.tmp
if [ "no" = "no" ]; then \
/home/adam/Packages/hplip-0.9.4/install-sh -d /etc/hp; \
/usr/bin/ginstall -c -m 644 /usr/local/share/hplip/hplip.conf /etc/hp; \
if [ -d /etc/init.d ]; then \
/usr/bin/ginstall -c /usr/local/share/hplip/hplip /etc/init.d; \
if [ "" = "" ]; then \
if [ -x /install_initd ]; then \
/install_initd hplip; \
else \
/chkconfig hplip reset; \
fi \
fi \
fi \
fi
/bin/sh: /chkconfig: No such file or directory
make[3]: *** [install-data-hook] Error 127
make[3]: Leaving directory `/home/adam/Packages/hplip-0.9.4'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/home/adam/Packages/hplip-0.9.4'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/adam/Packages/hplip-0.9.4'
make: *** [install-recursive] Error 1
 
Old 08-14-2005, 10:38 AM   #30
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
According to the hplip homepage all this required:

---------------------------------------------------------

GNU Ghostscript 7.05 or higher.

Foomatic 3.0.2 or higher.

Qt 3.x or higher for UI toolkit.

PyQt 3.11 or higher for Qt wrapper for Python.

Python 2.2 or higher and python-devel.

CUPS 1.15 or higher and cups-devel.

net-snmp 5.0.9 or higher and net-snmp-devel for network support.

HPLIP has been tested on most major Linux distributions, but only 32-bit and little-endian systems have been tested.

chkconfig or install_initd for HPLIP startup/shutdown script.

------------------------------------------------------------------

I'm not totally sure I've got them. Apart from net-snmp I can't see cups-devel, foomatic, PyQt or Ghostscript.
 
  


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
hplip have not worked :( mbt Linux - Hardware 2 12-03-2005 11:49 AM
Hplip thoyyib Linux - Hardware 1 12-01-2005 01:35 PM
HPLIP on Slackware or, getting my printer working Rayston Slackware 5 11-21-2005 02:36 PM
HPLIP for hp usb all-in-one simcox1 Slackware 1 10-03-2005 01:44 AM
HPLIP toolbox zba78 Slackware 0 02-10-2005 06:25 AM


All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
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