User`s guide
pagecount
Syntax: pagecount integer
Function Returns the number of pages that have been printed by
this printer. (There is no way to reset this value.)
Errors stackoverflow
printername
Syntax: (string) printername substring
Function Stores the printer’s name into the supplied string
(overwriting some initial portion of its value) and
returns a string object designating the substring actually
used.
Default (QMS-PS 410)
Errors invalidaccess, rangecheck, stackunderflow, typecheck
Chapter 10
10-30 PostScript: Operator Dictionary