Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Howto] HPLIP & CUPS
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mhoskins
n00b
n00b


Joined: 23 Jan 2004
Posts: 64
Location: Southern New Joisey

PostPosted: Fri Sep 16, 2005 12:12 pm    Post subject: hp6800 - JetDirect error / Maybe SNMP? /Maybe sip? Reply with quote

The HOW-TO is very good. I appreciate the effort that has been put in to it. I am stuck somewhere in the woods here. I followed the build instructions and all the USE flags and everything emerged with no problems.

Code:

$ sudo ./check

 HP Linux Imaging and Printing System (ver. 0.9.4)
 Dependency/Version Check Utility ver. 0.1

 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.

 Checking Python version...
 --> Version 2.3.5 installed.
 --> OK
 Checking for SIP...
 --> OK
 Checking for PyQt...
 --> OK
 Checking Qt version...
 --> Version 3.3.4 installed.
 --> OK
 Checking SIP version...
 --> Version 4.1.1 installed
 --> OK
 Checking PyQt version...
 --> Version 3.13.0 installed.
 --> OK

 If any errors or warnings were reported, please refer to the installation instructions for
 installing dependencies at: http://hpinkjet.sourceforge.net/install.php#setup_env


Code:

$ sudo ./probe -bnet

 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            Name
   -------------------------------------  ---------------  --------
   hp:/net/Deskjet_6800?ip=192.168.1.105  HP Deskjet_6800  HP78F0E1


The CUPS page reports the following:

Code:

HP DeskJet 6840 Foomatic/hpijs (recommended)     
Description:
Location:
Printer State: idle, accepting jobs.
Device URI: hp:/net/Deskjet_6800?ip=192.168.1.105


Code:

$ sudo ./makeuri 192.168.1.105

 HP Linux Imaging and Printing System (ver. 0.9.4)
 Device URI Creation Utility ver. 2.3

 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.

 Creating URIs for '192.168.1.105':
 [ERROR]: Failed (error code=12). Please check address of device and try again.


All the daemons appear to be running. I went out and got the approproate PPD file. When I run the probe, everything appears to work. At the pulldown for "Device" under CUPS it says "hp no_device_found". So the config file was updated but some bit of information was not located. I tried the HP Deskjet route and that seemed to work to some degree. I get:

Quote:

"open device failed; will retry in 30 seconds..."
Device URI: hp:/net/Deskjet_6800?ip=192.168.1.105


from CUPS. So, something is still not happy. Clues are very welcome.

Code:

$ epm -q hplip net-snmp cups sip sane-backends sane-frontends PyQt perl python ghostscript foomatic
hplip-0.9.4
net-snmp-5.2.1.2-r1
cups-1.1.23-r1
sip-4.1.1
sane-backends-1.0.15
sane-frontends-1.0.13
PyQt-3.13
perl-5.8.6-r5
python-2.2.3-r5
python-2.3.5-r2
ghostscript-7.07.1-r8
foomatic-3.0.2
Back to top
View user's profile Send private message
KotBehemot
n00b
n00b


Joined: 28 Feb 2005
Posts: 71
Location: Poland Gdansk

PostPosted: Sat Sep 17, 2005 1:11 am    Post subject: HP DeskJet 3650 Reply with quote

Hi there i have a different problem, my printer is HP DeskJet3650 at first it doesn' wanted to print any test page but everything was allright, lsusb showed me that i have a printer connected to USB

Code:
lsusb
Bus 005 Device 003: ID 04b4:0001 Cypress Semiconductor Corp. Mouse
Bus 005 Device 002: ID 03f0:7204 Hewlett-Packard
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000


Than i have downloaded ppd file for my printer and also instaled cups and added it to rc-update, configured cups in administration tools via web browser, but it doesn't wanted to print any than tried to do emerging foomatic with it's databases still nothing at last something helped me when i downloaded hplip, it probes mine printer and else and finally i can print but when i try to get into HP Device Manager i can' get to it, cause it says i don' have any HP devices and i have to add tham in cups but i have it added allready and also typing in terminal hp-testpage says to me there is no any hp-devices but hp-probe says

