Apple 310 manual Communication Protocols, Simple Communication Protocol

Page 61

C H A P T E R 3

Communication Channels

Figure 3-1SCC operator encoding

Example

9 19200 2 setsccbatch

sum of decimal values :

Feature

Description

Decimal value

 

 

 

Parity

Even

2

Flow control

XON/XOFF

0

Data bits

Standard

0

Stop bits

1

0

 

 

 

baud rate: 19200

channel type: 8-pin serial

Communication Protocols

The LaserWriter Select 310 printer supports both simple and binary communication protocols for serial and parallel channels. Several character codes in both protocols are reserved for communication functions and are not passed through the PostScript interpreter. The default protocol is binary. The section “Setting Device Parameters,” “setsoftwareiomode,” in Chapter 2, describes how to change the default protocol from binary to simple.

Simple Communication Protocol

Table 3-4 lists the character codes reserved for communication functions in the simple communication protocol. The ASCII character codes are given in decimal.

Table 3-4

Reserved characters in simple communication protocol

 

 

 

 

ASCII

 

Character

code

Function

Control-C

3

Interrupt. Causes execution of the PostScript language

 

 

interrupt error. See the PostScript Language Reference

 

 

Manual, Chapter 6, for further information on interrupt.

Control-D

4

End of file.

Control-S

19

Stop output (XOFF). Functional only if XON/XOFF flow

 

 

control is in use.

continued

Communication Protocols

49

Image 61
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 CapabilitiesBasic Operation Batch ModeDram Expansion Types Interactive ModePaper Handling 7Paper handling options Page LaserWriter Select 310 Software Adobe PostScript Programming Language Software OverviewPostScript 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 RamsizeSetpassword SetdefaulttimeoutsSetidlefonts Defaultmultipurposetraysize Setting Page Device ParametersDefaultpapertray SetprinternameManualfeed ManualfeedtimeoutMargins PagestackorderPapersize SetdefaultmultipurposepapertraysizePapertray Setdostartpage SetdefaultpapertraySetmargins Setpagetype SetpagestackorderSetpapertray Jobtimeout Setting User ParametersSetjobtimeout JobnameWaittimeout Setting Device ParametersSetsoftwareiomode Softwareiomode Setting Communication ParametersPacketbackchannel Setpacketbackchannel SccbatchSetsccbatch Setting Engine Device ParametersDarkness Setdarkness Setting Extensions to PostScript LevelCurrentcacheparams CurrentpackingSetcacheparams PackedarraySetpacking Printer Error ParameterPostScript Language Changes PrintererrorPacked Arrays Versus Ordinary Arrays Packed 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 CommunicationFlow Control Parity SettingsDTR 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 %%