Apple 310 manual Setpagestackorder, Setpagetype, Setpapertray

Page 42

C H A P T E R 2

LaserWriter Select 310 Software

setpagestackorder

Syntax

bool setpagestackorder –

Definition This operator sets value returned by pagestackorder. A value of true indicates that the output is going to the face-down tray. A value of false indicates that the output is directed to the face-up tray. Since the LaserWriter Select 310 printer has only a face-down tray, true is the only correct value for this parameter.

Errors rangecheck, invalidaccess, stackunderflow, typecheck

setpagetype

Syntax

int setpagetype –

Definition This operator specifies the default page type to be used subsequently when any paper tray is installed. The following values may be used:

0selects the standard page image area (letter, a4, etc.)

na non-zero value selects note sizes

Errors invalidaccess, stackunderflow, typecheck

setpapertray

Syntax

integer setpapertray –

Definition This operator sets the paper tray from which paper will be fed, and it sets the image area according to the size of paper in the tray and the value of the pagetype operator. The integer argument must be:

0for the main cassette (cassette 250)

1for the multipurpose tray

2for the optional cassette (cassette250/500)

Because this operator installs a new image area, it should be invoked before any marks are placed on the current page. If this operator is executed while an outstanding printer error exists, the interpreter waits until the error has been cleared before completing the execution of this operator.

Errors rangecheck, stackunderflow, typecheck

30

Setting Compatibility Operators

Image 42
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 CapabilityBatch Mode Basic OperationDram Expansion Interactive Mode TypesPaper Handling 7Paper handling options Page LaserWriter Select 310 Software Software Overview Adobe PostScript Programming LanguagePostScript Interpreter LaserWriter Select 310 Driver TypesSelects the paper tray containing A4-size paper and sets Communication Device Parameters Software ParametersProduct Strings Compatibility OperatorsStatusdict Setting Compatibility Operators Device Defaulttimeouts Setting System ParametersCheckpassword IdlefontsProductA PrinternameProduct RamsizeSetdefaulttimeouts SetpasswordSetidlefonts Defaultpapertray Setting Page Device ParametersDefaultmultipurposetraysize SetprinternameMargins ManualfeedtimeoutManualfeed PagestackorderSetdefaultmultipurposepapertraysize PapersizePapertray Setdefaultpapertray SetdostartpageSetmargins Setpagestackorder SetpagetypeSetpapertray Setjobtimeout Setting User ParametersJobtimeout JobnameSetting Device Parameters WaittimeoutSetsoftwareiomode Setting Communication Parameters SoftwareiomodePacketbackchannel Sccbatch SetpacketbackchannelSetting Engine Device Parameters SetsccbatchDarkness Currentcacheparams Setting Extensions to PostScript LevelSetdarkness CurrentpackingPackedarray SetcacheparamsPrinter Error Parameter SetpackingPrintererror PostScript Language ChangesPacked Arrays Packed Arrays Versus Ordinary ArraysCreating Packed Arrays Immediately Evaluated Names Device Resolution Images Changes in Font Cache OperationEnd-of-Line Recognition TrueType Fonts New OperatorsCommunication Channels Serial Communication Baud RatesParity Settings Flow ControlDTR Flow 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 %%