POSTSCRIPT EMULATION

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. If a

 

proper tray is not found, a rangecheck error occurs and page

 

type and papertray values are not changed.

Handling syntax errors

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.

Handling printer errors

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.

XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE

4-11

Page 233
Image 233
Xerox 4213 manual Handling syntax errors, Handling printer errors, Dlenvelopetray, Echo D LPT1 or COM1, etc