Code:

hp-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/deskjet_3600?serial=TH36P124ZX6B  HP deskjet_3600


i got hp-device that is my printer. dunno what is maybe anyone know this problem and might be helpfull solveing it??
Back to top
View user's profile Send private message
mhoskins
n00b
n00b


Joined: 23 Jan 2004
Posts: 64
Location: Southern New Joisey

PostPosted: Sat Sep 17, 2005 1:42 am    Post subject: Correction from this morning's post Reply with quote

I went back through my notes and found that was a problem with the PyQt module before hplip emerged. The PyQt actually out of date. Once it was brought up to date, and hplip was re-emerged, and the daemons were restarted, the CUPS test print page that was queued up from a previous test came right out very nicely.

The only comment I would make regarding the whole document would be to move the emerge of hplip to the end of the emerge code window. That way all of the dependencies would be up to date for anybody who cut and pasted the command string into a terminal window. My .02.

Thanks again to the author and contributors. Very nice work.
_________________
--
To know even one life has breathed easier because you have lived.
This is to have succeeded. -Bessie Stanely, 1905
Back to top
View user's profile Send private message
Stephonovich
n00b
n00b


Joined: 20 May 2004
Posts: 72
Location: United States

PostPosted: Mon Sep 19, 2005 3:02 am    Post subject: Reply with quote

mhoskins, glad you got it working. Sorry I didn't reply; but I don't have as much time as I'd like to check many forums anymore. The emerge string has been changed as you suggested, BTW. Never thought of that. Good tip.

Rucok, my first question; did you emerge hplip with the usb flag? Second, how exactly did you add the printer in CUPS? With the 'USB Printer #n' option? If so, try again, using AppSocket/HP Jet Direct, with the string hp:/usb/deskjet_3600?serial=TH36P124ZX6B that you quoted below. Basically, identical to the HOWTO.

On a related note, hplip 0.9.5 was recently released. It should make it's way into Portage within a few days, and this may fix problems several users are having.
_________________
Who needs reincarnation when you've got parallel universes?
Back to top
View user's profile Send private message
Stephonovich
n00b
n00b


Joined: 20 May 2004
Posts: 72
Location: United States

PostPosted: Mon Sep 19, 2005 4:14 am    Post subject: Reply with quote

I posted this article on the Gentoo Wiki. Page is here. Had some formatting issues I had to work around, and a bit of re-writing to have it fit the style up there. In any case, thought I'd post it.
_________________
Who needs reincarnation when you've got parallel universes?
Back to top
View user's profile Send private message
KotBehemot
n00b
n00b


Joined: 28 Feb 2005
Posts: 71
Location: Poland Gdansk

PostPosted: Wed Sep 21, 2005 2:44 pm    Post subject: Reply with quote

Thanx for reply, first of all i want to say i didn' add my printer in CUPS with AppSocket/HP Jet Direct will try it and second i don' have hplip 0.9.5 in my portage tree yet, so i suppouse will have to wait :-) but thx for the advice...
Back to top
View user's profile Send private message
Stephonovich
n00b
n00b


Joined: 20 May 2004
Posts: 72
Location: United States

PostPosted: Wed Sep 21, 2005 6:08 pm    Post subject: Reply with quote

Rucok wrote:
Thanx for reply, first of all i want to say i didn' add my printer in CUPS with AppSocket/HP Jet Direct will try it and second i don' have hplip 0.9.5 in my portage tree yet, so i suppouse will have to wait :-) but thx for the advice...


I'm fairly confident the AppSocket/HP Jet Direct method will solve your problem. Let me know if it doesn't.

