[cups] Unattended installation of network printers

Kraus, Sebastian sebastian.kraus at tu-berlin.de
Thu Jun 7 07:33:39 PDT 2018


Hi Michael,

thanks for your reply.
Sorry, I forgot to mention why cups-browsed is not able to do the job in our setup:
Cups-browsed only works properly in connection with link-local addresses, so that
we had lots of trouble with network printers repeatedly disappearing and reappearing 
from the local printer queues on the client machines. Cups-browsed was either 
not able to detect printers across VLAN boundaries in a reliable way in out setup
(involving a central printer server). Additionally, the cups-browsed daemon as shipped 
with Debian Stretch 9.0 was in a completely unusable state: the process used to eat 
significant amount of CPU resources without detecting any printer.

What I am aming at, is an installion procedure of the following type:
Firstly, installing a network printer within a VLAN environment and configuring the 
printer via the CUPS administration interface locally at one of our client machines residing 
within the same VLAN. Secondly, creating a configuration template out of the necessary CUPS
configuraton files on this host in order to be able to configure the same network printer at 
further hosts within the same VLAN without any further manual intervention.
Finally, copying/applying the configuration template to further hosts, so that the network 
printer will be automatically (out of the box) configured on these hosts.

Is there any way to do so?


Thanks for your help

Sebastian



Sebastian Kraus
Team IT am Institut für Chemie
Gebäude C, Straße des 17. Juni 115, Raum C7

Technische Universität Berlin
Fakultät II
Institut für Chemie
Sekretariat C3
Straße des 17. Juni 135
10623 Berlin


Tel.: +49 30 314 22263
Fax: +49 30 314 29309
Email: sebastian.kraus at tu-berlin.de




________________________________________
From: cups <cups-bounces at cups.org> on behalf of Michael Sweet <msweet at apple.com>
Sent: Wednesday, June 6, 2018 21:00
To: The CUPS user discussion list.
Subject: Re: [cups] Unattended installation of network printers

Sebastian,

Not sure I understand the question, but are you looking for a way to automatically add local queues for every network printer a system can discover?  I *think* cups-browsed can do that (something that is bundled with the cups-filters project that Till Kamppeter maintains for Linux) but in general that isn't something we would actively encourage since CUPS 2.2.x will auto-create queues for printers discovered via Bonjour when you go to use them.


> On Jun 6, 2018, at 1:32 PM, Kraus, Sebastian <sebastian.kraus at tu-berlin.de> wrote:
>
> Dear users of the CUPS mailing list,
>
>
> is there any way/recipe installing network printers on a linux machine via
>
> CUPS in an unattended manner, disregarding explictely the configuration
>
> scenarios of a central CUPS print server or printers shared via Samba?
>
>
>
> Regards and thanks for your time
>
>
>
> Sebastian
>
>
>
>
> Sebastian Kraus
> Team IT am Institut für Chemie
> Gebäude C, Straße des 17. Juni 115, Raum C7
>
> Technische Universität Berlin
> Fakultät II
> Institut für Chemie
> Sekretariat C3
> Straße des 17. Juni 135
> 10623 Berlin
>
>
> Tel.: +49 30 314 22263
> Fax: +49 30 314 29309
> Email: sebastian.kraus at tu-berlin.de
>
>
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups

_________________________________________________________
Michael Sweet, Senior Printing System Engineer

_______________________________________________
cups mailing list
cups at cups.org
https://lists.cups.org/mailman/listinfo/cups


More information about the cups mailing list