Print a datestamp on incoming faxes: Difference between revisions

No edit summary
 
m Reverted edits by Nc4C6i (Talk); changed back to last version by Paul
(No difference)

Revision as of 13:03, 29 June 2007

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.


This page was last edited on 29 June 2007, at 13:03.