imagemagick / hylafax question

Jeremy Fowler jfowler at westrope.com
Thu Nov 14 17:52:21 CST 2002


I'm not sure why your using Imagemagick for the conversion. It's better to use
libtiff which has a tiff2ps (and the older, lesser quality, fax2ps) command line
program that will convert the tiff image to a Postscript image.

Then look at the bin/faxrcvd shell script in the Hylafax install directory, it
converts the fax to Postscript or PDF by setting the FILETYPE=ps or FILETYPE=pdf
respectively in /var/spool/hylafax/FaxDispatch. It's default behavior is to
email tiff images. However, you will need to add a line or two to faxrcvd to
print the fax after it has been converted to PS.

> -----Original Message-----
> From: owner-kclug at marauder.illiana.net
> [mailto:owner-kclug at marauder.illiana.net]On Behalf Of mike neuliep
> Sent: Wednesday, November 13, 2002 6:48 PM
> To: kclug at kclug.org; nwilug at nwilug.org
> Subject: imagemagick / hylafax question
>
>
> Hello All,
>
>      I'm currently using hylafax to receive faxes on a debian 3.0r0 system.
> This works extremely well and the next thing I'd like to be able to
> do is to print the faxes from the command line.  Here's the catch:
> Hylafax stores multi-page faxes as 1728x1025 images.  This is roughly a
> 1.7 by 1.0 ratio.  The effect is that the fax squished top to bottom greatly.
> Now, if I use gnu-halifax I can print everything to a postscript printer
> all peachy-keen.  It prints out the fax the same way a fax machine would
> do so.  I'm using a2ps with imagemagick as the helper to print faxes (.tif
> files) from the command line.  Imagemagick no matter how I resize the tif
> wants to keep the same 1.7 by 1.0 ratio.  This makes for lousy printing of
> a fax.  Does anyone know of a better way to print faxes?  BTW I'm using
> CUPS as my spooler, it seems to work really well.  I know someone out here
> on kclug once mentions that they process about 4000 faxes a month with
> hylafax so I am hoping that person could help me.
>
> 	Mike
>
>




More information about the Kclug mailing list