Printer Sharing with Linux clients

From openSUSE

This article needs to be expanded. If you can help please do so in line with the openSUSE Style Guide.

If you are looking for something to do, see the other articles that need expanding

Contents

First solution

When I first installed open SuSE 10.1, I tried to add a printer to CUPS using the web interface by pointing my web browser at http://localhost:631/admin. However, it insisted on asking me for a username and password, and neither my root password nor my personal one were accepted. Looking in the CUPS error log (/var/log/cups/error_log) I saw that it was complaining that there was no such file "/etc/cups/passwd.md5".

To fix this, I first added a "sys" group and "root" user to the system as follows:

(as root): % lppasswd -a -g sys root

And then added a user account:

(as root): % lppasswd -a smith

And this seemed to work.

NB: on 10.3 the web interface seems to work with linux login/passwd

Second solution

With my openSUSE 10.3 and network printers (9100 port type), I had the following problem:

  • I print and notice the printer is off. I push the button and it awakes, but nothing prints.

What I did: go to yast, add me to the group "lp"

lauch firefox and go to

http://localhost:631

then, in "printers" page, my printer is noted "stopped", but here is a button "start the printer".

I clic on the button and I'm asked for a login and a passwd. I give my login and my passwd (linux one, not cups one) and voilĂ , the printer is started and prints.

Third solution

There is an option in cups, allowing the job to be resent in case of printer error (bottom of the page of each printer in cups)

Fourth solution

simply from the command line as root:

cupsenable <name of printer queue that is stopped>