Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > de.alt.comm.mgetty > #2246

Mail received fax as pdf

From Volker Englisch <vne2@vkrz.de>
Newsgroups de.alt.comm.mgetty
Subject Mail received fax as pdf
Date 2023-03-16 13:39 +0100
Organization Rabbit System
Message-ID <tuv2md$m86$1@selene.rsli.de> (permalink)

Show all headers | View raw


Hello!

Is this group still alive?

I want mgetty to mail every received fax as a pdf to a local recipient. For
that reason, I modified one of the samples of new_fax like this (only the
more intersting part follows):


	(
	    echo "Subject: fax from $SENDER, page $P of $PAGES"
	    echo "To: $MAILTO"
	    echo ""
	    $G3TOPBM $STRETCH $FAX | pbmtolps > /tmp/$$.ps
	    ps2pdf /tmp/$$.ps /tmp/$$.pdf
	    uuencode /tmp/$$.pdf $$.pdf
	) | $MAILER $MAILTO

It works so far. But the quality of the resulting pdf's is poor. They also
seem to be shrinked instead of filling an entire A4 page (like received).

Any suggestions on how to do it better?

V.

Back to de.alt.comm.mgetty | Previous | NextNext in thread | Find similar


Thread

Mail received fax as pdf Volker Englisch <vne2@vkrz.de> - 2023-03-16 13:39 +0100
  Re: Mail received fax as pdf Ignatios Souvatzis <u502sou@bnhb484.de> - 2023-03-16 16:04 +0000
    Re: Mail received fax as pdf Volker Englisch <vne2@vkrz.de> - 2023-03-16 18:37 +0100
  Re: Mail received fax as pdf Gert Doering <gert@greenie.muc.de> - 2023-03-16 14:25 +0000

csiph-web