printer command

Dennis Malen dmalen at malen.com
Mon Apr 11 15:08:31 PDT 2011


That is easier than using the system command. I like the use of the single 
quotes. Really works great.

How would you change the code if you were doing an attachment?

Dennis Malen
516.479.5912
----- Original Message ----- 
From: "Jean-Pierre A. Radley" <appl at jpr.com>
To: "FilePro Mailing List" <filepro-list at lists.celestial.com>
Sent: Monday, April 11, 2011 3:42 PM
Subject: Re: printer command


> 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.
>
>
> -- 
> JP
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list 



More information about the Filepro-list mailing list