🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4972

Re: Display Postscript paginating

#4972
From: Ross Smith
Date: Sun, 10 Mar 1991 21:11
37 lines
1027 bytes
clewis@ferret.ocunix.on.ca (Chris Lewis) writes:

>How do you get Display Postscript to pause long enough so you can
>look at what it's drawn?  I have DPS on a RS/6000, and I can run

Try sending this before the file:

/sleep {
	1000 mul usertime add
	{	dup
		usertime
		lt {exit} if
	} loop
	pop
} bind def
 
/*showpage /showpage load def
/showpage {
	5000 sleep
	*showpage
} bind def

In GoScript, I can even have the interpreter wait for a keystroke before
continuing:

/pause {
	(con) (r) file read
} bind def

/*showpage /showpage load def
/showpage {
	pause
	*showpage
} bind def

-- 
Ross Smith  rsmith@well.sf.ca.us   {apple,pacbell,hplabs,ucbvax}!well!rsmith
Technical Details
Message-ID: <23538@well.sf.ca.us>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!apple!well!rsmith
References: <1991Mar07.143231.8470@ferret.ocunix.on.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!apple!well!rsmith
From: rsmith@well.sf.ca.us (Ross Smith)
Newsgroups: comp.lang.postscript
Subject: Re: Display Postscript paginating
Message-ID: <23538@well.sf.ca.us>
Date: 10 Mar 91 21:11:51 GMT
References: <1991Mar07.143231.8470@ferret.ocunix.on.ca>
Lines: 37