Apple 310 manual Setdefaultpapertray, Setdostartpage, Setmargins

Page 41

C H A P T E R 2

LaserWriter Select 310 Software

setdefaultpapertray

Syntax

tray setdefaultpapertray –

Definition When the server begins a job, it establishes the default paper tray as the tray from which it will feed paper, and it sets up an imageable area corresponding to the size of paper in that tray. The tray operand is an integer that must be set to one of the following values:

0for the main cassette (cassette 250)

1for the multipurpose tray

2for the optional cassette (cassette250/500)

Errors invalidaccess, rangecheck, stackunderflow, typecheck

setdostartpage

Syntax

bool setdostartpage –

Definition Since the LaserWriter Select 310 printer has no start page, executing this operator with a value of true has no effect, and is ignored. The operator is present to maintain compatibility with the Personal LaserWriter NT.

Errors invalidaccess, stackunderflow, typecheck

setmargins

Syntax

top left setmargins –

Definition This operator adjusts the printer’s margins, thus changing the alignment of the imageable area on the physical page. The top and left operands are integers that specify distances in device space. (The unit size is one device pixel or 1/300 inch.) A positive top widens the top margin, and a negative top narrows it, relative to the standard margin width. Similarly a positive left widens the left margin, and a negative left narrows it.

You should use setmargins only at installation time to correct any existing physical alignment errors. There are limits to the range of adjustment possible. The printer hardware imposes margins that cause the image to be clipped it is moved too close to the edge of the paper.

Note 1. The margins imposed by the hardware are not symmetrical with respect to the center of the paper.

Note 2. This operator in no way affects the dimensions of the imageable area.

Standard value: 0

Errors invalidaccess, rangecheck, stackunderflow, typecheck

Setting Compatibility Operators

29

Image 41
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 %%