Printing: Difference between revisions

imported>Onny
mNo edit summary
imported>Chuangzhu
use stable nix-shell cli, use sudo -E to pass all envvars so it works on wayland
Line 16: Line 16:
* <tt>pkgs.gutenprintBin</tt> &mdash; Additional, binary-only drivers for some printers.
* <tt>pkgs.gutenprintBin</tt> &mdash; Additional, binary-only drivers for some printers.
* <tt>pkgs.hplip</tt> &mdash; Drivers for HP printers.
* <tt>pkgs.hplip</tt> &mdash; Drivers for HP printers.
* <tt>pkgs.hplipWithPlugin</tt> &mdash; Drivers for HP printers, with the proprietary plugin. Use <syntaxhighlight lang="console">nix run nixpkgs.hplipWithPlugin -c sudo hp-setup</syntaxhighlight> to add the printer, regular CUPS UI doesn't seem to work.
* <tt>pkgs.hplipWithPlugin</tt> &mdash; Drivers for HP printers, with the proprietary plugin. Use <syntaxhighlight lang="console">NIXPKGS_ALLOW_UNFREE=1 nix-shell -p hplipWithPlugin --run 'sudo -E hp-setup'</syntaxhighlight> to add the printer, regular CUPS UI doesn't seem to work.
* <tt>pkgs.postscript-lexmark</tt> &mdash; Postscript drivers for Lexmark
* <tt>pkgs.postscript-lexmark</tt> &mdash; Postscript drivers for Lexmark
* <tt>pkgs.samsung-unified-linux-driver</tt> &mdash; Proprietary Samsung Drivers
* <tt>pkgs.samsung-unified-linux-driver</tt> &mdash; Proprietary Samsung Drivers