Adjusting scale for printing faxes
Erik van der Meulen (erik@avondel.xs4all.nl)
Wed, 11 Nov 1998 06:59:12 +0100
Dear people,
I am running a new Debian 2.0 Linux system that has mgetty-fax 1.1.14-2
installed. Receiving faxes works flawlessly, and I am very pleased with
that indeed.
Now I have set up the post process scripts called new-fax by Darko Krizic
which came with my distribution. They provide very nice options for
dealing with faxes. The only thing which I can not seem to solve is that
if a normal resolution fax is printed, it comes out compressed to half
the height of a page. Very difficult indeed. High res. faxes work very
well.
Now I found in the FAQ a section which addresses something like this,
and this gave me hope that someone has tried to resolve it.
I am very ignorant when it comes to shell scripts, but the code is
something like:
> #
> # Written 1996 by Darko Krizic
> #
> print()
> {
> # optionally take data as new archive directory
> if [ ! -z "$data" ]
> then
> printer=$data
> fi
> for file in $*
> do
> log "print $file to $printer"
> g32pbm $file \
> | pnmscale -xysize 2479 3508 \
> | pgmtopbm -fs \
> | pbmtolj -resolution 300 \
> | lpr -P $printer
> done
>
> }
If there is no know solution, I would be happy with hints that
can help me to work it out by myself.
Thanks up front,
Erik van der Meulen <erik@avondel.xs4all.nl>