Apple 310 Setting Extensions to PostScript Level, Setdarkness, Currentcacheparams, Currentpacking

Page 48

C H A P T E R 2

LaserWriter Select 310 Software

setdarkness

Syntax

real setdarkness –

Definition This operator sets the printer’s laser density according to the value specified by real, where a value of 0 is the least dense and a value of 1 is the most dense. This causes the printer’s output to be either lighter or darker, depending on whether the darkness value is lowered or increased from the current value.

The printer itself has only five darkness settings: 0, .25, .5, .75, and 1. If the value of real is set between 0 and 1 but is not one of these values, darkness will be set to the setting closest to real. If the value of real is outside the range of 0 through 1, a rangecheck error will occur.

Errors invalidaccess, rangecheck, stackunderflow, typecheck

Setting Extensions to PostScript Level 1

The LaserWriter Select 310 printer uses a variety of parameters that are not generally used with PostScript Level 1 language. These operators extend the capabilities of the PostScript Level 1 language supported by the printer.

currentcacheparams

Syntax

– currentcacheparams mark lower upper

Definition This operator pushes a mark object followed by the current cache parameters onto the operand stack. The number of cache parameters returned is variable. See setcacheparams.

Standard value: mark 1250 12500

Error stackoverflow

currentpacking

Syntax

– currentpacking bool

Definition This operator returns the array packing mode currently in effect.

Standard value: false

Error stackoverflow

36

Setting Compatibility Operators

Image 48
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 Software Parameters Product StringsCommunication Device Parameters Compatibility OperatorsStatusdict Setting Compatibility Operators Device Setting System Parameters CheckpasswordDefaulttimeouts IdlefontsPrintername ProductProductA RamsizeSetdefaulttimeouts SetpasswordSetidlefonts Setting Page Device Parameters DefaultmultipurposetraysizeDefaultpapertray SetprinternameManualfeedtimeout ManualfeedMargins PagestackorderSetdefaultmultipurposepapertraysize PapersizePapertray Setdefaultpapertray SetdostartpageSetmargins Setpagestackorder SetpagetypeSetpapertray Setting User Parameters JobtimeoutSetjobtimeout JobnameSetting Device Parameters WaittimeoutSetsoftwareiomode Setting Communication Parameters SoftwareiomodePacketbackchannel Sccbatch SetpacketbackchannelSetting Engine Device Parameters SetsccbatchDarkness Setting Extensions to PostScript Level SetdarknessCurrentcacheparams 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 %%