Gentoo Archives: gentoo-user

From: BRM <bm_witness@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Network printing
Date: Mon, 12 Jan 2009 14:25:51
Message-Id: 987581.39831.qm@web65413.mail.ac4.yahoo.com
In Reply to: Re: [gentoo-user] Network printing by Peter Humphrey
1 ----- Original Message ----
2
3 From: Peter Humphrey <peter@××××××××××××××.org>
4 To: gentoo-user@l.g.o
5 Sent: Monday, January 12, 2009 5:44:52 AM
6 Subject: Re: [gentoo-user] Network printing
7 > On Saturday 10 January 2009 12:56:29 Norman Rieß wrote:
8 > > You say you configured both printers on one server with CUPS-Webpage. I
9 > > assume this works and you can print a testpage with the Webpage.
10 > > Then you wrote "ServerName yourserver" in /etc/cups/client.conf . You
11 > > can now choose both printers in the applicationspecific printmenus,
12 > > right?
13 >
14 > Are you telling me that the printers the server knows of should appear in
15 > the client's cups web page automatically? That certainly doesn't happen,
16 > which is why I've been trying to tell the client where to find its
17 > printers.
18
19 No. He's refering to the dialog that pops up when you go File->Print in a program, like OpenOffice Writer.
20
21 > > If this is the case and it still does not work, please provide some
22 > > logentries.
23 >
24 > This looks important (trimming time & date etc.):
25 > cupsdAcceptClient: 8 from 192.168.2.6:631 (IPv4)
26 > cupsdReadClient: 8 POST / HTTP/1.1
27 > cupsdAuthorize: No authentication data provided.
28 > cupsdSendError: 8 code=403 (Forbidden)
29 > cupsdCloseClient: 8
30 >
31 > (The log is taken from the server after running lpstat -a on the client; the
32 > IPv4 address shown is the client.)
33 > What kind of authentication data does that mean? User ID confirmation? SSH
34 > keys? As far as I know I haven't done anything particular to SSH or SSL. The
35 > Gentoo printing guide doesn't mention gnutls or ldap, so I haven't set them
36 > up, or even installed them.
37
38 You need to check the CUPS configuration on the server.
39
40 By default, it only allows localhost to access it under the Browse directive.
41 Example: http://www.linuxprinting.org/~till/printing-tutorial/tut.html#1_3_1
42
43 You need to have a line like:
44
45 BrowseAllow 192.168.*
46
47 or
48
49 BrowseAllow @LOCAL
50
51 I prefer the first method myself.
52
53 Info from the URL:
54 ""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."
55
56 This acts as the authentication agent. Typically, if you can see the web page from the machine, then you can also use the printer.
57 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.
58
59 Ben

Replies

Subject Author
Re: [gentoo-user] Network printing Peter Humphrey <peter@××××××××××××××.org>