diff options
author | Cillian de Róiste <goibhniu@fsfe.org> | 2013-11-10 16:27:02 +0100 |
---|---|---|
committer | Cillian de Róiste <goibhniu@fsfe.org> | 2013-11-10 16:32:05 +0100 |
commit | 72aae985ae0ae8972859a3fbb9b45d4cb86f2822 (patch) | |
tree | e066158c630b38e99b8cae7a9e5c6d130efb1664 | |
parent | f4f18c11b6bbdfb8c1716a204fda400106fbb4e6 (diff) | |
download | nixpkgs-72aae985ae0ae8972859a3fbb9b45d4cb86f2822.tar nixpkgs-72aae985ae0ae8972859a3fbb9b45d4cb86f2822.tar.gz nixpkgs-72aae985ae0ae8972859a3fbb9b45d4cb86f2822.tar.bz2 nixpkgs-72aae985ae0ae8972859a3fbb9b45d4cb86f2822.tar.lz nixpkgs-72aae985ae0ae8972859a3fbb9b45d4cb86f2822.tar.xz nixpkgs-72aae985ae0ae8972859a3fbb9b45d4cb86f2822.tar.zst nixpkgs-72aae985ae0ae8972859a3fbb9b45d4cb86f2822.zip |
gutenprint: wrap sbin/cups-genppd.5.2
This is used to generate ppd files for cups: $ cups-genppd.5.2 -M | grep p50 canon-cp500 escp2-p50 $ cups-genppd.5.2 -p . escp2-p50 This will create the relevant ppd file in the current directory. This can then be used by cups after setting services.drivers.drivers = [pkgs.gutenprint]; and configuring the printer to use this ppd e.g. via the web interface on http://localhost:631
-rw-r--r-- | pkgs/misc/drivers/gutenprint/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/misc/drivers/gutenprint/default.nix b/pkgs/misc/drivers/gutenprint/default.nix index 77b3a22f464..ebec9867a61 100644 --- a/pkgs/misc/drivers/gutenprint/default.nix +++ b/pkgs/misc/drivers/gutenprint/default.nix @@ -40,6 +40,7 @@ composableDerivation.composableDerivation {} { mkdir -p $out/lib/cups ln -s $out/filter $out/lib/cups/ wrapProgram $out/filter/rastertogutenprint.5.2 --prefix LD_LIBRARY_PATH : $out/lib + wrapProgram $out/sbin/cups-genppd.5.2 --prefix LD_LIBRARY_PATH : $out/lib ''; meta = { |