Printing: Difference between revisions

imported>Joepie91
mNo edit summary
imported>MasseGuillaume
How to connect to a network printer
Line 52: Line 52:


Refer to eg. https://wiki.archlinux.org/index.php/CUPS/Printer_sharing for further info.
Refer to eg. https://wiki.archlinux.org/index.php/CUPS/Printer_sharing for further info.
<syntaxhighlight lang="nix">
services = {
    avahi = {
      enable = true;
      nssmdns = true;
    };
    printing.enable = true;
}
</syntaxhighlight>
You can setup CUPS by connection to http://localhost:631/
Click on Administration on the top bar
Then add a printer.
A list of Discovered Network Printers should be available if you have a network printer.
<code>
Discovered Network Printers: Brother HL-5370DW series (Brother HL-5370DW series)
Other Network Printers: LPD/LPR Host or Printer
Internet Printing Protocol (ipp)
Backend Error Handler
Internet Printing Protocol (https)
AppSocket/HP JetDirect
Internet Printing Protocol (ipps)
Internet Printing Protocol (http)
Windows Printer via SAMBA
Continue
</code>
The PPD File should be available from the vendor website. For example the Brother HL-5370DW is available here: http://support.brother.com/g/s/id/linux/en/download_prn.html#HL-5370DW


== Client (windows) ==
== Client (windows) ==