Apple 310 manual Papersize, Papertray, Setdefaultmultipurposepapertraysize

Page 40

C H A P T E R 2

LaserWriter Select 310 Software

papersize

Syntax

– papersize name bool

Definition This operator returns the name of the operator that selects a tray containing paper of the current size. For example, if the current paper size is letter, this operator returns the value /lettertray. The value of bool is true if the page feeds short edge first, false if the page feeds long edge first.

Standard value: The operator appropriate for the tray specified by papertray.

Error stackoverflow

papertray

Syntax – papertray integer

Definition This operator returns the paper tray number most recently set by the setpapertray operator.

Standard value: The value of the defaultpapertray operator.

Error stackoverflow

setdefaultmultipurposepapertraysize

Syntax

name bool setdefaultmultipurposetraysize –

Definition This operator tells the interpreter what paper size is installed in the multipurpose tray. Because the printer engine cannot sense this information, operators that need to know paper size refer to the value stored by this operator.

This operator must be executed outside the server loop.

The name operand is the name of one of the standard device setup procedures: /letter, /legal, /a4, /b5, /executive page, /a5, /com10, /monarch, /c5, or /dl.

The procedures /lettersmall and /a4small are not allowed.

The value of the pagetype operator controls whether or not the page is small.

The bool parameter is included for compatibility with other PostScript printers. It specifies whether the paper is to be fed long edge first or short edge first. For all paper sizes on the LaserWriter Select 310 printer, the value of bool must be true, which means the short edge is fed first.

Errors invalidaccess, rangecheck, stackunderflow, typecheck

28

Setting Compatibility Operators

Image 40
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 CapabilityBasic Operation Batch ModeDram Expansion Interactive Mode TypesPaper Handling 7Paper handling options Page LaserWriter Select 310 Software Adobe PostScript Programming Language Software OverviewPostScript Interpreter LaserWriter Select 310 Driver TypesSelects the paper tray containing A4-size paper and sets Software Parameters Product StringsCommunication Device Parameters Compatibility OperatorsStatusdict Setting Compatibility Operators Device Setting System Parameters CheckpasswordDefaulttimeouts IdlefontsPrintername ProductProductA RamsizeSetpassword SetdefaulttimeoutsSetidlefonts Setting Page Device Parameters DefaultmultipurposetraysizeDefaultpapertray SetprinternameManualfeedtimeout ManualfeedMargins PagestackorderPapersize SetdefaultmultipurposepapertraysizePapertray Setdostartpage SetdefaultpapertraySetmargins Setpagetype SetpagestackorderSetpapertray Setting User Parameters JobtimeoutSetjobtimeout JobnameWaittimeout Setting Device ParametersSetsoftwareiomode Softwareiomode Setting Communication ParametersPacketbackchannel Sccbatch SetpacketbackchannelSetsccbatch Setting Engine Device ParametersDarkness Setting Extensions to PostScript Level SetdarknessCurrentcacheparams CurrentpackingPackedarray SetcacheparamsPrinter Error Parameter SetpackingPrintererror PostScript Language ChangesPacked Arrays Versus Ordinary Arrays Packed 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 RatesFlow Control Parity SettingsDTR 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 %%