home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!pitt!willett!ForthNet
- From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie)
- Newsgroups: comp.lang.forth
- Subject: F-PC tidbits
- Message-ID: <3986.UUL1.3#5129@willett.pgh.pa.us>
- Date: 15 Aug 92 13:47:34 GMT
- Organization: EIEI-U
- Lines: 48
-
- Category 2, Topic 25
- Message 10 Fri Aug 14, 1992
- L.ZETTEL [Len] at 20:41 EDT
-
- From: EDWARD LIPSON
-
- L[> EDITOR 52 !> PRTLINES \ Set SED lines per page to 52.
-
- > Why did you prefix the number of lines by EDITOR - to set the context?
-
- Yes. PRTLINES is in the editor vocabulary. Editor lets it be found in a
- dictionary search.
-
- Re: The alternate solutions involving sending escape sequences to the
- printer to reformat the page. I have had a chance to investigate this a
- little more. It can be done, BUT...
-
- As Dick Miller observed, the key parameter is the number of lines per
- inch. This can be changed very neatly by something like the following:
-
- : 8lpi ( --) \ Set printer to print eight lines per inch
- PRINTING ON 27 EMIT ." &l8P " PRINTING OFF ;
-
- Works slick as a whistle. Dot-paren is real nice for checking things out
- interactively also. Of course, you also have to set the character height
- to something less than 12 points or successive lines will overlap.
-
- So far, so good, but now come the sticking points. The next line spacing
- after six lines per inch (the default) is eight lines per inch (the
- choices are 1, 2, 3, 4, 6, 8, 12, 16, 24, 48). There appears to be no
- way to "decrease the line spacing slightly". And, at eight lines per
- inch, you really have to go to eight point characters (the choices on my
- 25 built-in fonts are mostly 12, 10, and 8). The result at the default
- settings of F-PC is UGLY!
-
- I seem to have run into addendum 429 of Murphy: "No matter how many
- options are provided, you won't have the one you want". In this case it
- would be about six and a half lines per inch and 11 point type.
-
- Summary: I've learned a few things, and for now, will go with six lines
- per inch, 12 point Courier, and 52 lines per page.
-
- -LenZ-
- -----
- This message came from GEnie via willett. You *cannot* reply to the author
- using e-mail. Please post a follow-up article, or use any instructions
- the author may have included (USMail addresses, telephone #, etc.).
- Report problems to: dwp@willett.pgh.pa.us
-