🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.text
Article #594

ditroff and PostScript

#594
From: Steve Hubert
Date: Tue, 30 Jul 1985 00:46
76 lines
2349 bytes
I am using ditroff (Berkeley version) with TranScript from Adobe on an
Apple Laserwriter.  In the ditroff DESC file there are 9 default
fonts listed to be loaded.  The line looks like:

fonts 9 R I B BI H HB C CB S

I would like to be able to use the other 4 fonts that came with the
TranScript software but can't seem to figure out how to do it.  It looks
like the ditroff is trying to do the right thing (tries to put the
new font on position 0) but when the file gets to the printer the
font is not loaded.  I don't have a PostScript manual so am having a
hard time understanding the PostScript input.  The error on the printer is

ERROR: rangecheck
OFFENDING COMMAND: get

STACK:

10
[()(Times-Roman)(Times-Italic)(Times-Bold)(Times-BoldItalic)(Helvetica)
(Helvetica-Bold)(Courier)(Courier-Bold)(Symbol)]

It turns out that I can use enscript with the other fonts.
I have also tried making a new DESC file with all 13 fonts and changing
psdit.c so it could handle more than 10.  This seemed to be working
until it came time to print the file where I got the same error.

Does anyone know what I am doing wrong?
Here is a sample file which fails.

.po 0.5i
.ll 7.2i
.sc
.nh
.m1 4v
.m2 0
.m3 3v
.m4 0v
.ps 30p
.vs 32p
Text
.ce 1000
.ps 20p
.vs 22p
-------------------------
.ft R
Times Roman
.ft B
Times Bold
.ft I
Times Italic
.ft BI
Times Bold Italic
.ft C
Courier
.ft CB
Courier Bold
.ft CO
Courier Oblique
.ft CD
Courier Bold Oblique
.ft H
Helvetica
.ft HB
Helvetica Bold
.ft HO
Helvetica Oblique
.ft HD
Helvetica Bold Oblique

--------------
Steve Hubert
 Dept. of Stat., U. of Wash, Seattle
 {decvax,ihnp4,ucbvax!lbl-csam}!uw-beaver!entropy!hubert
 entropy!hubert@uw-beaver
Technical Details
Message-ID: <188@entropy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!mtuxo!mtunh!mtung!mtunf!ariel!vax135!cornell!uw-beaver!uw-june!entropy!hubert

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site entropy.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!mtuxo!mtunh!mtung!mtunf!ariel!vax135!cornell!uw-beaver!uw-june!entropy!hubert
From: hubert@entropy.UUCP (Steve Hubert)
Newsgroups: net.text
Subject: ditroff and PostScript
Message-ID: <188@entropy.UUCP>
Date: Mon, 29-Jul-85 20:46:36 EDT
Article-I.D.: entropy.188
Posted: Mon Jul 29 20:46:36 1985
Date-Received: Wed, 31-Jul-85 08:13:39 EDT
Distribution: net
Organization: UW MathStat, Seattle
Lines: 70