Stampa centralizzata usando un solo server cups in tutta la rete

Installazione, configurazione e uso di Ubuntu come server: web, ftp, mail, news, proxy, dns e altro.
Scrivi risposta
gian2linux
Prode Principiante
Messaggi: 6
Iscrizione: mercoledì 2 dicembre 2015, 10:38
Desktop: KDE
Distribuzione: Kubuntu 20.04 - Opensuse Leap 15.3
Sesso: Maschile

Stampa centralizzata usando un solo server cups in tutta la rete

Messaggio da gian2linux »

Salve a tutti.
Pongo il seguente quesito: come si deve configurare il client locale affinché esegua la stampa utilizzando l'unico server CUPS all'interno della rete (nel quale sono configurate tutte le stampanti presenti) senza utilizzare il server CUPS locale? Nell'interfaccia WEB di CUPS non vi è alcuna preferenza in tal senso (del resto il server CUPS locale dovrebbe essere inattivo) e non sono riuscito a trovare alcuna riposta nell'help in linea né cercando in rete. In OpenSuse (non ricordo più da quanto tempo) c'è una funzione che permette tale utilizzo ma è attivabile unicamente da YaST (anche in questo caso l'interfaccia WEB di CUPS non è di aiuto in quanto è quella standard). Pertanto la cosa riesce (e anche bene) se il client è OpenSuse ma non se *buntu (o anche LM ed altri .deb).
Se qualcuno è più preparato di me e lo ritiene opportuno posso postare il contenuto della dir etc/cups di OpenSuse.
Ringrazio in anticipo e saluto tutti.
Gianfranco

Update:
Ho risolto: basta creare il file /etc/cups/client.conf con il seguente contenuto:

# You may use /etc/cups/client.conf (system wide)
# or ~/.cups/client.conf (per user).
# For more information see "man 5 client.conf".

# The ServerName directive specifies the remote server
# that is to be used for all client operations. That is, it
# redirects all client requests directly to that remote server
# so that a local running cupsd is not used in this case.
# The default is to use the local server ("localhost") or domain socket.
# Only one ServerName directive may appear.
# If multiple names are present, only the last one is used.
# The default port number is 631 but can be overridden by adding
# a colon followed by the desired port number.
# The default IPP version is 2.0 but can be overridden by adding
# a slash followed by version=V where V is 1.0 or 1.1 or 2.0 or 2.1 or 2.2.
# IPP version 2.0 does do not work with CUPS 1.3 or older servers.
# If an CUPS 1.3 or older server is used, its older IPP version
# must be specified as .../version=1.1 or .../version=1.0.

# Examples:
# ServerName sever.example.com
# ServerName 192.0.2.10
# ServerName sever.example.com:8631
# ServerName older.server.example.com/version=1.1
# ServerName older.server.example.com:8631/version=1.1

ServerName 192.168.X.XXX
Scrivi risposta

Ritorna a “Ubuntu su server”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 10 ospiti