Postscript, Devforall, Devformat – Lexmark C762 User Manual

Page 195

Advertising
background image

PostScript

4-18

devforall

proc scratchstring

devforall —

executes the specified

proc

procedure for each storage device after pushing a

substring on the stack that is the portion of the scratch string containing the
device name. This operator is in

systemdict

.

Errors:

invalidaccess, rangecheck, stackoverflow, stackunderflow,
typecheck, undefined

devformat

devicename pages action

devformat —

formats (erases all data from) the specified device. This operator is in

systemdict

.

pages

Sets the

LogicalSize

device parameter for the specified device:

0

entire device is formatted

1,2,3

an

ioerror

occurs

action 1

is added to the action argument. The result is used for the

InitializeAction

device parameter for the same device.

A

devformat

on a flash device formats the entire device regardless of the

LogicalSize

specified.

Errors:

invalidaccess, ioerror, limitcheck, rangecheck, stackunderflow,
typecheck, undefined, undefinedfilename

Note:

An

invalidaccess

error occurs if

devformat

is not executed through

exitserver

or

startjob

.

Advertising
This manual is related to the following products: