PostScript
4-3
currentuniversalsize
— currentuniversalsize
integer integer integer (string)
Queries the current settings for the Universal paper size. Three
integers
and
one
string
are returned on the stack:
Universal Width
Universal Height
Universal Feed Direction
Custom Universal Prompt String
Error:
stackoverflow
ignoresize
— ignoresize
integer
Queries whether text is being oriented based on page size.
An
integer
value is returned on the stack:
0
perform automatic orientation of text based on page size
1
treat the page size as an envelope
2
treat the page size as paper
Error:
stackoverflow
setignoresize
integer
setignoresize —
Overrides the automatic page orientation selected by the printer to support
custom media sizes. This operator determines whether to adjust the text based
on the page size.
integer
value may be:
0
perform automatic orientation of text based on page size (default)
1
treat the page size as an envelope
2
treat the page size as paper
A value set by this operator takes effect on a subsequent setpagedevice only if
PageSize Policy is set to 7.
Errors:
rangecheck, stackunderflow, typecheck