As to 0.9.5, yeah, it's not in Portage yet. Seems to be taking a bit longer than usual to make it's way in...
_________________
Who needs reincarnation when you've got parallel universes?
Back to top
View user's profile Send private message
bfdi533
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2003
Posts: 133

PostPosted: Tue Dec 13, 2005 1:06 pm    Post subject: Reply with quote

I have an HP psc 2410 Photosmart printer connected via usb. I did the emerge with the usb USE flag and followed the HOWTO up to the probe part.

hp-probe -busb -ldebug fails to find the printer yet lsusb shows it is connected:

Code:
ebdhome hplip # hp-probe -busb -ldebug

 HP Linux Imaging and Printing System (ver. 0.9.5)
 Device Detection (Probe) Utility ver. 1.3

 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.

 [DEBUG]: Sending: 'msg=probedevicesfiltered\nfilter=none\nbus=usb\nformat=cups\ntimeout=5\nttl=4\n'
 [DEBUG]: Received: 'msg=probedevicesfilteredresult\nresult-code=0\nnum-devices=0\nencoding=none\nlength=0\ndata:\n'
 [WARNING]: No devices found. If this isn't the result you are expecting,
 [WARNING]: check to make sure your devices are properly connected.
ebdhome hplip #

Code:
ebdhome hplip # lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 009: ID 03f0:3611 Hewlett-Packard
Bus 001 Device 001: ID 0000:0000
ebdhome hplip #

Code:
ebdhome hplip # ACCEPT_KEYWORDS=~x86 emerge -pv hplip

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-print/hplip-0.9.5  +X +cups +foomaticdb +ppds +qt +scanner +snmp* +usb 0 kB

Total size of downloads: 0 kB
ebdhome cups #


Any help would be great as I just switched from hpoj and now have no printing and no scanning.

UPDATE: You need to add the usblp module is a requirement for the USB printing to work. Once I compiled this and installed it (modprobe usblp), hp-probe then found my printer.
Back to top
View user's profile Send private message
Stephonovich
n00b
n00b


Joined: 20 May 2004
Posts: 72
Location: United States

PostPosted: Thu Dec 22, 2005 4:22 am    Post subject: Reply with quote

I haven't had time to do anything computer related for the past few months due to work. Indeed, I wiped my Gentoo install awhile back. I'm heading out for the Navy in March, so that will obviously cut my time even further. If I decide to get an x86 laptop, I'll put some form of Linux on it; perhaps Gentoo. I'm leaning towards an Apple (sacrilege, I know) because, quite honestly, I've gotten tired of tweaking. Linux is great, but once you no longer have the time to deal with it's quirks (especially with a distro such as Gentoo), it becomes a hassle.

In any case, this project will probably remain untouched from now on. I'll edit to include the module you mentioned, however. Thanks for the heads-up.
_________________
Who needs reincarnation when you've got parallel universes?
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Thu Dec 22, 2005 7:33 am    Post subject: Reply with quote

One problem that could come about with this guide is that it tells you to set the USE flags in the command line. So if later you remerge that program, it's going to have whatever flags are set in make.conf and /etc/portage/package.use

So if I run and update, the program gets updated but has those USE flags unset.

It's a better idea to set them in package.use

Like when I noticed that gaim was installed without spell-checking support (and I liked the feature), I did:
Code:
echo "net-im/gaim spell" >> /etc/portage/package.use


Now everytime I install gaim, it has spell-checking support.

But it's hardly a MAJOR issue; just worth noting.
Back to top
View user's profile Send private message
gemini91
Guru
Guru


Joined: 27 Nov 2003
Posts: 317
Location: Naples, Fl

PostPosted: Thu Dec 22, 2005 3:35 pm    Post subject: Reply with quote

I had a tough time getting this to work on my systems, so I thought I would update this
with how I did it. One system is running ~x86 the other ~amd64.
Both systems run UDEV-078, HPLIP-0.9.7, CUPS-1.1.23-r5

