Lexmark Printer manual Currentuniversalsize, Ignoresize, Setignoresize, Error stackoverflow

Models: Printer

1 455
Download 455 pages 26.87 Kb
Page 222
Image 222

4-17

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

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 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)

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

Page 222
Image 222
Lexmark Printer manual Currentuniversalsize, Ignoresize, Setignoresize, Error stackoverflow