HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Altering fax image w/FaxModify does not work

That's it! Now it works.

Lee Howard escribió:
Elena Benítez López wrote:

The FaxModify script:

#!/bin/bash ps2ascii $fil aux_ascii lines=$(wc -l aux_ascii | cut --delimiter=" " -f 1) lines2=$(($lines - 3)) tail -n $lines2 aux_ascii > aux_ascii2 java -jar hylafax.jar aux_ascii2 cp result.pdf $fil

Any help would be appreciated.

Be aware that FaxModify gets invoked by ps2fax, pdf2fax, and tiff2fax (all three). So here you have a FaxModify script that presumes that $fil is Postscript and then turns it into a PDF? I would think that $fil should stay Postscript.


-- Elena Benítez López Instituto Nacional de Estadística S.G. Informática Estadística

Correo-e: eblopez@xxxxxx

____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*

Project hosted by iFAX Solutions