| SATFILTER Examples |
|
| Home | SATGUI | SATSHELL | SATFORM | SATFILTER | SATREPORT | SATMYSQL | License | Download | Examples | Contact |
A "Mailshot" letter. This example uses bold/underline/italic attributes. Font style and size.
| Sample Output |
| Example SAT/ML |
Assume a file called mailshot in the "current" directory with the following contents:
<font univers> MR JOHN SMITH 12 HIGH STREET TOWNSVILLE <size 15><b><u>Experience of a lifetime offer</u></b><size 12> Dear MR SMITH, You have been especially chosen to receive our "Experience of a lifetime offer". You are among just 250,000 of our customers who qualify for the chance to borrow as much money as you like. You simply pay back whatever you can afford, as and when you can afford it!! Just think what you could do with <b>one million dollars</b>. One million not enough? Then think of a bigger number!! Simply contact our office any time, any day, day or night, and ask for as much money as you want. We will <i>never</i> refuse a genuine request. We don't do credit checks, we don't require security. This probably sounds too good to be true. So, try us. Dial 555-5055 and ask for money. Yours, Frank Stapleton (Senior Loans Manager)
| Printing The Example |
Assume the printer to be used is called printer1. The following command will print the "Mailshot" letter.
cat mailshot | satfilter | lp -dprinter1 -onobannerThe mailshot file can contain many letters. Each letter must be separated by either a "formfeed" character -or- the <p> tag.