home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / postscri / 6390 < prev    next >
Encoding:
Text File  |  1993-01-21  |  978 b   |  27 lines

  1. Newsgroups: comp.lang.postscript
  2. Path: sparky!uunet!charon.amdahl.com!netcomsv!netcomsv!trilithon!henry
  3. From: henry@trilithon.mpk.ca.us (Henry McGilton)
  4. Subject: Re: Page accounting
  5. Message-ID: <1993Jan21.062736.18106@trilithon.mpk.ca.us>
  6. Sender: henry@trilithon.mpk.ca.us
  7. Organization: Trilithon Software
  8. References: <86579@ut-emx.uucp>
  9. Date: Thu, 21 Jan 1993 06:27:36 GMT
  10. Lines: 15
  11.  
  12. In article <86579@ut-emx.uucp> tai@utpapa.ph.utexas.edu (Tai Morris) writes:
  13.     *  I need a program that parses a postscript file to see how
  14.     *  many pages will be printed. Please don't tell me this is
  15.     *  impossible - it's impossible that it is impossible because
  16.     *  postscript printers know how to parse postscript files.
  17.     *  Otherwise, the printer could be fooled, too.
  18. Really?  How many pages will this program print?
  19.     /Courier findfont 72 scalefont setfont
  20.     1 1 rand {
  21.         300 400 moveto 16 string cvs show
  22.         showpage
  23.     } for
  24.     
  25.     
  26.     ........  Henry
  27.