🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #1924

Request for info

#1924
From: Nicolas Tamburri
Date: Thu, 10 Sep 1992 20:39
33 lines
2006 bytes
I've been banging my head against a wall lately with what I think is a
pretty simple problem,  but I may be too thick to see the solution to.
Any help would really be appreciated:

I have a spooler program which downloads a prelude to a PS printer (level 1
PS assumed.)  The prelude does an exitserver, defines some helper routines
in userdict to make printing ASCII easier and a rudimentary error handler,
and exits leaving the routines "permanently" in VM.  This works fine for
all PS files except those generated on NeXTs using FrameMaker.  They
abort with a dictfull error because they overflow the userdict capacity.
(I define about 3 dozen routines.)

I see 2 solutions to this problem:  

	1. Ideally, I'd like to put all my routines into a spooler specific
	   dictionary, and leave userdict alone.  Unfortunatelly, I can't
	   figure out how to push a dictionary onto the dict stack, and
	   have it stay there between jobs.  Reinitializing the stack order
	   at the beginning of each job wouldn't work, because a program
	   can fool around with the dictionary order anyway.

	2. Extend the userdict capacity by the number of definitions I define
	   in my prelude.  I can't figure out how to do this either.  Can it
	   even be done?

Apologies if all this is too trivial for you wizards, and I hope it's not a
FAQ.  Again any help would be appreciated, and you can send it directly to me.  If
enough people express interest, I'll post a summary.

Thanks again.

						/nt
						nick@sw.stratus.com
Technical Details
Message-ID: <6294@transfer.stratus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!samsung!transfer!sw.stratus.com!nick

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!samsung!transfer!sw.stratus.com!nick
From: nick@sw.stratus.com (Nicolas Tamburri)
Newsgroups: comp.lang.postscript
Subject: Request for info
Message-ID: <6294@transfer.stratus.com>
Date: 10 Sep 92 20:39:23 GMT
Sender: usenet@transfer.stratus.com
Organization: Stratus Computer, Inc.
Lines: 33