The first problem was getting hpssd and hpiod to run, I woud get errors about
no socket, connection refused, when running hp-probe -busb

Edit
/usr/share/hplip/hpssd.py
CHANGE: #!/usr/bin/env python
TO: #!/usr/bin/python
Restart hplip: /etc/init.d/hplip restart
EDIT: NOTE YOU WILL LOSE THIS WITH AN UPDATE TO HPLIP

After that when I went into cups to configure the printer, under Device:
I had 'hp no_devices present'
Instead of hp:/usb/photosmart.7550?serial=CN33T420CT7E (HP photosmart_7550)
Also when bringing up Toolbox I got the same error 'no hp devices present'

I re-emerged cups, restarted cups (/etc/init.d/cupsd restart) and everything worked.

I hope this will save someone a lot of time.
Back to top
View user's profile Send private message
webhawg
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 293

PostPosted: Thu Dec 22, 2005 7:38 pm    Post subject: Reply with quote

I agree. This guide was very helpful. My PSC 2610 works great.
Back to top
View user's profile Send private message
Stephonovich
n00b
n00b


Joined: 20 May 2004
Posts: 72
Location: United States

PostPosted: Fri Dec 23, 2005 5:43 am    Post subject: Reply with quote

slycordinator wrote:
One problem that could come about with this guide is that it tells you to set the USE flags in the command line. So if later you remerge that program, it's going to have whatever flags are set in make.conf and /etc/portage/package.use

So if I run and update, the program gets updated but has those USE flags unset.

It's a better idea to set them in package.use

Like when I noticed that gaim was installed without spell-checking support (and I liked the feature), I did:
Code:
echo "net-im/gaim spell" >> /etc/portage/package.use


Now everytime I install gaim, it has spell-checking support.

But it's hardly a MAJOR issue; just worth noting.


Excellent point. And quite frankly, I'm not sure why I didn't notice it before. I follow that procedure myself. IIRC, I was testing USE flags with it, trying to figure out what was necessary. As such, I hadn't committed anything to my make.conf yet, and I guess I forgot to change it for the guide. I'll add a note.

Oh, and as for my farewell message, such as it was, eh... I made the mistake of browsing the forums some more after I wrote that, and saw quite a few advancements since I left. Things that had annoyed me are now fixed. Sadly, it appears I'm stuck again. Tweaky soul can't resist:D
_________________
Who needs reincarnation when you've got parallel universes?
Back to top
View user's profile Send private message
tkhobbes
Guru
Guru


Joined: 12 Nov 2004
Posts: 367
Location: Switzerland

PostPosted: Tue Dec 27, 2005 3:05 pm    Post subject: Reply with quote

Hi all

Excellent - I found out about hplip through this article, and I think it will eliminate another blocker regarding "not switching completely to Linux".
I have a Deskjet with a duplex-thingy, and as far as I understand, the toolbox could manage this.

However - I cannot add the printer to CUPS as described; I don't see this "URL-like" hp:/usb/... entry in the list.

When doing /usr/share/hplip/probe -busb, this is the output:

Code:

thomas@linux /usr/share/hplip $ ./probe -busb

 HP Linux Imaging and Printing System (ver. 0.9.7)
 Device Detection (Probe) Utility ver. 1.3

 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/DESKJET_970C?serial=ES9AJ131SPJQ  HP DESKJET_970C


But, as said, this entry does NOT show up in CUPS...
What could that be?

Another question: The printer is attached to a gentoo-server - the toolbox will be installed on a gentoo-client. Will this work?
_________________
My systems and some screenshots: http://www.hobbes.ch/techie/
My Gentoo client installation page: http://www.hobbes.ch/techie/gentoo-client/
My Gentoo Server installation: http://www.hobbes.ch/category/server
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Tue Dec 27, 2005 8:08 pm    Post subject: Reply with quote

tkhobbes wrote:
But, as said, this entry does NOT show up in CUPS...
What could that be?


