Once upon a time, I used to scan things like this:
scanimage > scan.pnm

(I'd usually just pipe it into other commands, but something like
that.  Just like it says in the man page.)

Now the trouble is, the rest of my pipeline is failing because instead
of printing a pnm file, scanimage is printing "Failed cupsGetDevices"
followed by the scan output.  pnm files are not supposed to start with
the magic phrase "Failed cupsGetDevices", and so the pnm utilities are
now refusing to operate on my scans.

Why is this happening?  How do I make it stop?

Reply via email to