Installing HP colorLaserjet 2605dn

We are trying to install HP Color laserjet 2605dn as a network printer in order to print from a Linux workstation with OpenSuse OS. The printer is not recognized and we are unable to print though the printer appears to have been installed. We would also like to print postscript files to the printer.

If you need more specific additional information, please let us know.

Search the HP website for the hplip package. Download it. This is a self extracting package that will install the HP printer/fax/scanner drivers on a Linux system.

After this, use YaST → hardware → printer & YaST → hardware → scanner to finalize the instalation.

On Wed, 18 Jun 2008 21:36:04 GMT
Parthenolide <Parthenolide@no-mx.forums.opensuse.org> wrote:

>
> Search the HP website for the hplip package. Download it. This is a
> self extracting package that will install the HP printer/fax/scanner
> drivers on a Linux system.
>
> After this, use YaST → hardware → printer & YaST → hardware →
> scanner to finalize the instalation.
>
>
Hi
hplip etc is already on the distro. As root user run hp-setup once you
have install hplip.


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
up 7 days 19:41, 0 users, load average: 0.05, 0.17, 0.15
GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09

Thank you. We installed and ran hp-setup. We are able to print the test page at the end of setup. But, we are still unable to print any other files to this printer (using lp filename) though we have set this as the default printer.

At the end of the setup step we got the following error message:

error: Device status XML parse error
error: SSP XML parse error

On Thu, 19 Jun 2008 14:46:03 GMT
isaac123 <isaac123@no-mx.forums.opensuse.org> wrote:

>
> Thank you. We installed and ran hp-setup. We are able to print the
> test page at the end of setup. But, we are still unable to print any
> other files to this printer (using lp filename) though we have set
> this as the default printer.
>
> At the end of the setup step we got the following error message:
>
> error: Device status XML parse error
> error: SSP XML parse error
>
>
Hi
The system is running cups for the printing? Have you restarted cups
and hplip?

Is the CUPS_SERVER variable set? You may have to add the -h option if
it’s not the localhost.

http://localhost:631/printers


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
up 8 days 11:32, 0 users, load average: 0.25, 0.19, 0.16
GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09

I guess we are. We were trying to install it as a network printer. Since that wasn’t working, we are now trying to install it as a local printer. Could you please let us know the steps to either stop running CUPS or where to add the -h option.
Thanks.

On Thu, 19 Jun 2008 16:06:03 GMT
isaac123 <isaac123@no-mx.forums.opensuse.org> wrote:

>
> I guess we are. We were trying to install it as a network printer.
> Since that wasn’t working, we are now trying to install it as a local
> printer. Could you please let us know the steps to either stop
> running CUPS or where to add the -h option.
> Thanks.
>
>
Hi
On the machine that has the printer connected, if you go to the URL

http://localhost:631/printers

You should see the printer etc or from the CLI to see if cups is
running;

eg
ps -ef |grep cups

or

service cups status

You need to open the firewall for cups (Common Unix Printing System)
via yast. It should be ipp or cups server for network printing.

Then from the remote machine you should be able to see it via a
webrowser at http://<ip_address>:631/printers

The commands (as root) on the machine with the printer to start/stop are
rc<name> or /etc/init.d/<name> with start, stop or restart;

eg
rccups restart or /etc/init.d/cups restart

rchplip restart or /etc/init.d/hplip restart

or

service cups --full-restart

Have a look a the command man lp but you would add the -h here

For the localhost it would be

lp <name_of_file>

From a remote

lp -h <ip_address> <name_of_file>

Now if you have the hostnames specified in the local machine (or
local DNS) hosts file you would only need this instead of an ip address.

Hope I haven’t confused you…


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
up 8 days 12:38, 0 users, load average: 0.07, 0.10, 0.15
GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09

Thank you. We are able to print now. However, we are unable to print a postscript file. When we send a postscript file to the printer, we do not get a plot but only several pages of output!

On Thu, 19 Jun 2008 19:56:03 GMT
isaac123 <isaac123@no-mx.forums.opensuse.org> wrote:

>
> Thank you. We are able to print now. However, we are unable to print
> a postscript file. When we send a postscript file to the printer, we
> do not get a plot but only several pages of output!
>
>
Hi
Is ghostscript installed?


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
up 8 days 17:50, 0 users, load average: 0.28, 0.29, 0.22
GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09

I upgraded to 11.0 after learning how to get cups to work with my HP Officejet. What I learned doesn’t work now. I can no longer print, via network (haven’t tried direct connect yet), even though the printer is set up in cups. The only problem I can see is that I am on hplip 2.8.4 and the latest version is 2.8.5 but that will not install because of dependencies.

I did manage to get one test page to print, so that hplip should be ok. I think my real problem is a permissions problem that I don’t know how to fix. In past versions of opensuse, I would add a user this way:

lppasswd -a Prexy

#enter password: prexypassword
#re-enter password: prexypassword

aside from the fact that it is asking for more complicated passwords, it is rejecting the addition of a user, saying I (even as root) don’t have permission to change the password file. I don’t know the name or location of the file it is referring to. So, I can’t do anything with it.

