Apple 310 manual Serial Interface, DTR Flow Control for PC Communication

Page 65

C H A P T E R 3

Communication Channels

Unlike the serial port, the Centronics parallel input allows no parameters. It always accepts 8-bit data with no parity, and it reserves the same set of characters for communi- cation functions that the serial port reserves, with the exception of XON/XOFF characters, which are passed through the PostScript interpreter, since flow control is maintained by means of the /BUSY signal.

The Centronics parallel interface is essentially an input-only channel. This means it basically transfers information from the host to the printer. However, the PostScript interpreter always deals with both the input and output sides of an I/O channel.

When operating in Centronics parallel input mode, the printer sets up the 8-pin serial port for the PostScript language print operator. The output from this port may be ignored for simple one-way communication. However, important information may be output via this port. Printer errors are always reported, since the Paper Error signal on the Centronics interface cannot be relied upon to report all printer errors. Table 3-6 summarizes the settings for the serial communications port when it is used as the output port during parallel communication.

Table 3-6Settings for the serial output channel during parallel communication

Parameter

Settings

Data bits

8

Parity

None

Stop bits

1

Flow control

DTR

Baud rate

9600

Protocol

Binary

Serial Interface

You may also use the serial port as an alternative means of communicating with the IBM PC, using either DTR or XON/XOFF flow control. DTR flow control is preferred, since this is the default serial flow control for the LaserWriter Select 310 printer.

DTR Flow Control for PC Communication

To set up the LaserWriter Select 310 printer for serial interface with the IBM PC over the serial port using DTR flow control, issue the following MS-DOS commands to your computer:

MODE COM1:19200,N,8,1,P

MODE LPT1:=COM1:

Communicating with an IBM PC

53

Image 65
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 Product Strings Software ParametersCommunication Device Parameters Compatibility OperatorsStatusdict Setting Compatibility Operators Device Checkpassword Setting System ParametersDefaulttimeouts IdlefontsProduct PrinternameProductA RamsizeSetidlefonts SetdefaulttimeoutsSetpassword Defaultmultipurposetraysize Setting Page Device ParametersDefaultpapertray SetprinternameManualfeed ManualfeedtimeoutMargins PagestackorderPapertray SetdefaultmultipurposepapertraysizePapersize Setmargins SetdefaultpapertraySetdostartpage Setpapertray SetpagestackorderSetpagetype Jobtimeout Setting User ParametersSetjobtimeout JobnameSetsoftwareiomode Setting Device ParametersWaittimeout Packetbackchannel Setting Communication ParametersSoftwareiomode Setpacketbackchannel SccbatchDarkness Setting Engine Device ParametersSetsccbatch Setdarkness Setting Extensions to PostScript LevelCurrentcacheparams CurrentpackingSetcacheparams 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 %%