[cups.general] How gets a Filter-Script the Input?
Michael R Sweet
msweet at apple.com
Tue Feb 3 08:11:02 PST 2009
Daniel Spannbauer wrote:
> Hello,
>
> I've added for a Printer a filter-script with lpadmin -i filter .....
> But the filter seems to get no input.
>
> On which way does the filter get his input?
> in that style:
> echo "some input" |filter
> or:
> filter "some input"?
>
> So: Is the printing-Data piped thru the Filter or is it a Argutent for
> the Printer?
"man filter"
The first filter (in this case the only one) gets the print filename
in argv[6] ($6 in a shell script).
--
______________________________________________________________________
Michael R Sweet Senior Printing System Engineer
More information about the cups
mailing list