Apple 310 manual Setting System Parameters, Checkpassword, Defaulttimeouts, Idlefonts, Pagecount

Page 35

C H A P T E R 2

LaserWriter Select 310 Software

Setting System Parameters

This section describes the compatibility operators that set Level 1 system parameters.

checkpassword

Syntax

int checkpassword bool

Definition This operator checks the validity of the current password. It returns true if int is equal to the current system administrator password. Otherwise, after delaying for one second, it returns false.

Standard value: 0

Error None

defaulttimeouts

Syntax

defaulttimeouts job manualfeed wait

Definition This operator returns the following values:

default job

manual feed

wait timeout values Standard value: 0 60 40

Error stackoverflow

idlefonts

Syntax

– idlefonts mark font sxsy rot chars

Definition

This operator pushes a mark followed by the integers that control idle

 

time scan conversion (see setidlefonts). An empty list of integers, that

 

is one with just a mark on the top of the operand stack, specifies that the

 

standard set of characters is to be scan converted.

 

Standard value: mark

Error

stackoverflow

pagecount

Syntax

– pagecount int

Definition This operator returns the value of the system parameter PageCount. That is, it returns the number of pages that have been printed by the LaserWriter Select 310 printer.

There is no way to reset this value.

Error stackoverflow

Setting Compatibility Operators

23

Image 35
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 Compatibility Operators Software ParametersProduct Strings Communication Device ParametersStatusdict Setting Compatibility Operators Device Idlefonts Setting System ParametersCheckpassword DefaulttimeoutsRamsize PrinternameProduct ProductASetidlefonts SetdefaulttimeoutsSetpassword Setprintername Setting Page Device ParametersDefaultmultipurposetraysize DefaultpapertrayPagestackorder ManualfeedtimeoutManualfeed MarginsPapertray SetdefaultmultipurposepapertraysizePapersize Setmargins SetdefaultpapertraySetdostartpage Setpapertray SetpagestackorderSetpagetype Jobname Setting User ParametersJobtimeout SetjobtimeoutSetsoftwareiomode Setting Device ParametersWaittimeout Packetbackchannel Setting Communication ParametersSoftwareiomode Setpacketbackchannel SccbatchDarkness Setting Engine Device ParametersSetsccbatch Currentpacking Setting Extensions to PostScript LevelSetdarkness CurrentcacheparamsSetcacheparams 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 %%