Probably need to restart cupsd. If you installed hplip after cups was installed then the currently running cups daemon won't know about hplip.

Code:
/etc/init.d/cupsd restart


Quote:
Another question: The printer is attached to a gentoo-server - the toolbox will be installed on a gentoo-client. Will this work?


All you need to do is install hplip on the server. Then on the client when you install cups just edit /etc/cups/client.conf and uncomment the ServerName line and change the server to be the actual print server.
Back to top
View user's profile Send private message
tkhobbes
Guru
Guru


Joined: 12 Nov 2004
Posts: 367
Location: Switzerland

PostPosted: Wed Dec 28, 2005 5:02 pm    Post subject: Reply with quote

OK - after a full reboot (?), I can add the printer using the hp:/usb... thingy.

What I now want to do is use the hp-toolbox on the client for full control on the printer; the client-cups is connected (or how do you say?) to the server-cups and I can see the newly added printer also if I point my browser (on the client) to http://localhost:631.

However, the hp-toolbox utility is still complaining about no printer being available with the hp: cups backend...

How comes?
_________________
My systems and some screenshots: http://www.hobbes.ch/techie/
My Gentoo client installation page: http://www.hobbes.ch/techie/gentoo-client/
My Gentoo Server installation: http://www.hobbes.ch/category/server
Back to top
View user's profile Send private message
KotBehemot
n00b
n00b


Joined: 28 Feb 2005
Posts: 71
Location: Poland Gdansk

PostPosted: Thu Dec 29, 2005 2:34 pm    Post subject: Reply with quote

Code:
However, the hp-toolbox utility is still complaining about no printer being available with the hp: cups backend...


I got the same problem, and stil nothing, i can' run hp-tollbox and manage with it my hp printer, check the ink level, etc.

even what Stephenovich wrote:
Code:
I'm fairly confident the AppSocket/HP Jet Direct method will solve your problem. Let me know if it doesn't.

As to 0.9.5, yeah, it's not in Portage yet. Seems to be taking a bit longer than usual to make it's way in...


didn't help, because when i try to add my printer with this method then i can't add my printer, because it doesn' see it's driver, i have even upgraded hplip to 0.9.7, and still nothing.
Back to top
View user's profile Send private message
yinkoshaumer
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2005
Posts: 139

PostPosted: Fri Dec 30, 2005 4:53 am    Post subject: Reply with quote

I got my HP PSC 2575 to print through cups w/o a hitch.
However, when I try to start hplip it fails at starting hpssd with out any error message. I tried the couple work arounds as stated before (modifying the the start-stop-daemon command) but I haven't been able to get it to launch.

Any help is appreciated.
Back to top
View user's profile Send private message
denilsson
n00b
n00b


Joined: 01 Jan 2006
Posts: 1

PostPosted: Sun Jan 01, 2006 5:41 pm    Post subject: An alternative way to acces the cardreader in a HP8450 Reply with quote

I have tried to install the hplip software for a couple of months but never succesed.
I can print over the network using cups, and hpjis but i wanted to access the builtin cardreader on the printer.
So i Did try in an other way.

My setup in the webinterface on the "HP Photosmart 8450"

Host Name: HP8450
Active Gateway: 192.168.0.1
Active Preferred DNS Server: 192.168.0.1
Active Alternate DNS Server:

Connections Enabled Hardware Address Connected IP Address Subnet Mask
________________________________________________________________________________________________________
Wired (802.3) Yes 00-0f-20-d2-0c-1f Yes 192.168.0.100 255.255.255.0

Checking what nmap reports!

pingvinen ~ # nmap -sS -O -PI -PT 192.168.0.100

