C H A P T E R 3
Communication Channels
All messages generated spontaneously by the server (as opposed to those messages produced when the PostScript language program executes print) conform to the same syntax as status messages. They are sent as ordinary data through the communication channel, in sequence with any other characters written to the standard output file. Consequently, they are always bracketed with %%[ and ]%% for either serial or parallel channels:
%%[Error:error; OffendingCommand: operator ]%%
An error has been detected by the PostScript interpreter and the standard error handle (handleerror) has been invoked.
error is the name of the error operator originally invoked operator is the operator or other PostScript object being executed at the time of the error
Refer to the PostScript Language Reference Manual for further information on error handling.
%%[PrinterError:reason]%%
A problem has been reported by the printer mechanism. The type of problem is indicated by reason: no paper, no paper tray, paper jam,
cover open, etc.
A printer error can only occur during execution of showpage or copypage, that is when the printer is actually trying to print a page. After generating this message, the server usually waits for the condition to be corrected and then continues printing automatically.
The server’s behavior when it encounters a printer error is controlled by the printererror procedure described in Chapter 3.
%%[Flushing: rest of job (to
Because of a previous error or abort condition, for example stop or
%%[exit server: permanent state may be changed ]%%
The PostScript language program has successfully exited from the server’s normal save/restore context, and may now make permanent changes to the system parameters or to the virtual memory. See Chapter 3.
56 | Status Queries and Spontaneous Messages |