Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using lp to send an email attachment

Status
Not open for further replies.

grahamtnewlands

Programmer
Apr 23, 2003
1
AU
I have seen a few entries in this forum relating to using lp to email printer files as attachments...Is the following the correct process to follow (I'm experienced in hp-ux but not at admin level) :

1. create new printer say called "mail" with lanadmin and specify an interface file and name the output device as being /dev/null
2. create interface script in /etc/lp/interface called mail and edit this script so that it does a mailx or similar of the file to an email address
3. has anyone an example script I could use as a template ??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top