Apple 310 manual Errorerror OffendingCommand operator %%

Page 68

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 end-of-file) will be ignored ]%%

Because of a previous error or abort condition, for example stop or CTL-C interrupt, the remainder of the current job is being discarded. The server reads and discards characters from the standard input file until it receives an end-of-file indication.

%%[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

Image 68
Contents Apple LaserWriter Select 310 Printer Limited Warranty on Media and Replacement Contents Page Communication Channels Page Figures and Tables Page About This Note What This Note ContainsConventions Used in This Note Other Reference MaterialFor More Information ApdaPage LaserWriter Select Hardware1 LaserWriter Select 310 Hardware ROM Communication Ports Serial Port for RS-232C DevicesCentronics Parallel Connector 2An 8-pin serial port connectorPstrobe Signal Status Lights Memory Capabilities ROM CapabilityDram Expansion Batch ModeBasic Operation Interactive Mode TypesPaper Handling 7Paper handling options Page LaserWriter Select 310 Software PostScript Interpreter Software OverviewAdobe PostScript Programming Language LaserWriter Select 310 Driver TypesSelects the paper tray containing A4-size paper and sets Software Parameters Product StringsCommunication Device Parameters Compatibility OperatorsStatusdict Setting Compatibility Operators Device Setting System Parameters CheckpasswordDefaulttimeouts IdlefontsPrintername ProductProductA RamsizeSetidlefonts SetdefaulttimeoutsSetpassword Setting Page Device Parameters DefaultmultipurposetraysizeDefaultpapertray SetprinternameManualfeedtimeout ManualfeedMargins PagestackorderPapertray SetdefaultmultipurposepapertraysizePapersize Setmargins SetdefaultpapertraySetdostartpage Setpapertray SetpagestackorderSetpagetype Setting User Parameters JobtimeoutSetjobtimeout JobnameSetsoftwareiomode Setting Device ParametersWaittimeout Packetbackchannel Setting Communication ParametersSoftwareiomode Sccbatch SetpacketbackchannelDarkness Setting Engine Device ParametersSetsccbatch Setting Extensions to PostScript Level SetdarknessCurrentcacheparams CurrentpackingPackedarray SetcacheparamsPrinter Error Parameter SetpackingPrintererror PostScript Language ChangesCreating Packed Arrays Packed ArraysPacked Arrays Versus Ordinary Arrays Immediately Evaluated Names Device Resolution Images Changes in Font Cache OperationEnd-of-Line Recognition TrueType Fonts New OperatorsCommunication Channels Serial Communication Baud RatesDTR Flow Control Parity SettingsFlow Control SCC Operator Encoding XON/XOFF Flow ControlCommunication Protocols Simple Communication ProtocolBinary Communication Protocol SOH CTL-A Communicating with an IBM PC Parallel InterfaceSerial Interface DTR Flow Control for PC CommunicationCommunication Dynamics XON/XOFF Flow Control for PC CommunicationStatus Queries and Spontaneous Messages Errorerror OffendingCommand operator %%