Can anyone shed some light on this?

Following advice in the thread, I found out that cups is supposed to have a file /etc/cups/passwd.md5 and I don’t have that. Is it a suse quirk?

On Fri, 20 Jun 2008 16:46:03 GMT
Prexy <Prexy@no-mx.forums.opensuse.org> wrote:

>
> Following advice in the thread, I found out that cups is supposed to
> have a file /etc/cups/passwd.md5 and I don’t have that. Is it a suse
> quirk?
>
>
Hi
It should be there, what does the error say when you try to add a
password?

Have you tried just an admin first?

lppasswd -a admin


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
up 9 days 13:46, 0 users, load average: 0.09, 0.07, 0.01
GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09

welcome to suse. this stuff happens EVERYTIME they release a new version. i just gave up printing with suse.

Still no joy. Here is what it looks like… everytime. Oh! and I just reinstalled cups and that didn’t help.

lppasswd -a admin
Enter password:
Enter password again:
lppasswd: Unable to open password file: Permission denied

I did this as root. I’m guessing it denies permission because the file doesn’t exist. ???

On Fri, 20 Jun 2008 22:46:03 GMT
Prexy <Prexy@no-mx.forums.opensuse.org> wrote:

>
> malcolmlewis;1821593 Wrote:
> > On Fri, 20 Jun 2008 16:46:03 GMT
> > Prexy <Prexy@no-mx.forums.opensuse.org> wrote:
> >
> > >
> > > Following advice in the thread, I found out that cups is supposed
> > > to have a file /etc/cups/passwd.md5 and I don’t have that. Is it
> > > a
> > suse
> > > quirk?
> > >
> > >
> > Hi
> > It should be there, what does the error say when you try to add a
> > password?
> >
> > Have you tried just an admin first?
> >
> > lppasswd -a admin
> >
> > –
> > Cheers Malcolm °¿° (Linux Counter #276890)
> > SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
> > up 9 days 13:46, 0 users, load average: 0.09, 0.07, 0.01
> > GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09
>
> Still no joy. Here is what it looks like… everytime. Oh! and I
> just reinstalled cups and that didn’t help.
>
> lppasswd -a admin
> Enter password:
> Enter password again:
> lppasswd: Unable to open password file: Permission denied
>
> I did this as root. I’m guessing it denies permission because the
> file doesn’t exist. ???
>
>
Hi
Have you tried to create it as root user?

touch /etc/cups/passwd.md5
chown lp:root /etc/cups/passwd.md5
chmod 400 /etc/cups/passwd.md5

Have you looked at the /etc/cups/cupsd.conf file to ensure all looks ok?


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
up 9 days 19:40, 0 users, load average: 0.46, 0.19, 0.15
GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09

I have NO idea what the lines meant, but I typed them in, as root, and I got a passwd.md5 file. I was owned by lp in the group root.

I changed permissions to everybody can do everything and made it executable. I changed owner to me and group to lp. I got exactly the same result when trying to add a user.

On Sat, 21 Jun 2008 02:26:04 GMT
Prexy <Prexy@no-mx.forums.opensuse.org> wrote:

>
> I have NO idea what the lines meant, but I typed them in, as root,
> and I got a passwd.md5 file. I was owned by lp in the group root.
>
> I changed permissions to everybody can do everything and made it
> executable. I changed owner to me and group to lp. I got exactly the
> same result when trying to add a user.
>
>
Hi
The file needs to be owned by lp and root group hence the permissions
change. Can you re run the commands to change it to lp:root and read
only :slight_smile:

It should look like this,

touch /etc/cups/passwd.md5
chown lp:root /etc/cups/passwd.md5
chmod 400 /etc/cups/passwd.md5
ls -la /etc/cups/passwd.md5
-r-------- 1 lp root 0 Jun 20 21:51 /etc/cups/passwd.md5

lppasswd -a admin
Enter password:
Enter password again:
cat /etc/cups/passwd.md5
admin:sys:a7dc16368b163b25a69ac85d6caa4bc5

Now the only thing is do you have a group called sys?


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
up 9 days 23:12, 0 users, load average: 0.49, 0.38, 0.29
GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09

Yesterday, for some reason, I was unable to log in to this forum. So, I couldn’t post. I sort of solved my problem by brute force.

I uninstalled cups and re-installed. When I tried to do admin work in cups, a dialog box popped up with root already listed as user (probably in FF’s cache from an earlier attempt) and I supplied root’s password and it let me in! I added myself as user and things seem ok… except for two points.

First, the lppasswd -a thing still doesn’t work. I get the same result as before. Second, I may have had less trouble than I thought and fixed the wrong thing. I was trying to print a page from the web. It opened in okular as a pdf file and would never print, even though the HP monitor said it printed.

Turns out, I was printing pdf’s to my /home without knowing it! When I discovered this, I also discovered that I couldn’t change okular’s print option to anything but pdf. So, I downloaded Adobe Reader and it printed fine.

Now, my HP 7310ix all-in-one is printing, but I still have that lppasswd problem that is confusing me.