[Nix-dev] cups executing wrong filter

Samuel samuelrivas at gmail.com
Fri Oct 16 15:25:10 CEST 2015


Hi,

I am trying to print to an lpd printer, but jobs fail with "filter failed"

>From the logs, I think that the problem is reported by the line in the middle:

...
Oct 16 15:13:52 scofield cupsd[887]: [Job 13] Printer: Schibsted
Oct 16 15:13:52 scofield cupsd[887]: [Job 13] Shell:
/nix/store/disi5277lygfj6m7m3ajwvvp9mqdp4la-bash-4.3-p42/bin/bas/usr/local/lib/cups/filter:/usr/local/libexec/cups/filter:/opt/cups/filter
:/usr/lib/cups/filter
Oct 16 15:13:52 scofield cupsd[887]: [Job 13] PPD file:
/etc/cups/ppd/my-printer.ppd
...

Later on:

Oct 16 15:13:52 scofield cupsd[887]: [Job 13] Error: Executing
"/nix/store/disi5277lygfj6m7m3ajwvvp9mqdp4la-bash-4.3-p42/bin/bas/usr/local/lib/cups/filter:/usr/local/libexec/cups/filter:/opt/
cups/filter:/usr/lib/cups/filter -c gs -dFirstPage=1  -q -dBATCH
-dPARANOIDSAFER -dNOPAUSE -dNOINTERPOLATE -sDEVICE=pxlcolor -r600x600
-dDuplex -dMediaPosition=0 -dDEVICEWIDTHPOINTS=595 -dDEV
ICEHEIGHTPOINTS=842 -sOutputFile=-   /tmp/foomatic-cHMQxK " failed (No
such file or directory).

Looks as if somewhere there was a search path instead of a command.
Any idea on where to start looking?

Thanks
-- 
Samuel


More information about the nix-dev mailing list