PostScript
4-30
pagecount
— pagecount
integer
Queries the value of the PageCount system parameter. An integer is returned on
the stack indicating the current page count.
This operator is equivalent to executing the following PostScript emulation
sequence:
currentsystemparams /PageCount get
Error:
stackoverflow
pagesprinted
- pagesprinted
Queries the number of pages of the current job submitted by the PostScript
interpreter to the printer.
Error:
stackoverflow
papertray
See page 4-7.
printername
(string)
printername
(substring)
Returns the value of the PrinterName system parameter that is defined by the
setprintername
operator. The value of the string defines the printer name. A
maximum of 32 characters are returned on the stack.
This operator is equivalent to executing the following PostScript emulation
sequence:
currentsystemparams /PrinterName get
Errors:
rangecheck, stackunderflow, typecheck