home *** CD-ROM | disk | FTP | other *** search
- /*
- * The printer server can be told to send email on job completion.
- * By default, this is sent to user@domain, where domain is the
- * fully-qualified Internet domain name (as returned by gethostbyname()).
- * If this will not work (perhaps because the host that is running this
- * version of lpr cannot receive mail), define MAKE_EMAIL_ADDRESS here
- * as a macro that will concoct an appropriate address. Examples follow:
- *
- *
- * for a VMS machine that can receive DECnet mail, and a UNIX lpd server
- * that understands mail sent to user@node.DECnet, do:
- *
- * #define MAKE_EMAIL_ADDRESS(buf,user,dom) \
- sprintf (buf, "%s@%s.DECnet", user, getenv ("SYS$NODE"))
- *
- *
- * for a VMS machine that can receive DECnet mail, and an lpd server
- * that can send mail to node::user, use:
- *
- * #define MAKE_EMAIL_ADDRESS(buf,user,dom) \
- * sprintf (buf, "%s::%s", getenv ("SYS$NODE"), user)
- *
- * Or you can concoct your own. For instance, we at UTK have an Internet
- * domain dnet.utk.edu that maps node.dnet.utk.edu to the appropriate
- * DECnet node for the purposes of email. So we use:
- *
- * #define MAKE_EMAIL_ADDRESS(buf,user,dom) \
- * sprintf (buf, "%s@%s.dnet.utk.edu", user, getenv ("SYS$NODE"))
- */
-