printer command

Enrique Arredondo henry at vegena.net
Mon Apr 11 13:04:46 PDT 2011





On 4/11/2011 2:42 PM, Jean-Pierre A. Radley wrote:
> Enrique Arredondo propounded (on Mon, Apr 11, 2011 at 01:29:01PM -0500):
> | Hi,
> |
> | I want to send by email a form within input processing using the printer
> | "command" feature, is that possible ?
> |
> | I was thinking about doing it like this:
> |
> |
> |  	then:  printer "cat | mail -s 'yada' test at test.com"
> |
> |          then:  form "letter";end
> |
> | Would it work ? Sorry for not testing it but in this case I don't want to
> | torpedo something that will cause my whole system to blow up.
>
> Not quite.  I've got some code like this:
>
> 	::printer type "nocodes":
> 	::printer "|mail -s 'Quote for"<hc{"'"<hm:
> 	::form "custquote":
> 	::printer reset:
>
> This will fill in values on the output format called "custquote", and
> mail it, hc being a customer's name, and and hm its email address.
>
>
It works perfect!

Thanks so much


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20110411/6189fd0e/attachment.html 


More information about the Filepro-list mailing list