SATFORM Examples
S@
Home SATGUI SATSHELL SATFORM SATFILTER SATREPORT SATMYSQL License Download Examples Contact

A "Account Balance" letter. This example uses bold/underline/italic attributes. Positioning text.

Sample Output

Example SAT/ML

Assume a file called accountbalance 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>Banking Charges</u></b><size 12>

Dear Mr Smith,

This letter is to inform you of the revised Banking Charges for the year 2001.

We have tried very hard over the last year to keep costs down, and as a result
Our charges will be abolished for accounts in credit. For accounts in debit there
will be a charge of $10.00 per month.

In addition debit balances must be reduced by at least 10% of the outstanding
amount per month, otherwise there will be an extra penalty charge of $15.00.

Your account balance as at 03/22/2001 was $250.16 Credit.

As your account is in credit there will be no Banking Charge for this month.

Yours,



Frank Stapleton
(Senior Banking Manager)
Printing The Example

Assume the printer to be used is called printer1. The following command will print the "Account Balance" letter.

cat accountbalance | satfilter | lp -dprinter1 -onobanner
The accountbalance file can contain many letters. Each letter must be separated by either a "formfeed" character -or- the <p> tag.


Copyright © 2003 Adrian Davis.