R 65,T 5,FONT Times, SIZE 12 points, SPACING 13 points
@=From the desk of
@=NORMAN SWARTZ
@>March 12, 1993
This file illustrates how to set up figures for printing usingthe IBM line drawing characters. You will need to customize yourversion of Sprint according to the directions in the fileDRAWLN01.DOC.
Here is the simplest sort of line drawing, using Extended fontthroughout, i.e. for the enclosing box and for the text within:
R 0,T 5
@begin(text, font Extended, size 9 points, spacing 1 line, notct)
In the next figure, we will print the text, inside the box, usingTimes font. This is trickier because Times, unlike Extended, isa proportionally-spaced font. We will first print the box, usingthe "column" (not the "columns") macro - the effect is to movethe `print head', after the macro completes, back to the pointwhere the macro started. We can then `overprint' with the text. We will indent the box 1@" from the left margin (in effect 2@"from the left edge of the paper), and make it 3@" wide:
@begin(column, linelength 4 inches, size 10 points, spacing 10points, font extended, fill no)
@tabset(1 inch)
╓@>(─)╖
║@>║
║@>║
║@>║
║@>║
║@>║
║@>║
║@>║
║@>║
║@>║
╙@>(─)╜
@end(column)
@style(leftmargin 2.3 inches, rightmargin 3.8 inches, fill yes,justify yes, font times, size 10.75 points, spacing 12 points)
@*This filling for the box was printed in Times font,proportionally-spaced, with both left- and right-justification. It is essential to follow this bit of text with "@@blankspace(xxlines)" in order to move the print head down below the enclosingbox.
To fit the text inside the box above, I set the left margin to2.3@" and the right margin to 3.8@". The actual height of thebox was determined by trial-and-error.
@begin(Group)
@begin(column, linelength 2.5 inches, fill yes, justify yes)
The same technique - using the "column" macro - can be adapted toprint text outside of the box, to its left or right. Examine thefile DRAWLINE.TST to see how this might be done.
@end(column)
@style(leftindent 3 inches, linelength 3.5 inches, fill no, fontExtended, spacing 1 line, notct)
For your reference, here is a table of the ASCII values, 128-255,for the font Extended. As you will see (when this file isprinted), many of the values in this font are not defined. Toprint the title in boldface, it was necessary to revert to theCourier font, since the bold, italics, and bold italics typefacesare not available in the Extended font.
R 0
@begin(text, font Extended, fill no, size 9 points, spacing 1 line, notct)
Those of you who develop other features of Sprint, please doshare them with the SPRINT-L mailgroup and upload them tomsdos/sprint in the Simtel and Oakland repositories.