HylaFAX The world's most advanced open source fax server |
Nicki, Perhaps psmark can help in your situation like it did for ours. We are 'watermarking' the inbound faxes and emailed PDF's with an (NTP synched) timestamp, regardless of the fax sender's date/time header. Ours is a tiny stamp in the lower left corner. Here's our command line in FAXRCVD for the PDF: $TIFF2PS -a3 $FILE | psmark -i - -o - -b 0 -x 10 -y 10 -s 7 "Received on: $(date)" | ps2pdf14 -dAutoRotatePages=/None - $FILE.pdf Basically, TIFF2PS the fax, pipe it into PSMARK with your text/variables, then pipe that thru PS2PDF14. Works like a charm for us. As one might expect, it embeds the font in the pdf. So a slight increase in pdf size should/will be evident. One warning before you compile the psmark, I had to edit the psmark.c near line 100 and put quotations around some text. I forget which line exactly. I'm using 2.1. Hope that helps. Nicki Messerschimdt wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lee Howard wrote:Nicki Messerschimdt wrote:Now I want to insert a status header (dialed number, status, date, pages) into the pdf which I receive as mail after I sent a fax using whfc (or sendfax on cli). After searching for a while without result I ask here. Does anyone know how to insert a status header into the pdf on sent faxes?It will require some scripting work on your part. However, a starting point may be the "overlay" example described here: http://hylafax.sourceforge.net/howto/tweaking.php#ss6.12This solution seems nice. But I'm not that much of a postscript scripter to get this working the way I want (multipage postscript files are a problem right now). I solved it using mpage. Not necessarily nice but working. ;) Cheers Nicki - -- Linksystem Muenchen GmbH We make the Net work Schloerstrasse 10 Tel. 089 / 890 518-0 80634 Muenchen Fax 089 / 890 518-77 info@xxxxxxxxx http://www.link-m.de Handelsregister: Amtsgericht Muenchen, HRB 129182 Geschaeftsfuehrung: Christine Wittig, Mathias Zunterer PGP Keys: https://www.link-m.de/pgp/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIs6nw6zWc+bXuIEMRAlalAKClC58cWOZpPvBWyqeb8vijkvRPUwCgrNtU IVMnMjffq3XjRigIBYDeGmU= =saKa -----END PGP SIGNATURE----- ____________________ 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* |