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 >
Wrap
Internet Message Format
|
1990-12-28
|
6KB
From: ajos1@csug.cs.reading.ac.uk (Antony OSullivan)
Newsgroups: uk.general,comp.sources.wanted,alt.sources
Subject: Desperate person needs Courier
Message-ID: <2173@onion.reading.ac.uk>
Date: 3 Apr 90 21:55:11 GMT
*******************************************************************
* *
* Please Read this article, if you use NROFF or PTROFF. *
* *
*******************************************************************
Hello There Everyone,
Last week I posted the following article......
-------------------------------------------------------------------------
> I am using ptroff to print out a report (nroff format) on a laserwriter.
>
>Now I am having problems in that the two fonts we have, Times and Helvetica,
>produce proportionally spaced printing on the laser writer. I don't want it
>proportionally spaced because I have included some unformatted text with the
>.DS command. This text has lots of spaces and '-' characters, so it gets
>messed up by the printer. I have been told that Courier is meant to be a font
>that has no proporional spacing, but I haven't got it.
>
> Has any one got a clue how I use ptroff and get non-proportionally spaced
>text, OR does any one have the Courier.map file for troff.
>
> This file will most probably be found in /usr/local/lib/lw/troff.font
> or /usr/local/lib/ps/troff.font
>
>I AM desperate becuase I need the font for my third year project and
>that has got to be handed in by 3 weeks time.
>
> Thanks in advance,
> Antony.
-------------------------------------------------------------------------
Well I received many replies and here are some points that have a risen..
1) Someone said that I had forgot to tell you what printer I am using, It is
an apple Laserwriter. To those that don't know, it is a printer that
produces 'photocopier like' print, (Ie.) It is not a line printer.
2) The use of TABS to format text is okay, except I am getting all the text
proportionally spaced, for example I have included some text using .DS .
.IP Screen_3
.DS
----------------------------------------
What shape is next!!
====================
Attempt No.01 Level = 01
Ajos's Score = 00
Yhe Yhe Yhe Yhe Yhe Yhe Yhe Yhe Qu
Ytr Ysq Ydi Yst Ype Yhe
----------------------------------------
.DE
After proportional spacing:
---------------------------------
What shape is next!!
========================
Attempt No.01 Level = 01
Ajos's Score = 00
Yhe Yhe Yhe Yhe Yhe Yhe Yhe Yhe Qu
Ytr Ysq Ydi Yst Ype Yhe
---------------------------------
The representation above is what it looks like on paper, additional spaces
that I have added in to make some lines longer, do not actually exist it
is the only way I can think to represent the proportional nature of some of
the alphabetic characters.
As you can see the '=' character and 'capitals' seem to be bigger than all
the lower case alphabetic characters. So as you can see I having some
problems with spaces, but the biggest hassle is with the text itself.
3) Someone suggested that I might nroff the document, and then send it through
enscript which will print out on a laser in NON proportional mode. The only
problem is that enscript does not handle the CONTROL characters that are
used to make some parts of the text bold/underlined. And tables completely
mess up.
(Eg). The bit below will not work.
.SH
Introduction
.LP
<.....text....>
4) Someone said that I could use '.cs', But this hasn't worked.
5) I have had a couple of replies that mention what I would have to consider
if I wanted to write my own MONOSPACED font. These are a bit too complex
to mention here. But I have got one of our 2nd year students to help me
try and build one from information we have gained from the Times and
Helvetica fonts.
We have had some success, it is nearly all monospaced, my tables just
messed up slightly.
*) I am just lookin for a monospaced font, one that is monospaced for all
characters!!
*) I know how to use 'tbl' and so forth, because I have some tables and the
such.
Thanks for all the help offered so far, I am still working on it...
Antony.
---
=============================================================================
Antony Joseph O'Sullivan, || One of these must work!!!
The Computer Science Department, || ajos1@uk.ac.reading.cs.csug
University Of Reading, || ajos1@uk.ac.reading.cs.rosemary
Whiteknights Park, || ajos1%rosemary@uk.ac.reading.cs.onion
READING, Berkshire, RG6 2AX. || ajos1%uk.ac.reading.cs.csug@uk.ac.reading
=============================================================================
"When is that baby going to grow up and get a job.".