Printing: Difference between revisions
imported>Fadenb m Syntax highlighting |
imported>Fadenb m replace html entities |
||
Line 10: | Line 10: | ||
* Some printers might be supported by the built-in CUPS drivers | * Some printers might be supported by the built-in CUPS drivers | ||
* HP: <code>hplip</code> or <code>hplipWithPlugin</code> depending on your [http://hplipopensource.com/hplip-web/supported_devices/index.html exact model]: Find your model and | * HP: <code>hplip</code> or <code>hplipWithPlugin</code> depending on your [http://hplipopensource.com/hplip-web/supported_devices/index.html exact model]: Find your model and "continue". Then search for "Driver plug-in" in the page. | ||
Then <code>nixos-rebuild switch</code>. This install and starts CUPS. | Then <code>nixos-rebuild switch</code>. This install and starts CUPS. | ||
Go to http://localhost:631 to add the printer. Note that you need to authenticate as root (or yourself if you have sudo access) when you add the printer. Search the web for eg. | Go to http://localhost:631 to add the printer. Note that you need to authenticate as root (or yourself if you have sudo access) when you add the printer. Search the web for eg. "cups add printer" for further help. | ||
= Setup a shared printer = | = Setup a shared printer = | ||
Line 20: | Line 20: | ||
== Server == | == Server == | ||
Follow the steps in [[#basic-configuration|basic configuration]] but make sure to check | Follow the steps in [[#basic-configuration|basic configuration]] but make sure to check "Share This Printer" when adding the printer. | ||
It's probably a good idea to check that printing work locally at the server at this point. | It's probably a good idea to check that printing work locally at the server at this point. |