Folks frequently want to print their faxes, so this patch adds a print command to the viewfax command: diff -ru viewfax-2.4/viewfax.c~ viewfax-2.4/viewfax.c --- viewfax-2.4/viewfax.c~ Wed Nov 13 13:46:44 1996 +++ viewfax-2.4/viewfax.c Sat Dec 5 13:50:22 1998 @@ -758,6 +758,13 @@ 0, 0, PaneWidth, PaneHeight); XDefineCursor(Disp, Win, ReadyCursor); break; + case XK_Print: + {char cmd[256]; struct pagenode *p = firstpage; + sprintf(cmd, "tiffsplit %s /tmp/viewfax$$; " + "tiff2ps /tmp/viewfax$$* | lpr; " + "rm -f /tmp/viewfax$$*", thispage->pathname); + system(cmd);} + break; case XK_z: if (Event.xkey.state & ShiftMask) goto Zoomout; -- To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null