🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6315

Re: Counting the pages of a document

#6315
From: Vidiot
Date: Sun, 16 Jun 1991 04:18
17 lines
1285 bytes
In article <1991Jun14.075659.1509@fel.tno.nl> gtir5@fel.tno.nl (Ger R. Timmens) writes:
<
<Is it possible to count the pages of postscript output
<of a document before it is sent to the printer ?
<If so, how do I do it ?

If the PostScript file is Document compliant, there will be information in the
file that indicates the total number of pages.

If the PostScript file is hand written, it could be written such that it will
print out hundreds of pages, but only be one line in length.  In this case
you can't, at least not without a PostScript reader to run the job and count
the pages it would put out.
-- 
      harvard\     att!nicmad\          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/  decvax!nicmad/ INTERNET:vidiot!brown%astroatc@spool.cs.wisc.edu
Technical Details
Message-ID: <1941@vidiot.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uwm.edu!uwvax!astroatc!vidiot!brown
References: <1991Jun14.075659.1509@fel.tno.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uwm.edu!uwvax!astroatc!vidiot!brown
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: Counting the pages of a document
Message-ID: <1941@vidiot.UUCP>
Date: 16 Jun 91 04:18:13 GMT
References: <1991Jun14.075659.1509@fel.tno.nl>
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout
Lines: 17