Path: 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" Organization: STC Technology Limited, London Road, Harlow, Essex, UK Lines: 17 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