Handling Syntax Errors; Handling Printer Errors - Xerox 4213 Programmer's Reference Manual

Xerox laser printer specification sheet
Hide thumbs Also See for 4213:
Table of Contents

Advertisement

Handling syntax errors

Handling printer errors

XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE
dlenvelopetray
— dlenvelopetray
This causes the 4213 to look for an envelope tray. If such a tray
is found, and dl was selected from the User Interface, the page
type is set to dlenvelope and papertray is set to that tray.
proper tray is not found, a rangecheck error occurs and page
type and papertray values are not changed.
Errors detected by the 4213 interpreter are reported to the host
only when the serial interface is used. The message is sent to the
host in the following form:
%%[error type and cause]%%
Syntax errors are caused usually by poorly written PostScript
masters or insufficient memory space in the printer. You can
define what action the printer should take when an error occurs.
The action taken by the printer is a default error message
reported in the following form:
%%[Error:error,OffendingCommand:command]%%
If the error occurred in the batch mode, the error message is
followed by the line:
%%[Flushing: rest of job (to end-of-file) will be ignored]%%
After receiving an error message, you should send an EOT code
4H to the printer to reset the PDL interpreter, or all further data
sent to the printer will be ignored. In the DOS environment you
can reset the printer by typing the following at the C> prompt:
C> echo ^D > LPT1 [or COM1, etc.]
^D signifies "Control D," and is obtained by holding down the
control key and pressing the letter D.
Printer errors are returned to the host computer in interactive
mode only when the serial interface is used. Errors appear in the
following form:
%%[PrinterError: cause of error]%%
Printer error messages are listed in the PostScript Language
Reference Manual.
POSTSCRIPT EMULATION
If a
4-11

Advertisement

Table of Contents
loading

Table of Contents