Apple 310 manual Setting Device Parameters, Waittimeout, Setsoftwareiomode

Page 44

C H A P T E R 2

LaserWriter Select 310 Software

waittimeout

Syntax

– waittimeout int

Definition This operator is the wait timeout currently in effect, that is, it is the number of seconds the LaserWriter Select 310 printer will wait to receive additional characters from the host before it aborts the current job by executing a timeout. At the beginning of a job, the server initializes waittimeout to the default wait time returned by defaulttimeout. However, a PostScript language program may change it to any non-negative integer value. In interactive mode, the wait timeout is always 0.

Standard value: 40

Error stackoverflow

Setting Device Parameters

This section describes the compatibility operators that set Level 1 device parameters.

setsoftwareiomode

Syntax

int setsoftwareiomode –

Definition This operator sets the binary protocol mode of the communications channel according to the value of int:

0binary protocol off

100binary protocol on

Binary protocol is standard in the LaserWriter Select 310 printer, and it should be used by any driver that sends binary data to the printer.

A driver that does not use the binary protocol and does not filter the back channel data when softwareiomode is 100 will see receive control characters as quoted characters. In particular, Control-Ds will be seen as Control-A/ASCII-D.

The softwareiomode operator does not need to be set outside the server loop in order to be compatible with other printer implementations of sofwareiomode. However changes to it do not take effect until the job that makes the changes is completed.

Standard value: 100

Errors rangecheck, stackunderflow, typecheck

32

Setting Compatibility Operators

Image 44
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 %%