Adjusting scale for printing faxes / Solved

Gert Doering (gert@greenie.muc.de)
Fri, 13 Nov 1998 23:18:52 +0100


Hi,

On Fri, Nov 13, 1998 at 11:00:12PM +0100, Erik van der Meulen wrote:
>                 res=`basename $file | cut -c4`
>                 if [ "$res" = "n" ]
>                 then
>                         stretch="-s"
>                 else
>                         stretch=""
>                 fi
> 
>                 log "print $file to $printer"
>                 g32pbm $stretch $file \

While that would work, *basically* "g32pbm" should figure out things on
its own.  Oh.  I think I see the problem - g32pbm works on the second
letter (ff/fn), totally ignoring the fact that the second letter might be
part of the *directory*, not the filename.

Will have to check & fix this.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de