Xerox -07W & -11W Printer User Manual


 
12-67
Creating A Script File
Error Numbers
You can incorporate a special variable called errno in your script file which will be
used to store a number indicating the result of a command (i.e. success or type of
failure). The errno variable is an integer variable which is already defined as part of
the script language, that is, you do not need to use the var command to include it in
your script file. When the command is successful, the numeric value 0 will be
assigned to errno.
The following list shows the possible error numbers for various commands and their
meaning.
CLIPBD EMPTY
0 The command was successful.
1 Invalid parameter in the command string.
2 Cannot empty the clipboard, possibly because someone else has opened it.
3 Failed to close the clipboard.
CLIPBD READ
0 The command was successful.
1 Invalid parameter in the command string.
2 Cannot read the data in the clipboard.
3 Failed to close the clipboard.
4 Cannot open the clipboard, possibly because someone else has opened it.
5 Clipboard data in unrecognisable format.
CLIPBD WRITE
0 The command was successful.
1 Invalid parameter in the command string.
2 Cannot write the data to the clipboard.
3 Failed to close the clipboard.
4 Cannot open the clipboard, possibly because someone else has opened it.
DDE
0 The command was successful.
-1 The command failed.
DECRYPT & ENCRYPT
0 The command was successful.
1 The command failed.