print on receive
"John Huntjens" (john@ceressoft.nl)
Tue, 18 May 1999 16:43:27 +0200
Eli Marmor wrote ..
>> Can anyone provide me with a hint how to make mgetty after receivig a fax
>> print it automaticly ?
>> A script to so would be nice (or a url)
>
>Look for a script called "new_fax" (under my machine its full path
>is "/usr/lib/mgetty+sendfax/new_fax").
>
>An example for its contents:
>
>#!/bin/sh
>PAGES="$3"
>shift 3
>P=1
>while [ $P -le $PAGES ]
>do
> g32pbm $1 | pbmtolps -dpi 225 | lpr
> shift
> P=`expr $P + 1`
>done
>
>--
>Eli Marmor
Thanks, this works
John