![]() |
I have just been looking at some of the existing files in a bit more detail, and found the common-functions file maybe one which I could hack.
Would it work if I used a similar string to:
psmark -i - -o - -x -400 -y 20 -r 0 -s 10 "`date`"
and added this to one of the lines in the Convert File area of the script, like maybe:-
PDF|pdf) TraceLog "Converting $1 to PDF" case $2 in PostScript|Postscript|PS|ps) TraceLog "Using ps2pdf" name="`basename $1 .ps`" psmark -i - -o - -x -400 -y 20 -r 0 -s 10 "`date`" | $PS2PDF $1 $TMPDIR/$name.pdf >/dev/null 2>&1 echo "$TMPDIR/$name.pdf" ;;
Would this work or something similar, or am i completley off the mark?
psmark -i $1 -o $TMPDIR/$name-marked.ps -x -400 -y 20 -r 0 -s 10 "`date` $PS2PDF $TMPDIR/$name-marked.ps $TMPDIR/$name.pdf >/dev/null 2>&1 rm -f $TMPDIR/$name-marked.ps
HTH, 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*