![]() |
That's it! Now it works. Thanks, Elena
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.
Lee.
-- Elena Benítez López Instituto Nacional de Estadística S.G. Informática Estadística
____________________ 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*