On Thu, Oct 15, 2015 at 08:22:47AM +0000, Mike Gabriel wrote: > Hi Wolfgang, > > On Mi 14 Okt 2015 18:17:17 CEST, Wolfgang Schweer wrote: > > >On Wed, Oct 14, 2015 at 01:31:04PM +0000, Mike Gabriel wrote: > >>On Mo 13 Jul 2015 11:07:18 CEST, Wolfgang Schweer wrote: > >>>On IRC sunweaver pointed out that the existence of /etc/cups/client.conf > >>>would break setting up locally attached printers (via locally running > >>>cups). While this is true in general, there's a way to have local > >>>printer(s) (attached to real workstations) configured centrally on > >>>tjener. To get this working install the package p910nd on the > >>>workstation and configure it, see man p910nd. (For a USB printer you > >>>would set P910ND_OPTS="-f /dev/usb/lp0" and P910ND_START=1 in > >>>/etc/default/p910nd.) Then you can set up this printer on tjener as > >>>AppSocket/HP Jetdirect printer using 'socket://<workstation-ip>:9100' as > >>>URI. For diskless workstations a similar app socket tool is available by > >>>default, see the jessie manual how to set up printers attached to LTSP > >>>clients. > >> > >>The question now remains: shall we simply ship /etc/cups/client.conf as > >>package file in debian-edu-config or treat/create-if-not-there that file > >>with cfengine. > > > >As the file only makes sense along with the instructions, it would IMO > >be best to add these to a Printing Know How chapter of the manual and to > >avoid shipping/creating the file. > > I don't like creating that file from scratch either. We don't know > with what we will conflict later. > > However, deploying systems that cannot print via TJENER right away > sounds a bit awkward, too, IMHO. > > The deeper question are... > > Why doesn't CUPS browsing work out of the box? > Why does it require a BrowsePoll entry in cups-browsed.conf (at > least it does here...)? > > Right? > > Basically, if cups-browsed is installed, the local cupsd of a Debian > Edu client should "find" the shared printers on the network.
Hi, since I run cfengine3 on all the clients for our special purposes, I've put a "BrowsePoll www:631" line into cups-browsed.conf. This is also a good conf. in situations like a multicast blocked network (like my Wifi). The same could be done via cfengine2 Skole install mechanism Regards Giorgio -- Giorgio Pioda - Sysadmin SPSE-Tenero Cell +41 79 629 20 63 Tel +41 58 468 62 48 Fax +41 58 468 61 98