Starting nmap 3.83.DC13 ( http://www.insecure.org/nmap/ ) at 2006-01-01 16:44 Local time zone must be set--see zic manual page
Interesting ports on HP8450 (192.168.0.100):
(The 1664 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
80/tcp open http
139/tcp open netbios-ssn
9100/tcp open jetdirect
MAC Address: 00:0F:20:D2:0C:1F (Hewlett Packard)
Device type: printer|printer server
Running: HP embedded
OS details: HP Deskjet 6127 printer or InkJet 1200 printer server
Uptime 1.056 days (since Sat Dec 31 15:23:30 2005)

Nmap finished: 1 IP address (1 host up) scanned in 5.091 seconds

I guess the cardreader is on port 139, becuse the memorycard showup as a sharedmap if accessing the printer from Windows
Trying with nmblookup !


pingvinen ~ # nmblookup -A 192.168.0.100
Looking up status of 192.168.0.100
HP000F20D20C1F <00> - B <ACTIVE>
HP000F20D20C1F <20> - B <ACTIVE>
HP8450 <00> - B <ACTIVE>

Trying smbclient with the choosen hostname !

pingvinen ~ # smbclient -L HP8450
session request to HP8450 failed (Call returned zero bytes (EOF))
session request to *SMBSERVER failed (Called name not present)

Trying with the other hostname nmblookup reported, As you can se it's the letters "HP" followd by the MAC adress of the printer.

pingvinen ~ # smbclient -L HP000F20D20C1F
Password:

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service
MEMORY_CARD Disk FLASH MEMORY PHOTO

Server Comment
--------- -------

Workgroup Master
--------- -------

trying to mount the shared map!

mount -t smbfs //HP000F20D20C1F/MEMORY_CARD /home/thomas/test/

pingvinen ~ # ls /home/thomas/test/
KAJAKERN.JPG

YES ! it worked.
[/i]

I hope this will be for some help for anyone :wink:
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Sun Feb 19, 2006 1:24 am    Post subject: Reply with quote

Are any of you guys using this driver having problems print image files?

HP Laserjet 1022. Seems to print text, pdf, webpages fine. But if open an image file like a png, jpg that is large, the printer will error out.
If I print anything like that it want to print out about 2-4 pages usually. Usually I get 1 page with nothing but a title, then errors out on the
2nd page. If I check the logs (which say nothing really, even with full debug2 on) it is trying to print and 3 and 4 pages usually, but hung up
on the 2nd page. Printer job hangs up, and have to delete the job in order to print anything else.

I use to be able to print large images with my Deskjet 722, also scan a document with xsane and printout the resulting image file.
With this laserjet 1022, I found that I have to scale images taken with camera, scanner,.. down in Gimp, then it will print.

This became more apparent when using xsane to scan a letter size document. I had to use the COPY function of Xsane to get anything I scanned
to print out. Then I had to setup copy to 600dpi (300dpi seemed to not work right with resulting output to printer), and then use the Zoom setting in
Xsane to .95. Then it scanned and sent image to the printer almost the same size. If I use a Zoom of 1.0, printer will printout 1 page, then hang on the
second with the printer errored out.

It looks like a border (margin) issue almost. I just sucks that with the Deskjet everything just seemed to work. With the LaserJet, images have to be
MANUALLY scaled to work or the printer errors and job hangs on page.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
KotBehemot
n00b
n00b


Joined: 28 Feb 2005
Posts: 71
Location: Poland Gdansk

PostPosted: Tue Feb 28, 2006 9:56 pm    Post subject: Reply with quote

At last, i solved why i could not run toolbox, the solution is very easy, my uri was not ok dunno why, to solve that problem i run hp-setup and it configured my printer for me, and now toolbox is running nicely:-))))))
Back to top
View user's profile Send private message
tkhobbes
Guru
Guru


Joined: 12 Nov 2004
Posts: 367
Location: Switzerland

PostPosted: Sat Mar 04, 2006 2:48 pm    Post subject: Reply with quote

hp-setup does not work for me - the printer is not attached to the actual client, it's attached to a server (which has both hplip and cups installed).

When running hp-setup on the client, it says:

