Apple 310 manual Printername, ProductA, Ramsize, Revision

Page 36

C H A P T E R 2

LaserWriter Select 310 Software

printername

Syntax

string printername substring

Definition This operator stores the value of the system parameter PrinterName in string and returns a string object designating the substring actually used.

Standard value: (LaserWriter Select 310)

Errors invalidaccess, rangecheck, stackunderflow, typecheck

product

Syntax

– product string

Definition This operator is a string object which is the name of the laser printer product (LaserWriter-Select 310). If a program needs to know what type of printer it is running on, it should check this string.

Standard value: (LaserWriter-Select 310)

Error stackoverflow

productA

Syntax – productA string

Definition This operator is a string object which is used when the printer needs a default name to install in printer name. This happens when the printer is turned on for the first time after installation. It will happen each time the printer is turned on until a new name is stored using

setprintername.

Standard value: (LaserWriter-Select 310)

Error stackoverflow

ramsize

Syntax

– ramsize int

Definition This operator returns the number of bytes of RAM in the printer.

Error stackoverflow

revision

Syntax

– revision int

Definition This operator is an integer which designates the current revision level of the machine-dependent portion of the PostScript interpreter.

Standard value: 0

Error stackoverflow

24

Setting Compatibility Operators

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