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] DateStamp PDF Attachment Received by from FaxDispatch
Hi Riccardo
I have changed the code were necessary, and I think we are almost their.
I have just got one final problem, no attachment is being sent through
with the e-mail.
Is this something obvious that I have missed or got wrong?
Thanks Again
Andy
On Wed, September 3, 2008 20:04, Riccardo Magliocchetti wrote:
> Andy Rogers wrote:
>> Ok Riccardo
>>
>> I think I have got it now, I have altered the code below to how you have
>> said.
>>
>> TIFF|tiff|TIF|tif)
>> TraceLog "Using tiff2pdf"
>> name="`basename $1 .tif`"
>>
>> echo "i'm here! (4): $2" > /tmp/foobar4
>>
>> $TIFF2PS -o $TMPDIR/$name.ps $1
>> psmark -i $TMPDIR/$name.ps -o $TMPDIR/$name-marked.ps
>> -x -400 -y 20 -r 0 -s 10 "`date`"
>>
>> $PS2TIFF $TMPDIR/$name-marked.ps -o $TMPDIR/$name.pdf
>>
>> rm -f $TMPDIR/$name-marked.ps
>>
>> $TIFF2PDF -o $TMPDIR/$name.pdf $1
>> echo "$TMPDIR/$name.pdf"
>>
>> Just one final question, do I still need to call the original part of
>> code
>> $TIFF2PDF -o $TMPDIR/$name.pdf $1 in the second to last line or should
>> this be excluded?
>
> It was correctly commented in the previous version. BTW i made a typo in
> my
> last mail and PS2TIFF should have been written PS2PDF.
>
>> I wan't to try and get it correct, as i did try to fiddle on the live
>> system but caused some problems which my boss did not like. We did have
>> a
>> spare linux system i could have use but that died.
>
> To test that hunk of code you don't need a whole hylafax server, you just
> need a machine with ghostscript, libtiff-tools, psmark and a shell. And a
> tiff file. Please read [1] in my previous mail.
>
> Please _try_ these few lines before answering to this mail :)
>
> cheers,
> riccardo
>
>
> ____________________ 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*
>
>
____________________ 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*