home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / postscri / 5559 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.0 KB

  1. Path: sparky!uunet!utcsri!torn!nott!cunews!revcan!ecicrl!clewis
  2. From: clewis@ferret.ocunix.on.ca (Chris Lewis)
  3. Newsgroups: comp.lang.postscript
  4. Subject: Re: Finding out the real page counter.
  5. Message-ID: <3997@ecicrl.ocunix.on.ca>
  6. Date: 17 Nov 92 02:10:59 GMT
  7. References: <2600@irit.irit.fr>
  8. Organization: Elegant Communications Inc., Ottawa, Canada
  9. Lines: 17
  10.  
  11. In article <2600@irit.irit.fr> stolte@irit.irit.fr (Nilo STOLTE) writes:
  12. ><somebody said>
  13. >>>problem. (I.e. a program that determines the number of pages in a any
  14. >>>given PS-file)
  15.  
  16. >  Simply count the number of "%%Page:" that there is in your PostScript file. You
  17. >can write easily a program to do that...
  18.  
  19. Please read the PostScript FAQ.  This doesn't work, in general, because
  20. not all PostScript has %%Page: comments in them.
  21.  
  22. The original poster should be able to delay the pagecount evaluation until
  23. end of the job.
  24. -- 
  25. Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
  26. Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
  27. Ferret list: ferret-request@ferret.ocunix.on.ca
  28.