Difference between revisions of "Print a datestamp on incoming faxes"
(psmark project abandoned, new link + directions) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [http://freshmeat.net/projects/psmark/ 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: | + | [http://freshmeat.net/projects/psmark/ psmark] (abandoned freshmeat project, compile psmark src from: [http://sourceforge.net/projects/gnuwin32/files/psmark/2.1/ 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: |
<pre>fax2ps $FILE | lpr -Pmyprinter</pre> | <pre>fax2ps $FILE | lpr -Pmyprinter</pre> |
Latest revision as of 17:27, 18 February 2011
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.