home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1121 < prev    next >
Internet Message Format  |  1990-12-28  |  6KB

  1. From: ajos1@csug.cs.reading.ac.uk (Antony OSullivan)
  2. Newsgroups: uk.general,comp.sources.wanted,alt.sources
  3. Subject: Desperate person needs Courier
  4. Message-ID: <2173@onion.reading.ac.uk>
  5. Date: 3 Apr 90 21:55:11 GMT
  6.  
  7.  
  8.  
  9.     *******************************************************************
  10.     *                                                                 *
  11.     *      Please Read this article, if you use NROFF or PTROFF.      *
  12.     *                                                                 *
  13.     *******************************************************************
  14.  
  15. Hello There Everyone,
  16.                      Last week I posted the following article......
  17.  
  18.   -------------------------------------------------------------------------
  19. >   I am using ptroff to print out a report (nroff format) on a laserwriter.
  20. >
  21. >Now I am having problems in that the two fonts we have, Times and Helvetica,
  22. >produce proportionally spaced printing on the laser writer. I don't want it
  23. >proportionally spaced because I have included some unformatted text with the
  24. >.DS command. This text has lots of spaces and '-' characters, so it gets 
  25. >messed up by the printer. I have been told that Courier is meant to be a font
  26. >that has no proporional spacing, but I haven't got it.
  27. >
  28. >   Has any one got a clue how I use ptroff and get non-proportionally spaced
  29. >text, OR does any one have the Courier.map file for troff.
  30. >
  31. >  This file will most probably be found in /usr/local/lib/lw/troff.font
  32. >                                        or /usr/local/lib/ps/troff.font
  33. >
  34. >I AM desperate becuase I need the font for my third year project and
  35. >that has got to be handed in by 3 weeks time.
  36. >
  37. >    Thanks in advance,
  38. >                      Antony.
  39.   -------------------------------------------------------------------------
  40.  
  41.     Well I received many replies and here are some points that have a risen..
  42.  
  43. 1) Someone said that I had forgot to tell you what printer I am using, It is
  44.    an apple Laserwriter. To those that don't know, it is a printer that
  45.    produces 'photocopier like' print, (Ie.) It is not a line printer.
  46.  
  47. 2) The use of TABS to format text is okay, except I am getting all the text
  48.    proportionally spaced, for example I have included some text using .DS .
  49.  
  50.                 .IP Screen_3
  51.                 .DS
  52.                 ----------------------------------------
  53.                           What shape is next!!
  54.                           ====================
  55.                       Attempt No.01     Level = 01
  56.                 
  57.                             Ajos's Score = 00
  58.                 
  59.                  Yhe Yhe Yhe Yhe Yhe Yhe Yhe Yhe Qu
  60.                 
  61.                   Ytr Ysq Ydi Yst Ype Yhe
  62.                 
  63.                 ----------------------------------------
  64.                 .DE
  65.  
  66.    After proportional spacing:
  67.  
  68.                 ---------------------------------
  69.                           What shape is next!!
  70.                           ========================
  71.                       Attempt No.01     Level = 01
  72.                 
  73.                         Ajos's Score = 00
  74.                 
  75.                  Yhe  Yhe  Yhe  Yhe  Yhe  Yhe  Yhe  Yhe  Qu
  76.                 
  77.                   Ytr Ysq Ydi Yst Ype Yhe
  78.                 
  79.                 ---------------------------------
  80.  
  81.  
  82.    The representation above is what it looks like on paper, additional spaces
  83.    that I have added in to make some lines longer, do not actually exist it
  84.    is the only way I can think to represent the proportional nature of some of
  85.    the alphabetic characters.
  86.    
  87.    As you can see the '=' character and 'capitals' seem to be bigger than all
  88.    the lower case alphabetic characters. So as you can see I having some
  89.    problems with spaces, but the biggest hassle is with the text itself.
  90.    
  91. 3) Someone suggested that I might nroff the document, and then send it through
  92.    enscript which will print out on a laser in NON proportional mode. The only
  93.    problem is that enscript does not handle the CONTROL characters that are
  94.    used to make some parts of the text bold/underlined. And tables completely
  95.    mess up.
  96.       (Eg). The bit below will not work.
  97.  
  98.              .SH
  99.              Introduction
  100.              .LP
  101.              <.....text....>
  102.  
  103. 4) Someone said that I could use '.cs', But this hasn't worked.
  104.  
  105. 5) I have had a couple of replies that mention what I would have to consider
  106.    if I wanted to write my own MONOSPACED font. These are a bit too complex
  107.    to mention here. But I have got one of our 2nd year students to help me
  108.    try and build one from information we have gained from the Times and
  109.    Helvetica fonts.
  110.    We have had some success, it is nearly all monospaced, my tables just
  111.    messed up slightly.
  112.  
  113. *) I am just lookin for a monospaced font, one that is monospaced for all
  114.    characters!!
  115.  
  116. *) I know how to use 'tbl' and so forth, because I have some tables and the
  117.    such.
  118.  
  119.    Thanks for all the help offered so far, I am still working on it...
  120.  
  121.          Antony.
  122. ---
  123.  =============================================================================
  124.  Antony Joseph O'Sullivan,        || One of these must work!!!                
  125.  The Computer Science Department, || ajos1@uk.ac.reading.cs.csug              
  126.  University Of Reading,           || ajos1@uk.ac.reading.cs.rosemary          
  127.  Whiteknights Park,               || ajos1%rosemary@uk.ac.reading.cs.onion    
  128.  READING, Berkshire, RG6 2AX.     || ajos1%uk.ac.reading.cs.csug@uk.ac.reading
  129.  =============================================================================
  130.       "When is that baby going to grow up and get a job.".
  131.