Apple 310 manual Setting Communication Parameters, Softwareiomode, Packetbackchannel

Page 45

C H A P T E R 2

LaserWriter Select 310 Software

softwareiomode

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

Setting Communication Parameters

The following compatibility operators set Level 1 serial communication parameters. Serial communication channel (SCC) operator encoding is described in Chapter 3, “Communication Channels,” in the section “SCC Operator Encoding.”

packetbackchannel

Syntax

packetbackchannel bool

Definition This operator returns the current back channel packet protocol setting.

Standard value: false

Error stackoverflow

Setting Compatibility Operators

33

Image 45
Contents Apple LaserWriter Select 310 Printer Limited Warranty on Media and Replacement Contents Page Communication Channels Page Figures and Tables Page What This Note Contains About This NoteOther Reference Material Conventions Used in This NoteApda For More InformationPage LaserWriter Select Hardware1 LaserWriter Select 310 Hardware ROM Serial Port for RS-232C Devices Communication Ports2An 8-pin serial port connector Centronics Parallel ConnectorPstrobe Signal Status Lights ROM Capability Memory CapabilitiesBatch Mode Basic OperationDram Expansion Types Interactive ModePaper Handling 7Paper handling options Page LaserWriter Select 310 Software Software Overview Adobe PostScript Programming LanguagePostScript Interpreter Types LaserWriter Select 310 DriverSelects the paper tray containing A4-size paper and sets Product Strings Software ParametersCommunication Device Parameters Compatibility OperatorsStatusdict Setting Compatibility Operators Device Checkpassword Setting System ParametersDefaulttimeouts IdlefontsProduct PrinternameProductA RamsizeSetdefaulttimeouts SetpasswordSetidlefonts Defaultmultipurposetraysize Setting Page Device ParametersDefaultpapertray SetprinternameManualfeed ManualfeedtimeoutMargins PagestackorderSetdefaultmultipurposepapertraysize PapersizePapertray Setdefaultpapertray SetdostartpageSetmargins Setpagestackorder SetpagetypeSetpapertray Jobtimeout Setting User ParametersSetjobtimeout JobnameSetting Device Parameters WaittimeoutSetsoftwareiomode Setting Communication Parameters SoftwareiomodePacketbackchannel Setpacketbackchannel SccbatchSetting Engine Device Parameters SetsccbatchDarkness Setdarkness Setting Extensions to PostScript LevelCurrentcacheparams CurrentpackingSetcacheparams PackedarraySetpacking Printer Error ParameterPostScript Language Changes PrintererrorPacked Arrays Packed Arrays Versus Ordinary ArraysCreating Packed Arrays Immediately Evaluated Names Changes in Font Cache Operation Device Resolution ImagesEnd-of-Line Recognition New Operators TrueType FontsCommunication Channels Baud Rates Serial CommunicationParity Settings Flow ControlDTR Flow Control XON/XOFF Flow Control SCC Operator EncodingSimple Communication Protocol Communication ProtocolsBinary Communication Protocol SOH CTL-A Parallel Interface Communicating with an IBM PCDTR Flow Control for PC Communication Serial InterfaceXON/XOFF Flow Control for PC Communication Communication DynamicsStatus Queries and Spontaneous Messages Errorerror OffendingCommand operator %%