🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.text
Article #599

Re: ditroff and PostScript

#599
From: Guy Riddle
Date: Sat, 03 Aug 1985 15:17
30 lines
1353 bytes
Steve Hubert is getting:

> 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?

To add more fonts, you need to change a line in /usr/lib/ps/psdit.pro
from

	/nfonts 10 def

to, say,

	/nfonts 26 def

to no longer be offending.

			=== Guy Riddle == AT&T Bell Laboratories, New Jersey ===
Technical Details
Message-ID: <322@packard.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!packard!ggr
References: <188@entropy.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 ggr 02/21/84; site packard.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!packard!ggr
From: ggr@packard.UUCP (Guy Riddle)
Newsgroups: net.text
Subject: Re: ditroff and PostScript
Message-ID: <322@packard.UUCP>
Date: Sat, 3-Aug-85 11:17:39 EDT
Article-I.D.: packard.322
Posted: Sat Aug  3 11:17:39 1985
Date-Received: Sun, 4-Aug-85 08:51:44 EDT
References: <188@entropy.UUCP>
Distribution: net
Organization: AT&T Bell Laboratories, Piscataway
Lines: 30