🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8231

Re: Why does this program fail?

#8231
From: Owen Benson
Date: Wed, 12 Apr 1989 13:46
17 lines
1142 bytes
Before `show'ing a string in PostScript you must have a font set. Your
program worked in NeWS because NeWS does a `setfont' when it starts up
(so it can print the opening banner).
So, just add, say :
	/Times-Roman findfont 10 scalefont setfont
at the begining of your program (anywhere before the first `show') and
it should print out.

P.S. It will fit on the paper better if you do :
	90 rotate
	0 -500 translate
before /plotcity ... def.
:-----:-----:-----:-----:-----:-----:-----:-----:-----:-----:-----:-----:
Owen R K Benson
STC Technology Ltd			       JANET: orkb@stl.stc.co.uk
London Road, Harlow, Essex, England            Tel:   (0279) 29531 x2363
Technical Details
Message-ID: <1332@stl.stc.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!uunet!mcvax!ukc!stl!orkb
References: <8199@ihlpf.ATT.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!uunet!mcvax!ukc!stl!orkb
From: orkb@stl.stc.co.uk (Owen Benson)
Newsgroups: comp.lang.postscript
Subject: Re: Why does this program fail?
Message-ID: <1332@stl.stc.co.uk>
Date: 12 Apr 89 13:46:54 GMT
References: <8199@ihlpf.ATT.COM>
Sender: news@stl.stc.co.uk
Reply-To: "Owen Benson" <orkb@stl.stc.co.uk>
Organization: STC Technology Limited, London Road, Harlow, Essex, UK
Lines: 17