Printing: Difference between revisions

m Adding printers: Add pkgs.epson-escpr 1+2 (Imported)
Apple AirPrint: mention AirPrint by name, add required cups-browsed and cups-filters configuration
Line 13: Line 13:
=== Enable autodiscovery of network printers ===
=== Enable autodiscovery of network printers ===


Most printers manufactured after 2013 support the [https://www.pwg.org/ipp/everywhere.html IPP Everywhere] protocol, i.e. printing without installing drivers. This is notably the case of all WiFi printers marketed as Apple-compatible ([https://support.apple.com/en-ca/HT201311 list]).
Most printers manufactured after 2013 support the [https://www.pwg.org/ipp/everywhere.html IPP Everywhere] protocol, i.e. printing without installing drivers. This is notably the case of all WiFi printers marketed as Apple AirPrint-compatible ([https://support.apple.com/en-ca/HT201311 list]).


To detect these printers, add the following to your system configuration:
To detect these printers, add the following to your system configuration:
Line 21: Line 21:
   nssmdns4 = true;
   nssmdns4 = true;
   openFirewall = true;
   openFirewall = true;
};
services.printing = {
  enable = true;
  drivers = with pkgs; [
    cups-filters
    cups-browsed
  ];
};
};
</syntaxhighlight>
</syntaxhighlight>