[cups.general] emailing

Jerome Alet alet at librelogiciel.com
Fri Jun 27 06:07:31 PDT 2008


Hi,

On Fri, Jun 27, 2008 at 07:56:45AM -0500, Minatra, Pat H. wrote:
> Does anyone know how I would go about setting up a printer on 
> v.1.1.23 to print to that would 'actually' email to a predetermined 
> email address?  I can't seem to find anything on this and should be 
> easy enough to do but what I have tried has not worked. 

Attached to this message you'll find what I use here with Tea4CUPS,
which can be found at http://www.pykota.com

All jobs printed to the PDFGen print queue are mailed back to
an email address extracted from a textfile based on the print
client's IP address.

Works like a charm for me, but as always, YMMV.

bye

Jerome Alet
-------------- next part --------------
[global]
debug : no
directory : /var/spool/tea4cups/
keepfiles : no
onfail : echo "Original Backend failed" | /usr/bin/mail -s Tea4CUPS root at localhost

[PDFGen]
prehook_topdf : /usr/local/bin/pdftomail.sh
-------------- next part --------------
localhost:me at example.com
127.0.0.1:me at example.com
192.168.1.129:me at example.com
192.168.1.130:someoneelse at otherdomain.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdftomail.sh
Type: application/x-sh
Size: 422 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20080627/cb8bfaab/attachment-0001.sh>


More information about the cups mailing list