Developer Note APPLE CONFIDENTIALMarch 1, 1993Developer Technical Publications© Apple Computer, Inc. 1993Developer NoteApple LaserWriter Pro 600 and 6
x PREFACE Conventions Used in This Note 0Note This visual cue is used throughout the book to draw attention to information of general interest. ◆IMP
xi PREFACE The PostScript Language Program Design , published by Addison-Wesley, is written for programmers who want to take advantage of the Pos
CHAPTER 1 Overview of LaserWriter Pro Hardware 1Figure 1-0Listing 1-0Table 1-0 Thi d t t d ith F M k 4 0 4
CHAPTER 1 Overview of LaserWriter Pro Hardware 2 Features of the LaserWriter Pro Printer The LaserWriter Pro 600 and 630 printers are the next-genera
CHAPTER 1 Overview of LaserWriter Pro HardwareCommunication 3 Communication 1 The LaserWriter Pro printer supports a variety of communication ports.
CHAPTER 1 Overview of LaserWriter Pro Hardware 4 Communication The controller of the LaserWriter Pro 600 supports host communication via the followin
CHAPTER 1 Overview of LaserWriter Pro HardwareCommunication 5 Serial Port for RS-232C Devices 1 A 9-pin sub-mini-DIN connector supports communication
CHAPTER 1 Overview of LaserWriter Pro Hardware 6 Communication LocalTalk/RS422 Serial Connector 1 An 8-pin mini-DIN supports LocalTalk and RS-242 dev
CHAPTER 1 Overview of LaserWriter Pro HardwareCommunication 7 Table 1-4 Signal descriptions for Centronics parallel port Pin number Signal name Desc
Apple Computer, Inc.© 1993, Apple Computer, Inc.All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or t
CHAPTER 1 Overview of LaserWriter Pro Hardware 8 Communication Apple Ethernet Adapter for EtherTalk (630 Only) 1 The LaserWriter Pro 630 controller s
CHAPTER 1 Overview of LaserWriter Pro HardwareCommunication 9Note SCSI ID #6 cannot be used for any of these SCSI devices, since it is reserved for t
CHAPTER 1 Overview of LaserWriter Pro Hardware 10 Internal SCSI Connector Internal SCSI Connector 1 The LaserWriter Pro printer provides an internal
CHAPTER 1 Overview of LaserWriter Pro HardwareInternal SCSI Connector 11 Table 1-7 Signal descriptions for internal SCSI connector Pin numberSignal
CHAPTER 1 Overview of LaserWriter Pro Hardware 12 Mode Switch Mode Switch 1 The LaserWriter Pro has a ten-position rotary wheel that allows you to s
CHAPTER 1 Overview of LaserWriter Pro HardwareMode Switch 13 14-pin Apple Ethernet adapterEtherTalk PostScript36-pin Parallel Centronics Protocol: no
CHAPTER 1 Overview of LaserWriter Pro Hardware 14 Mode Switch 6 8-pin/RS-422 Serial 19200 baud rate Data bits: 8. No parityStop bits: 1 Flow control:
CHAPTER 1 Overview of LaserWriter Pro HardwareMode Switch 15 You can find out the number of the current switch position by: Using the PostScript Lev
CHAPTER 1 Overview of LaserWriter Pro Hardware 16 Status Lights Status Lights 1 The LaserWriter Pro has four colored lights on the left side of the p
CHAPTER 1 Overview of LaserWriter Pro HardwareDRAM Expansion 17 DRAM Expansion 1 You may expand the LaserWriter Pro printer’s DRAM capacity using SIM
iiiContents Figures and Tables vii Preface About This Developer Note ixWhat This Note Contains ixConventions Used in This Note xOther Reference Mater
CHAPTER 2 Overview of LaserWriter Pro Software 2Figure 2-0Listing 2-0Table 2-0 Thi d t t d ith F M k 4 0 4
CHAPTER 2 20 Adobe PostScript Programming Language This chapter provides an overview of the following software features: Adobe PostScript Programmi
CHAPTER 2 LaserWriter Pro Utility Program 21 LaserWriter Pro Utility Program 2 The LaserWriter Pro utility program shipped with each LaserWriter Pro
CHAPTER 2 22 Configuration Page Figure 2-1 Layout of configuration page Printer NameLASERWRITER PRO 630 ®EE?– 4.0%Font CacheForm CachePattern CacheSc
CHAPTER 2 Configuration Page 23 Table 2-1 Configuration page functions Block Description Printer name Shows the printer’s name, as specified by the pr
CHAPTER 2 24 Page Types Page Types 2 The page types for the LaserWriter Pro are the same as those described in Chapter 4 of the LaserWriter Referenc
CHAPTER 2 LaserJet IIP Emulation 25 LaserJet IIP Emulation 2 The LaserWriter Pro printer has a built-in Hewlett Packard LaserJet IIP emulator, which
CHAPTER 226 Mode Selection ParametersThe emulate procedure returns at the end of the job when a Control-D is encountered in the input source. In thi
CHAPTER 2Mode Selection Parameters 27You may change the parameters for switch positions 6–9 in one of the following ways: By using the appropriate de
iv Chapter 3 LaserWriter Pro Software 29Device Setup 30Page Device Parameters 30Page Device Parameter Summary 31Product Strings 34Install Procedure 3
CHAPTER 3 LaserWriter Pro Software 3Figure 3-0Listing 3-0Table 3-0 Thi d t t d ith F M k 4 0 4
CHAPTER 3 LaserWriter Pro Software 30 Device Setup This chapter describes the software parameters that enable you to set up and configure the LaserWri
CHAPTER 3 LaserWriter Pro SoftwarePage Device Parameters 31 Page Device Parameter Summary 3 Table 3-1 lists the page device parameters, lists their d
CHAPTER 3 LaserWriter Pro Software 32 Page Device Parameters Install procedure /DefaultHalftone See the section “Install Procedure,” later in this ch
CHAPTER 3 LaserWriter Pro SoftwarePage Device Parameters 33 Table 3-1 lists all the page device parameters available with the LaserWriter Pro printer
CHAPTER 3LaserWriter Pro Software34 Page Device ParametersProduct Strings 3Table 3-4 lists values assigned to the product strings associated with the
CHAPTER 3LaserWriter Pro SoftwarePage Device Parameters 35To use this capability, you must allocate a 4-bit-per-pixel frame buffer instead of the usua
CHAPTER 3LaserWriter Pro Software36 Page Device ParametersThere are additional entries in the PreRenderingEnhanceDetails dictionary that you should ch
CHAPTER 3LaserWriter Pro SoftwareInterpreter Parameters 37Interpreter Parameters 3Certain parameters control the operation and behavior of the PostScr
v Setting User Parameters 64jobname 64jobtimeout 64setjobtimeout 64waittimeout 64Setting Device Parameters 65appletalktype 65diskonline 65diskstatus
CHAPTER 3LaserWriter Pro Software38 Interpreter ParametersSystem Parameters 3System parameters alter the overall configuration of the printer. For cert
CHAPTER 3LaserWriter Pro SoftwareInterpreter Parameters 39CurOutlineCache integer 0 Read only. Identifies the amount of RAM currently occupied by the o
CHAPTER 3LaserWriter Pro Software40 Interpreter ParametersMaxRasterMemory integer 0 ≥ 0. The value indicates the largest amount of memory that may be
CHAPTER 3LaserWriter Pro SoftwareInterpreter Parameters 41Device Parameters 3You may set device parameters using the setdevparams operator, and you ma
CHAPTER 3LaserWriter Pro Software42 Interpreter ParametersTable 3-11 lists the parameters common to all FileSystem devices. Table 3-11 Parameters comm
CHAPTER 3LaserWriter Pro SoftwareInterpreter Parameters 43LogicalSize(continued)If LogicalSize is set with a certain value and the device is then refo
CHAPTER 3LaserWriter Pro Software44 Interpreter ParametersCommunication Channels 3The LaserWriter Pro 600 printer has three communication ports: an RS
CHAPTER 3LaserWriter Pro SoftwareInterpreter Parameters 45 with pending parameter sets, the set names contain the suffix _Pending. This is a read-only
CHAPTER 3LaserWriter Pro Software46 Interpreter ParametersTable 3-13 %Serial_NVx% communication parameter setsKey Type%Serial_NV%default %Serial_NV2%d
CHAPTER 3LaserWriter Pro SoftwareInterpreter Parameters 47Table 3-15 %LocalTalk_NVx% communication parameter setsKey Type %LocalTalk_NV% default%Local
CHAPTER 3LaserWriter Pro Software48 Resource CategoriesEngine Device 3The %Engine% device contains parameters that control the print engine itself. T
CHAPTER 3LaserWriter Pro SoftwareResource Categories 49Table 3-19 Regular resource categories Category name Instances DetailsColorRendering DefaultCol
CHAPTER 3LaserWriter Pro Software50 Resource CategoriesHalftone 150x0106x4585x5675x053x4580x45The instances listed name Type 1 halftone dictionaries,
CHAPTER 3LaserWriter Pro SoftwareResource Categories 51Table 3-20 Resources with implicit instances Category name Instances DetailsColorRendering 1Col
CHAPTER 3LaserWriter Pro Software52 Resource CategoriesIODevice %EtherTalk%%EtherTalk_NV%%EtherTalk_NV2%%EtherTalk_NV3%%EtherTalk_NV4%%EtherTalk_Pendi
CHAPTER 3LaserWriter Pro SoftwareResource Categories 53Table 3-21 Resources used in defining new resource categoriesCategory name InstancesCategory Cat
CHAPTER 3LaserWriter Pro Software54 Emulator ParametersEmulator Parameters 3Table 3-22 lists the emulator parameters specific to the LaserWriter Pro pr
CHAPTER 3LaserWriter Pro SoftwareCompatibility Operators 55Compatibility Operators 3The PostScript language has undergone a number of significant exten
CHAPTER 3LaserWriter Pro Software56 Compatibility OperatorsDevice control and configuration of system parameters in PostScript Level 2 are accomplished
CHAPTER 3LaserWriter Pro SoftwareSetting System Parameters 57Setting System Parameters 3This section describes the compatibility operators that set Le
vii Figures and Tables Chapter 1 Overview of LaserWriter Pro Hardware 1 Figure 1-1 LaserWriter Pro side panel connectors 3 Figure 1-2 9-pin serial po
CHAPTER 3LaserWriter Pro Software58 Setting System Parameterscheckpassword 3defaultmultipurposetraysize 3defaultpapertray 3defaulttimeouts 3dostar
CHAPTER 3LaserWriter Pro SoftwareSetting System Parameters 59dosysstart 3emulate 3pagecount 3papersize 3Syntax – dosysstart boolDefinition This opera
CHAPTER 3LaserWriter Pro Software60 Setting System Parameterspapertray 3printername 3product 3ramsize 3realformat 3Syntax – papertray integerDefin
CHAPTER 3LaserWriter Pro SoftwareSetting System Parameters 61revision 3setdefaultmultipurposepapertraysize 3setdefaulttimeouts 3setdostartpage 3Sy
CHAPTER 3LaserWriter Pro Software62 Setting System Parameterssetdosysstart 3setpapertray 3setprintername 3Syntax bool setdosyststart –Definition This
CHAPTER 3LaserWriter Pro SoftwareSetting Page Device Parameters 63Setting Page Device Parameters 3This section describes compatibility operators that
CHAPTER 3LaserWriter Pro Software64 Setting User ParametersSetting User Parameters 3This section describes the compatibility operators that set Level
CHAPTER 3LaserWriter Pro SoftwareSetting Device Parameters 65Setting Device Parameters 3This section describes the compatibility operators that set Le
CHAPTER 3LaserWriter Pro Software66 Setting Device Parametershardwareiomode 3manualfeed 3manualfeedtimeout 3Syntax – hardwareiomode intDefinition This
CHAPTER 3LaserWriter Pro SoftwareSetting Device Parameters 67sethardwareiomode 3setsoftwareiomode 3setuserdiskpercent 3softwareiomode 3Syntax int se
viii Table 3-12 Parameter set relationships 45 Table 3-13 %Serial_NVx% communication parameter sets 46 Table 3-14 %SerialB_NVx% communication param
CHAPTER 3LaserWriter Pro Software68 Setting Serial Communication Parametersuserdiskpercent 3Setting Serial Communication Parameters 3The following com
CHAPTER 3LaserWriter Pro SoftwareSCC Operator Encoding 69setsccbatch 3setsccinteractive 3SCC Operator Encoding 3The serial communications controller (
CHAPTER 3LaserWriter Pro Software70 SCC Operator EncodingNoteIn going from DataBits and Parity to data bits and parity, standard parity is never used
CHAPTER 3LaserWriter Pro SoftwarePage Size Compatibility Operators 71The conversions shown in Tables 3-25 and 3-26 provide the best possible compatibi
CHAPTER 3LaserWriter Pro Software72 Paper Tray Compatibility OperatorsPaper Tray Compatibility Operators 3The paper tray operators are in the status d
CHAPTER 4 TrueType Fonts 4Figure 4-0Listing 4-0Table 4-0 Thi d t t d ith F M k 4 0 4
CHAPTER 4 TrueType Fonts 74 TrueType Font Format The LaserWriter Pro printer has built-in TrueType font-scaling software. This chapter describes the
CHAPTER 4 TrueType FontsTrueType Font Format 75 TrueType Code 4 The TrueType font-scaling code is partitioned into three pieces and sent to the devi
CHAPTER 4 TrueType Fonts 76 TrueType Font Format TrueType Font Definition 4 The third component is the actual TrueType font. The font has the minimum
CHAPTER 4 TrueType FontsDevice Operation 77 Device Operation 4 There are three classes of printers, known as Class A devices, Class B devices, and C
ix PREFACE About This Developer Note The LaserWriter Pro 600 and the LaserWriter Pro 630 are new members of Apple’s LaserWriter printer family. This
CHAPTER 4TrueType Fonts78 Downloading TrueType Fonts to Diskprocedure with respect to setcharwidth, setcachedevice, and so on. This behavior has exist
CHAPTER 4 TrueType FontsDownloading TrueType Fonts to Disk 79operation of intelligent font downloaders, there are several conventions that must be use
CHAPTER 4TrueType Fonts80 TrueType Font Dictionary EntriesTable 4-1 lists the comments that delineate sections of code and indicates the classes of pr
CHAPTER 4 TrueType FontsTrueType Font Dictionary Entries 81Table 4-2 Type 42 key-value pairs common to all PostScript font dictionaries Key Type Seman
CHAPTER 4TrueType Fonts82 TrueType Font Dictionary EntriesWMode integerOptional. Indicates which of two sets of metrics is used when characters are sh
CHAPTER 4 TrueType FontsTrueType Font Dictionary Entries 83.StrokeWidth numberOptional. Indicates the stroke width (in units of the character coordina
CHAPTER 4TrueType Fonts84 TrueType Font Dictionary EntriesNotice string Trademark or copyright notice, if applicable. Conventional value: copyright no
CHAPTER 4 TrueType FontsTrueType Font Dictionary Entries 85
Commentaires sur ces manuels