4-3

PostScript

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 or not text is being oriented based on page size.

An integer value is returned on the stack:

0perform automatic orientation of text based on page size

1treat the page size as an envelope

2treat 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 or not to adjust the text based on the page size.

integer value may be:

0perform automatic orientation of text based on page size (default)

1treat the page size as an envelope

2treat 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

Page 180
Image 180
Lexmark C760, C762 manual Currentuniversalsize, Ignoresize, Setignoresize, Error stackoverflow