Device search order, Device search order -12 – Lexmark C762 User Manual

Page 285

Advertising
background image

Memory

6-12

Device Search Order

If you are using the PostScript emulation operators

run, file, renamefile, status

or

eexec

, you do not need to specify the device. If you omit the device name, devices are

searched in the default order: disk and then flash memory. If the following PostScript
emulation code is encountered,

(myfile) (w) file

the file on disk is used (since disk occurs before flash memory in the default search
order), and files cannot be created in ROM.

The operator

deletefile

searches only the first device in the default search order if a

device is not specified.

Use the PostScript emulation operators

devmount

,

devdismount

to change the

order. The default search order is determined by the order the devices are mounted.
For example, if you want to place the disk device after the flash memory in the default
search order, use the following command sequence:

(%disk%) devdismount

(%disk%) devmount

To change the order so the devices are searched as disk, flash memory, and then
ROM, use the following PostScript emulation command sequence:

(%rom%) devdismount

(%flash%) devdismount
(%disk%) devdismount
(%disk%) devmount
(%flash%) devmount
(%rom%) devmount

If the device is already mounted, the following operators may change the search order:

initializedisk

devformat

<</InitializeAction>>setdevparams

Sending these operators has the following effect on the devices in the search order:

1

If mounted,

(%device%)

devdismount

2

Formats the device

3

If dismounted in step 1, (

%device%

) devmount

If you do not want a device searched, dismount it and leave it dismounted.

Advertising
This manual is related to the following products: