Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

RE>Printing failed faxes...



Hi.
Sorry, I made a typo that will render the notify script useless. An if 
clause needs a then, and it didn't make it into the email. Sorry.....
mended version:

if [ "$WHY" = "failed" ] ; then
  fname=`cat $QFILE |grep docq | cut -f4 -d:`
  lpr $fname
fi

Michael
Please note that I only generate single page faxes, and I suspect that 
multiple documents are possible in the docq. Multiples will trip this 
up. It also assumes adequate filters are configured for the printer to 
handle the various doc types.

There may be a better solution than this by creating a PrintDocument() 
function in notify.awk, called from the stanza starting /else if (why 
== "failed") /, but it is currently outside my meagre skills...



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services