Code 5012 With Networked CP2052DN Ubuntu 10.04

Bug #677692 reported by Paul Webster
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

I have a CP2025DN HP Color LaserJet on my network. It initially was recognized and printed great (for a couple weeks this fall). I am connected to my network on my Ubuntu laptop with wireless. I have not tried connecting with a wire, as it is not a viable option. I started getting communication errors with this printer. It makes it look like it is disconnected.

However, when I use the standard tool (not the hplip gui) to add the printer it recognizes it just fine and identifies it by name and by IP address. It adds the printer but won't print to it. I have tried changing the uri to reflect the IP address (10.1.64.133) instead of the hostname. No luck.

This printer is on a windows network in a large school domain. It is shared to the windows network via a windows server. I can see this and add it as a Samba printer but it is problematic and prints crazy black bars on many documents.

I have purged hplip. I have gone through and deleted the config folders related to hplip, per the hplip site. I have reinstalled from apt-get and have reinstalled hplip and hplip-gui from the hplip site.

I have an hp 6500 e709a at home and it prints great. However, it is of course, out of contact when I am at work.

I am a domain user (connected with likewise-open). I am functioning as an admin with sudo. However, it sometimes gives me an error about not being in the lpadmin group when I use hp-setup, even if I use "sudo hp-setup."

When I run "sudo hp-setup" I get the following:
pwebster@pweb-lap:~$ sudo hp-setup
[sudo] password for pwebster:

HP Linux Imaging and Printing System (ver. 3.10.9)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-9 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.

Error: "/var/tmp/kdecache-pwebster" is owned by uid 595598823 instead of uid 0.
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns)
\error: Printer queue setup failed. Please add user to "lpadmin" group(s)

I'm wondering if it can't handle uid numbers this high. I'm guessing this is because of my domain membership. However, I get the same results when I run this as a local admin user.

When I run hp-check I get the following:

MMSLib
------
Type: Printer
Device URI: hp:/net/HP_Color_LaserJet_CP2025dn?ip=10.1.64.133
PPD: /etc/cups/ppd/MMSLib.ppd
PPD Description: HP Color LaserJet CP2020 Series with Duplexer Postscript (recommended)
Printer status: printer MMSLib is idle. enabled since Fri 19 Nov 2010 04:01:47 PM MST /usr/lib/cups/backend/hp failed
error: Unable to communicate with device (code=12): hp:/net/HP_Color_LaserJet_CP2025dn?ip=10.1.64.133
error: unable to open channel
error: Communication status: Failed

Revision history for this message
Paul Webster (pwebster) wrote :
Revision history for this message
Ani Balakrishnan (anib) wrote :

Can you please attach the result of following commands here,
1. 'hp-check -t'
2. 'hp-makeuri'<ipaddress>
3. snmpwalk -Os -c public -v 1 <ipaddress> 1.3.6.1.4.1.11.2.3.9.1.1.7.0

Thanks and Regards
Ani Balakrishnan

Revision history for this message
Paul Webster (pwebster) wrote :

I did end up getting it to connect to this printer, via a shared printer setup on a ubuntu server I have at work. I think my problem may have been caused by one of the following:
1) I had Kerberos authentication turned on in CUPS and couldn't get it turned off because I didn't have a good kerberos environment. I eventually found it in in the cups configuration file and changed it.
2) I have hp printers both at home and at work and my laptop goes back and forth. Therefore, there is always one hp printer that it can't see.

I will attach the results of those commands anyway. I appreciate your help. I'll post these results once I get to work.

Revision history for this message
Paul Webster (pwebster) wrote :

Ani-
When it refers to the <ipaddress>, I assume that is the ip address of the printer I want to connect with. Is that correct?

Thanks
Paul

Revision history for this message
Ani Balakrishnan (anib) wrote :

Exactly, thecorrect ip address of the printer to which trying to connect.

When you run 'hp-makeuri 192.168.1.12' you should get an output similar to,
CUPS URI: hp:/net/Photosmart_3300_series?ip=192.168.1.12
SANE URI: hpaio:/net/Photosmart_3300_series?ip=192.168.1.12
HP Fax URI: hpfax:/net/Photosmart_3300_series?ip=192.168.1.12

If you do not get a response after running 'hp-makeuri' try running,

snmpwalk -Os -c public -v 1 xxx.xxx.xxx.xxx 1.3.6.1.4.1.11.2.3.9.1.1.7.0
where xxx.xxx.xxx.xxx is the correct ipaddress of the printer

The output should be similar to the following:
enterprises.11.2.3.9.1.1.7.0 = STRING: "MFG:Hewlett-Packard;CMD:PJL,MLC,BIDI-ECP,PCL,POSTSCRIPT,PCLXL;MDL:hp LaserJet 3380;CLS:PRINTER;DES:Hewlett-Packard LaserJet 3380;MEM:23MB;COMMENT:RES=1200x1;"

If it does not there may be an SNMP problem on your system and/or network.

Thanks and Regards
Ani Balakrishnan

Thanks and Regards
Ani Balakrishnan

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.