Code:
 [ERROR]: No devices found.
 [ERROR]: Error occured during interactive mode. Exiting.


Seems that via network, the toolbox is really not working... :(
_________________
My systems and some screenshots: http://www.hobbes.ch/techie/
My Gentoo client installation page: http://www.hobbes.ch/techie/gentoo-client/
My Gentoo Server installation: http://www.hobbes.ch/category/server
Back to top
View user's profile Send private message
KotBehemot
n00b
n00b


Joined: 28 Feb 2005
Posts: 71
Location: Poland Gdansk

PostPosted: Sun Mar 05, 2006 12:00 am    Post subject: Reply with quote

Try hp-setup as root and this is complet howto from hp site:

Code:
Add the printer using HP-SETUP for Network Printers
Network Printer

Note: See your printer documentation for specific instructions on connecting the USB, Parallel or Network cable to your printer and computer.

   1. Open a console/terminal window.

   2. Follow these steps to log in as the super user;

         1. Enter this command:
            $ su

         2. Press Enter.
         3. Enter the root password.
            Note: The root password gives you administrative privileges on the system.
         4. Press Enter.

   3. Using the Printer Setup Menus on your printer, print the "Network Configuration" page.  This page will have the IP address of the printer, which is essential to complete the printer setup.

         1. Note: See your printer documentation for specific instructions on printing the network configuration page.

   4. Open a console/terminal window.
   5. su

   6. Enter this command add your Network printer:  (The -a option will setup your printer with a default name and settings, option -m configures a network printer.)
      # hp-setup -m <ip.address.of.printer.from.step.1>

      (for Ubuntu type: $ sudo hp-setup -m <ip.address.of.printer.from.step.1> )

      Note:  You may see a message stating "[WARNING]: Found multiple possible PPD files", If prompted, select the option that best fits your printer model.

   7. Your printer should print out a test page. If the test page prints successfully, your printer is configured correctly.

   8. If your printer supports faxing you will want to complete the fax configuration as prompted.

Printer setup is now complete.


Hope this will work for u :-)
Back to top
View user's profile Send private message
chrisashton84
Apprentice
Apprentice


Joined: 12 Aug 2003
Posts: 192
Location: Peoria, IL (home) Urbana, IL (school)

PostPosted: Sat Mar 25, 2006 2:14 am    Post subject: Reply with quote

Code:
 Creating URIs for '192.168.1.105':
 [ERROR]: Failed (error code=12). Please check address of device and try again.


I get this every time I try to set up this printer (again). I already had it set up a couple of months ago... it gives

Code:
"open device failed; will retry in 30 seconds..."
Device URI: hp:/net/Photosmart_2570_series?ip=192.168.1.105


now when I try to use that setup. I am able to go to the printer's ip address in a browser and use those tools without any problem, and my rommmates can print from windows over the network. The only thing that has changed is the version of the linux software, and my roommate installed the software on a windows computer. Any ideas? This is very annoying... also, before anyone asks, CUPS printing works normally with the cups-pdf software.
Back to top
View user's profile Send private message
tkhobbes
Guru
Guru


Joined: 12 Nov 2004
Posts: 367
Location: Switzerland

PostPosted: Sat Mar 25, 2006 11:10 am    Post subject: Reply with quote

Rucok: I know this how-to you posted; however, it is apparently referring to the situation where the printer is connected to a local workstation via usb; my hp-printer is connected to some server (and correctly detected there), but I want to use the hp-toolbox on a client - the printer is visible also in my client's CUPS (which basically just mirrors the server's CUPS, or however I might describe that...), but the hp-toolbox complains because no printer is attached to the client (which is correct) - so it does not seem to be working via network, only when the printer is attached locally.
_________________
My systems and some screenshots: http://www.hobbes.ch/techie/
My Gentoo client installation page: http://www.hobbes.ch/techie/gentoo-client/
My Gentoo Server installation: http://www.hobbes.ch/category/server
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum