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

Print a datestamp on incoming faxes

Revision as of 18:01, 19 December 2005 by Paul (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

psmark 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.

Powered by MediaWiki
Attribution-ShareAlike 2.5

Project hosted by iFAX Solutions