IT/Software/Applications/CUPS: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
No edit summary
Line 1: Line 1:
== Common Unix Printing System ==
==Common Unix Printing System==
(Common Uncomfortable Pain Somewhere*)
(Common Uncomfortable Pain Somewhere*)


Line 5: Line 5:


Over the years I have logged/wasted/learned for countless hours.
Over the years I have logged/wasted/learned for countless hours.
<br />


=== Basics ===
=== Access: ===
Most of Cups are integrated in the printer settings panel in your distro.
 
More features and reliability can be found from a browser:
 
localhost:631
 
===Basics===
To restart local printer services you need.
To restart local printer services you need.


Line 16: Line 22:
<code>sudo service cups-browsed restart && sudo service cups restart</code>
<code>sudo service cups-browsed restart && sudo service cups restart</code>


=== Quirks ===
On KDE you can install the printer but the config will not stick.
System settings runs as the normal user and the config files are owned by root.
You can start system settings as root, make changes, and then come back.
OR do it via the cups web interface which has access permissions to those files.
=== Config Files ===
The file for cups-browsed is located in /etc/cups/
We want to normally make the following changes.
<code>BrowseRemoteProtocols  dnssd</code>
<code>BrowseLocalProtocols  dnssd</code>
<br />
<br />
 
===Next Level===
=== Next Level ===
Usually best to just start over by running three commands.  
Usually best to just start over by running three commands.  
<br />
<br />

Revision as of 06:02, 28 October 2021

Common Unix Printing System

(Common Uncomfortable Pain Somewhere*)

*Yes we mean "there".

Over the years I have logged/wasted/learned for countless hours.

Access:

Most of Cups are integrated in the printer settings panel in your distro.

More features and reliability can be found from a browser:

localhost:631

Basics

To restart local printer services you need.

sudo service cups restart

To restart the network broadcast(sharing) and browsing(using others) you need.

sudo service cups-browsed restart && sudo service cups restart

Quirks

On KDE you can install the printer but the config will not stick.

System settings runs as the normal user and the config files are owned by root.

You can start system settings as root, make changes, and then come back.

OR do it via the cups web interface which has access permissions to those files.

Config Files

The file for cups-browsed is located in /etc/cups/

We want to normally make the following changes.

BrowseRemoteProtocols  dnssd

BrowseLocalProtocols  dnssd

Next Level

Usually best to just start over by running three commands.
sudo apt-get install --reinstall cups cups-browsed cups-client cups-common cups-daemon cups-server-common

then:

sudo systemctl daemon-reload

You can check the statuses with

service cups status

service cups-browsed status