PostScript
4-40
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-16.
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
product
— product (string)
queries the name of the product that is defined in statusdict. A string is returned
on the stack indicating the name of the product. The product string in
systemdict cannot be changed.
To change this product string in statusdict:
/product
(string)
def
Error: stackoverflow