home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / postscri / 6439 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.7 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!news.belwue.de!iptc!news.wsi!peanuts!jw
  2. From: jw@peanuts.informatik.uni-tuebingen.de (Joerg Wedeck)
  3. Newsgroups: comp.lang.postscript
  4. Subject: Re: Page accounting
  5. Date: 25 Jan 1993 09:03:25 GMT
  6. Organization: "Lehrstuhl fuer Technische Informatik, Uni Tuebingen"
  7. Lines: 32
  8. Sender: jw@peanuts (Joerg Wedeck)
  9. Distribution: world
  10. Message-ID: <1k0actINNhr9@peanuts.informatik.uni-tuebingen.de>
  11. References: <86579@ut-emx.uucp>
  12. NNTP-Posting-Host: snoopy.informatik.uni-tuebingen.de
  13. Keywords: postscript, page, accounting
  14.  
  15.  
  16. In article <86579@ut-emx.uucp>, tai@utpapa.ph.utexas.edu (Tai Morris) writes:
  17. |> I'm new to this newsgroup so I hope this question hasn't been answered
  18. |> too many times already...
  19. |> 
  20. |> I need a program that parses a postscript file to see how many pages will
  21. |> be printed. Please don't tell me this is impossible - it's impossible that
  22. |> it is impossible because postscript printers know how to parse postscript
  23. |> files. Otherwise, the printer could be fooled, too.
  24. |> 
  25. |> Any help would be appreciated.
  26. |> 
  27. |> 
  28. |> 
  29. |> -- 
  30. |> Tai Morris, tai@utpapa.ph.utexas.edu
  31.  
  32. One thing you can do is to include postscript code at the beginning and the end
  33. of a document to be printed, which show the value of the internal page counter of
  34. the printer.
  35. Unfortunately i have forgotten the code sequence neccessary to do this (look at
  36. the manuals), but it works.
  37.  
  38. -- 
  39. ----------------------------------+--------------------------------------
  40. Joerg Wedeck              | E-Mail: jw@peanuts.informatik\
  41. Universitaet Tuebingen          |        .uni-tuebingen.de
  42. Lehrstuhl fuer Techn. Informatik  |
  43. Sand 13                  |
  44. 7400 Tuebingen              |
  45. Germany                  |
  46. ----------------------------------+--------------------------------------
  47.