grahamtnewlands
Programmer
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 ??
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 ??