home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 3
/
CDASC03.ISO
/
news
/
4326
/
fontsp
/
fsamp.txt
< prev
next >
Wrap
Text File
|
1993-04-01
|
2KB
|
46 lines
This sample file illustrates the use of variables and formatting
comands in FSAMP 2.0's "File Print" function.
VARIABLES:
In this example, the file &i will be printed in &f
and &s points of size. The output printer is the &n
using the &v driver, connected to port &o.
Page number &p of this text is printed on &d, &t.
The full file name is &u.
FORMATTING:
And now we will try some formatting commands.
Let us start with &&b+boldface&&b- and back to normal.
Now we'll try &&i+italic&&i- and back to normal.
Then we try an &&u+underline&&u- and, of course, back to normal.
Combining multiple formats &&b+&&i+&&u+is also possible.&&b-&&i-&&u-
You can also select different pointsizes,
say &&s1414, &&s1818, &&s088 &&s00and back to &s, our standard point size.
Note that the line spacing will adjust to the biggest size on the line.
Different fonts will look like this:
the testfont, &&F'Courier New'Courier New, &&F''the standardfont, &&F'0'and back to the testfont.
You can use these features, for example, to prepare a sample
page that you can print for each font and file it away for
future reference, like the following one:
&&PB
&&S16&&B+&&F''&f
&&B0&&S14&&F'0'abcdefghijklmnopqrstuvwxyzΣ÷ⁿ
ABCDEFGHIJKLMNOPQRSTUVWXYZ─╓▄
1234567890▀!"º$%&/()=?
&&B+Bold &&B-&&I+Italic &&B+Bold/Italic&&B0&&I0
The quick brown fox jumps over the lazy dog.
&&s28
abcdefghijklmno pqrstuvwxyzΣ÷ⁿ
ABCDEFGHIJKLMNO PQRSTUVWXYZ─╓▄
1234567890▀ !"º$%&/()=?
The quick brown fox jumps over the lazy dog.