home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / forth / 2962 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  2.3 KB

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