Personal tools
HylaFAX The world's most advanced open source fax server

Print a datestamp on incoming faxes

psmark (abandoned freshmeat project, compile psmark src from: here) can overlay text onto Postscript documents, such as those fed to faxrcvd. For example, if you are automatically printing everything you receive, you will have a line like this in your faxrcvd:

fax2ps $FILE | lpr -Pmyprinter

If you install psmark, all you need to do is insert it into the chain of pipes, like so:

fax2ps $FILE | psmark -i - -o - -x -400 -y 20 -r 0 -s 10 "`date`" | lpr -Pmyprinter

This will place the output of the date command along the top left corner of every incoming fax, which can be useful since not all fax machines put such information on the fax when they are sending it.

This page was last edited on 18 February 2011, at 17:27.

Powered by MediaWiki
Attribution-ShareAlike 2.5

Project hosted by iFAX Solutions