🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5693

Re: Finding out the real page counter.

#5693
From: Chris Lewis
Date: Tue, 17 Nov 1992 02:10
17 lines
1081 bytes
In article <2600@irit.irit.fr> stolte@irit.irit.fr (Nilo STOLTE) writes:
><somebody said>
>>>problem. (I.e. a program that determines the number of pages in a any
>>>given PS-file)

>  Simply count the number of "%%Page:" that there is in your PostScript file. You
>can write easily a program to do that...

Please read the PostScript FAQ.  This doesn't work, in general, because
not all PostScript has %%Page: comments in them.

The original poster should be able to delay the pagecount evaluation until
end of the job.
-- 
Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
Ferret list: ferret-request@ferret.ocunix.on.ca
Technical Details
Message-ID: <3997@ecicrl.ocunix.on.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!nott!cunews!revcan!ecicrl!clewis
References: <2600@irit.irit.fr>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!nott!cunews!revcan!ecicrl!clewis
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
Newsgroups: comp.lang.postscript
Subject: Re: Finding out the real page counter.
Message-ID: <3997@ecicrl.ocunix.on.ca>
Date: 17 Nov 92 02:10:59 GMT
References: <2600@irit.irit.fr>
Organization: Elegant Communications Inc., Ottawa, Canada
Lines: 17