4-28

PostScript

checkpassword

integer checkpassword or (string) checkpassword

checks the passwords for both the SystemParamsPassword system parameter and the StartJobPassword system parameter stored in the printer.

If the integer form is used, the integer is converted into a string before the password check occurs. A boolean is returned on the stack to indicate if the specified password matches either password. The boolean value can be:

true correct password false incorrect password

After the boolean is returned, the printer waits 1 second before it continues processing.

Errors: stackunderflow, typecheck

Note: The password is defined as a 4-byte number.

currentfilenameextend

currentfilenameextend boolean

returns a boolean on the stack to indicate whether the extension should be automatically added to any filename. The boolean value is either:

true adds the extension

false does not add the extension

See “Filename Extensions” on page 6-10.

Error: stackoverflow

currentmanualduplexmode

integer currentmanualduplexmode

queries the current value of the manual duplex mode. An integer is returned on the stack:

0current job manual duplex mode is no manual duplex

1current job manual duplex mode is printing first sides of job

2current job manual duplex mode is printing second sides of job Error: stackoverflow

Page 233
Image 233
Lexmark Printer Checkpassword, Currentfilenameextend, Currentmanualduplexmode, Errors stackunderflow, typecheck