SATFILTER Examples |
|
Home | SATGUI | SATSHELL | SATFORM | SATFILTER | SATREPORT | SATMYSQL | License | Download | Examples | Contact |
A "Pay increase" letter. This example uses bold/underline/italic attributes. Positioning text. Positioning numbers using right justification.
Sample Output |
Example SAT/ML |
Assume a file called salary in the "current" directory with the following contents:
<@ 50>Reference:<@ 58>AD001 <@ 50>Date:<@ 58>03/23/2001 <@ 50>Tel:<@ 58>555-9876 <indent 10> Mr John Smith 12 High Street Townsville <size 15><b><u>Pay Increase</u></b><size 12> Dear Mr Smith, I am delighted to inform you that your salary will be increased from its current value of $41,000 to $45,100 with effect from 04/01/2001. A <i>full</i> list of agreed deparmental pay increases is shown below. If you have any questions concerning your salary, please contact your line manager. <b><u>Job</u> <u>Old Salary</u> <u>New Salary</u></b> Sales President<$ 30:110,000><$ 40:121,000> Sales Manager<$ 30:65,000><$ 40:71,500> Sales Senoir<$ 30:41,000><$ 40:45,100> Sales Junior<$ 30:32,000><$ 40:35,200> Yours, Frank Stapleton (Senior Finance Manager)
Printing The Example |
Assume the printer to be used is called printer1. The following command will print the "Pay Increase" letter.
cat payincrease | satfilter | lp -dprinter1 -onobannerThe payincrease file can contain many letters. Each letter must be separated by either a "formfeed" character -or- the <p> tag.