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
This commit is contained in:
parent
f4f18c11b6
commit
72aae985ae
@ -40,6 +40,7 @@ composableDerivation.composableDerivation {} {
|
|||||||
mkdir -p $out/lib/cups
|
mkdir -p $out/lib/cups
|
||||||
ln -s $out/filter $out/lib/cups/
|
ln -s $out/filter $out/lib/cups/
|
||||||
wrapProgram $out/filter/rastertogutenprint.5.2 --prefix LD_LIBRARY_PATH : $out/lib
|
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 = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user