----- Original Message ----

From: Peter Humphrey <[email protected]>
To: [email protected]
Sent: Monday, January 12, 2009 5:44:52 AM
Subject: Re: [gentoo-user] Network printing
> On Saturday 10 January 2009 12:56:29 Norman Rieß wrote:
> > You say you configured both printers on one server with CUPS-Webpage. I
> > assume this works and you can print a testpage with the Webpage.
> > Then you wrote "ServerName yourserver" in /etc/cups/client.conf . You
> > can now choose both printers in the applicationspecific printmenus,
> > right?
> 
> Are you telling me that the printers the server knows of should appear in 
> the client's cups web page automatically? That certainly doesn't happen, 
> which is why I've been trying to tell the client where to find its 
> printers.

No. He's refering to the dialog that pops up when you go File->Print in a 
program, like OpenOffice Writer.

> > If this is the case and it still does not work, please provide some
> > logentries.
> 
> This looks important (trimming time & date etc.):
> cupsdAcceptClient: 8 from 192.168.2.6:631 (IPv4)
> cupsdReadClient: 8 POST / HTTP/1.1
> cupsdAuthorize: No authentication data provided.
> cupsdSendError: 8 code=403 (Forbidden)
> cupsdCloseClient: 8
> 
> (The log is taken from the server after running lpstat -a on the client; the 
> IPv4 address shown is the client.)
> What kind of authentication data does that mean? User ID confirmation? SSH 
> keys? As far as I know I haven't done anything particular to SSH or SSL. The 
> Gentoo printing guide doesn't mention gnutls or ldap, so I haven't set them 
> up, or even installed them.

You need to check the CUPS configuration on the server.

By default, it only allows localhost to access it under the Browse directive.
Example: http://www.linuxprinting.org/~till/printing-tutorial/tut.html#1_3_1

You need to have a line like:

BrowseAllow 192.168.*

or

BrowseAllow @LOCAL

I prefer the first method myself.

Info from the URL:
""BrowseAdress" tells to which CUPS clients information about the queues on 
your machine is broadcasted. "@LOCAL" means all local networks, but not PPP, or 
dialed connections, so you printers will not get broadcasted into the internet 
and no costly dial-on-demand connections will be triggered. Yo can also specify 
an address range ("192.168.100.*") or several "BrowseAddress" lines with 
address ranges or even the IP addresses of single machines."

This acts as the authentication agent. Typically, if you can see the web page 
from the machine, then you can also use the printer.
If that is not the case, then there may be some other authentication agent in 
place, and I would highly recommend contacting the CUPS people.

Ben

Reply via email to