1 Dec 2000 03:24
Re: trouble printing PS attached
Scott Savarese <savarese <at> fortunecity.com>
2000-12-01 02:24:48 GMT
2000-12-01 02:24:48 GMT
Well, I am kinda new to the list, so I am going to throw what little knowledge I have into this...Feel free to correct me if you know better... The From line looks okay, though I usually keep my From lines like: * ^From: .*fax-server Also, the attachments are usually encoded before they are sent out. Thus the body of the message will have to be decoded first. If you assume that all mail from fax-server is the postscript, you can remove the second B ?? line. (BTW are you sure that works? The B variable is the body of the message?). You can then pipe the message to a perl script which determines the attachement name, decodes the document, then prints and deletes the file. I hope this helps. I am pretty new to this... Scott On Tue, 28 Nov 2000, Carlos Eduardo R. L. de Miranda wrote: > I receive email with postscript files attached to it. I would like to print > those emails and to do so, i am using the recipe: > > :0 b > * ^From[ :].*fax-server > * B ?? ^^%! > | lpr > > It is not working as expected. The postscript mail is not detected and it is > sent to /var/spool/mail/user-name file. Anyone to help me?(Continue reading)
RSS Feed