[Samba] HOWTO Create a PDF Writer in samba

Buchan Milne bgmilne at cae.co.za
Tue Jul 30 09:48:02 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Message: 12
| From: "Chris Mason" <masonc at masonc.com>
| To: "'Samba List (E-mail)'" <samba at lists.samba.org>
| Subject: RE: [Samba] HOWTO Create a PDF Writer in samba
| Date: Tue, 30 Jul 2002 05:52:09 -0400
|
| Is an "Email attached PDF -to - print" solution possible, where an email
| to a certain address containing a pdf will auto print on the printer?
| I am thinking about the New York Times fax that comes to us by email and
| is the only email we get to that address. Using Redhat 7.3 and a HP
| laserjet.
|
|


This is not really related to samba though. You can make a
procmail/maildrop/other MDA rule, which will filter that mail, and have
it run through a script.

We do something similar with reports we get, we strip out the
attachments, uudecode them if necessary, unzip if necessary and dump the
~ file.

Here is an example script you can look at (takes file on stdin, ie from
procmail filter):
http://ranger.dnsalias.com/mandrake/scripts/fileeater

You can then just add pdf2ps|lpr on any .pdf attachment.

Buchan

- --
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9RsL3rJK6UGDSBKcRAvY/AJ4ypdWPQpI0W4iwgh/d0s/HGn9QLQCeOEhF
jarP4DjH5G5oZqypKhOPELM=
=lQ/L
-----END PGP SIGNATURE-----





More information about the samba mailing list