Apple 310 manual Parity Settings, DTR Flow Control

Page 59

C H A P T E R 3

Communication Channels

Parity Settings

The parity settings for the serial channel may be odd, even, space, or mark. Table 3-2 indicates how the parity setting and number of data bits work together.

Table 3-2

Data and parity choices for the LaserWriter Select 310 printer

 

 

 

Data bits

Parity

Description

Standard

Space

8 bits are sent. The 8th bit transmitted is zero, and

 

 

the 8th bit received is ignored.

Standard

Odd or even

8 bits are sent. The 8th bit is used for parity.

Standard

Mark

8 bits are sent and received. The parity bit is not stripped.

 

 

Since the PostScript interpreter expects ASCII data (high

 

 

bit zero), a host sending mark parity data will not be

 

 

understood, and you should select 7-bit mode in which

 

 

the parity bit is stripped.

7 bits

Space

7 data bits are sent. A zero is added.

7 bits

Odd or even

7 data bits are sent. A parity bit is added to the 7 data

 

 

bits in either odd or even parity, depending on the parity

 

 

setting.

7 bits

Mark

7 data bits are sent. A one is added.

8 bits

Space

8 bits are sent.

8 bits

Odd or even

8 bits are sent. A parity bit is added to the 8 bits in either

 

 

odd or even parity, depending on the parity setting.

8 bits

Mark

8 bits are sent.

NOTE Parity is checked on received characters only when the parity setting is even or odd. If a parity error is detected the PostScript interpreter generates an ioerror.

Flow Control

The LaserWriter Select 310 printer uses one of two conventions for controlling the flow of characters to and from the host computer. These conventions are DTR and XON/XOFF. If the host fails to conform to the selected flow control protocol, unexpected occurrences of ioerror may result.

DTR Flow Control

DTR flow control uses the Data Terminal Ready control signal. Normally, the printer leaves this signal turned on. However, when it needs to stop the flow of characters from the host, it turns DTR off. The host must then immediately stop sending characters until the printer turns DTR back on again. Similarly, another signal, Data Set Read (DSR) may be used by the host to control the flow of data sent to it from the printer. Packet DTR is an implementation of DTR flow control specifically set and used by the Apple LaserWriter driver. It uses the DSR signal to control the flow of data sent to the host in packets of three characters at a time.

Serial Communication

47

Image 59
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 CapabilitiesDram Expansion Batch ModeBasic Operation Types Interactive ModePaper Handling 7Paper handling options Page LaserWriter Select 310 Software PostScript Interpreter Software OverviewAdobe PostScript Programming Language Types LaserWriter Select 310 DriverSelects the paper tray containing A4-size paper and sets Compatibility Operators Software ParametersProduct Strings Communication Device ParametersStatusdict Setting Compatibility Operators Device Idlefonts Setting System ParametersCheckpassword DefaulttimeoutsRamsize PrinternameProduct ProductASetidlefonts SetdefaulttimeoutsSetpassword Setprintername Setting Page Device ParametersDefaultmultipurposetraysize DefaultpapertrayPagestackorder ManualfeedtimeoutManualfeed MarginsPapertray SetdefaultmultipurposepapertraysizePapersize Setmargins SetdefaultpapertraySetdostartpage Setpapertray SetpagestackorderSetpagetype Jobname Setting User ParametersJobtimeout SetjobtimeoutSetsoftwareiomode Setting Device ParametersWaittimeout Packetbackchannel Setting Communication ParametersSoftwareiomode Setpacketbackchannel SccbatchDarkness Setting Engine Device ParametersSetsccbatch Currentpacking Setting Extensions to PostScript LevelSetdarkness CurrentcacheparamsSetcacheparams PackedarraySetpacking Printer Error ParameterPostScript Language Changes PrintererrorCreating Packed Arrays Packed ArraysPacked Arrays Versus Ordinary Arrays Immediately Evaluated Names Changes in Font Cache Operation Device Resolution ImagesEnd-of-Line Recognition New Operators TrueType FontsCommunication Channels Baud Rates Serial CommunicationDTR Flow Control Parity SettingsFlow 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 %%