Printing: Difference between revisions

imported>StijnDW
Add a Troubleshooting section
imported>StijnDW
m Bring titles in line with Wiki:Contributing -> Syntax
Line 1: Line 1:
=Basic configuration=
==Basic configuration==


<ol><li>Add to <code>/etc/nixos/configuration.nix</code>:
<ol><li>Add to <code>/etc/nixos/configuration.nix</code>:
Line 29: Line 29:
<p>You may need to authenticate when you add the printer. Search the web for e.g. &#8220;cups add printer&#8221; for further information.</p></li></ol>
<p>You may need to authenticate when you add the printer. Search the web for e.g. &#8220;cups add printer&#8221; for further information.</p></li></ol>


=Setting up shared printers=
==Setting up shared printers==
==Server==
===Server===


<ol>
<ol>
Line 61: Line 61:
{{outdated|Needs checking to rectify uncertainty in instructions}}
{{outdated|Needs checking to rectify uncertainty in instructions}}


== Client (Linux) ==
=== Client (Linux) ===


If you enabled {{nixos:option|services.avahi.publish.userServices}} in the server configuration, enabling printing and avahi on the client should be sufficient for the printer to be detected:
If you enabled {{nixos:option|services.avahi.publish.userServices}} in the server configuration, enabling printing and avahi on the client should be sufficient for the printer to be detected:
Line 75: Line 75:
Alternately, the printer can be added to the client's CUPS daemon by navigating to <tt>http://localhost:631/</tt> in a web browser and adding the remote printer.
Alternately, the printer can be added to the client's CUPS daemon by navigating to <tt>http://localhost:631/</tt> in a web browser and adding the remote printer.


==See also==
===See also===


* [https://github.com/NixOS/nixpkgs/issues/13901 How to properly setup a shared (home) printer? #13901]
* [https://github.com/NixOS/nixpkgs/issues/13901 How to properly setup a shared (home) printer? #13901]
Line 84: Line 84:
[[Category:Configuration]][[Category:Hardware]]
[[Category:Configuration]][[Category:Hardware]]


=Troubleshooting=
==Troubleshooting==


===Upgrade Required===
===Upgrade Required===