PostScript heads — please give me a hand for a bit.
Is there a predefined variable that is the number of pages that have printed
off of a LaserWriter or Lino device?
I know that when we first turn on the LaserWriter it knows how many pages have
been printed, and tells us so on the test document page.
Is there some variable that I can print from a post script program that will
give me that number???
Help please!
Barry
I believe the following sequence of codes will work:
statusdict begin pagecount end 20 string cvs
At the end of this sequence a single object is left on the stack which is a
'show'-able string of the integer value returned by 'pagecount'.