home *** CD-ROM | disk | FTP | other *** search
- *PPD-Adobe: "4.0"
- *% APPLE230.spd: Simplified form of APPLE230.ppd
- *PCFileName: "APPLE230.PPD"
- *Product: "(LaserWriter)"
- *PSVersion: "(23.0) 0"
- *ModelName: "Apple LaserWriter"
- *NickName: "Apple LaserWriter v23.0"
- *ColorDevice: False
- *FreeVM: "173936"
- *LanguageLevel: "1"
- *Password: "0"
- *ExitServer: "
- count 0 eq { % is the password on the stack?
- true
- }{
- dup % potential password
- statusdict /checkpassword get exec not
- } ifelse
- { % if no password or not valid
- (WARNING : Cannot perform the exitserver command.) =
- (Password supplied is not valid.) =
- (Please contact the author of this software.) = flush
- quit
- } if
- serverdict /exitserver get exec
- "
- *End
- *DefaultResolution: 300dpi
- *?Resolution: "
- save
- initgraphics
- 0 0 moveto currentpoint matrix defaultmatrix transform
- 0 72 lineto currentpoint matrix defaultmatrix transform
- 3 -1 roll sub dup mul
- 3 1 roll exch sub dup mul
- add sqrt round cvi
- ( ) cvs print (dpi) = flush
- restore
- "
- *End
- *ScreenFreq: "60.0"
- *ScreenAngle: "45.0"
- *OpenUI *PageSize: PickOne
- *OrderDependency: 30 AnySetup *PageSize
- *DefaultPageSize: Letter
- *PageSize Letter/US Letter: "letter"
- *PageSize Legal/US Legal: "legal"
- *PageSize LetterSmall/US Letter Small: "lettersmall"
- *PageSize LegalSmall/US Legal Small: "legal"
- *PageSize A4: "a4"
- *PageSize Monarch/Monarch Envelope Edge Fed: "letter"
- *PageSize Com10/Com10 Envelope Edge Fed: "letter"
- *?PageSize: "
- save
- [(Letter)(Legal)] statusdict /pagetype get exec
- {get} stopped { pop pop (Unknown)} if = flush
- restore
- "
- *End
- *CloseUI: *PageSize
- *OpenUI *PageRegion: PickOne
- *OrderDependency: 40 AnySetup *PageRegion
- *DefaultPageRegion: Letter
- *PageRegion Letter/US Letter: "letter"
- *PageRegion Legal/US Legal: "legal"
- *PageRegion LetterSmall/US Letter Small: "lettersmall"
- *PageRegion LegalSmall/US Legal Small: "legal"
- *PageRegion A4: "a4"
- *PageRegion Monarch/Monarch Envelope Edge Fed: "letter"
- *PageRegion Com10/Com10 Envelope Edge Fed: "letter"
- *CloseUI: *PageRegion
- *DefaultImageableArea: Letter
- *ImageableArea Letter/US Letter: "18 8 593 784 "
- *ImageableArea Legal/US Legal: "65 37 547 972 "
- *ImageableArea LetterSmall/US Letter Small: "31 31 583 761 "
- *ImageableArea LegalSmall/US Legal Small: "64 54 548 954 "
- *ImageableArea A4:"17 22 578 820 "
- *ImageableArea Monarch/Monarch Envelope Edge Fed: "19 269 274 773 "
- *ImageableArea Com10/Com10 Envelope Edge Fed: "19 125 292 773 "
- *?ImageableArea: "
- save
- /cvp {( ) cvs print ( ) print } bind def
- /upperright {10000 mul floor 10000 div} bind def
- /lowerleft {10000 mul ceiling 10000 div} bind def
- newpath clippath pathbbox
- 4 -2 roll exch 2 {lowerleft cvp} repeat
- exch 2 {upperright cvp} repeat flush
- restore
- "
- *End
- *DefaultPaperDimension: Letter
- *PaperDimension Letter/US Letter: "612 792"
- *PaperDimension Legal/US Legal: "612 1008"
- *PaperDimension LetterSmall/US Letter Small: "612 792"
- *PaperDimension LegalSmall/US Legal Small: "612 1008"
- *PaperDimension A4: "595 842"
- *PaperDimension Monarch/Monarch Envelope Edge Fed: "611 792"
- *PaperDimension Com10/Com10 Envelope Edge Fed: "610 792"
- *RequiresPageRegion All: True
- *OpenUI *InputSlot: PickOne
- *OrderDependency: 20 AnySetup *InputSlot
- *DefaultInputSlot: Cassette
- *InputSlot Cassette: ""
- *CloseUI: *InputSlot
- *OpenUI *ManualFeed/Manual Feed: Boolean
- *OrderDependency: 20 AnySetup *ManualFeed
- *DefaultManualFeed: False
- *ManualFeed True: "statusdict /manualfeed true put"
- *ManualFeed False: "statusdict /manualfeed false put"
- *?ManualFeed: "
- save
- statusdict /manualfeed get {(True)}{(False)}ifelse = flush
- restore
- "
- *End
- *CloseUI: *ManualFeed
- *DefaultFont: Courier
- *Font Courier-Bold: Standard "(001.000)" Standard ROM
- *Font Courier-BoldOblique: Standard "(001.000)" Standard ROM
- *Font Courier-Oblique: Standard "(001.000)" Standard ROM
- *Font Helvetica: Standard "(001.001)" Standard ROM
- *Font Helvetica-Bold: Standard "(001.001)" Standard ROM
- *Font Helvetica-BoldOblique: Standard "(001.000)" Standard ROM
- *Font Helvetica-Oblique: Standard "(001.000)" Standard ROM
- *Font Symbol: Special "(001.001)" Special ROM
- *Font Times-Bold: Standard "(001.001)" Standard ROM
- *Font Times-BoldItalic: Standard "(001.001)" Standard ROM
- *Font Times-Italic: Standard "(001.001)" Standard ROM
- *Font Times-Roman: Standard "(001.000)" Standard ROM
- *JobPatchFile 1/ManualFeedDelay: "
- save
- /version23-manualfeedpatch where { pop false } { true }ifelse
- % we don't do an explicit 'get' since product and version MAY
- % be in systemdict or statusdict - this technique gets the lookup
- % without failure
- statusdict begin
- product (LaserWriter) eq % true if LaserWriter
- version cvr 23.0 eq % true if version 23
- end
-
- and % only install this patch if both are true
- and % true only if patch is not installed and is for this printer
- % save object and boolean on stack
- dup { exch restore }if
- % either true OR saveobject false
- dup
- {
- /version23-manualfeedpatch true def
- /oldversion23-showpage /showpage load def
- /showpage % this showpage will wait extra time if manualfeed is true
- {%
- statusdict /manualfeed known
- {% manualfeed known in statusdict
- statusdict /manualfeed get
- {% if true then we loop for 5 seconds
- usertime 5000 add % target usertime
- { % loop
- dup usertime sub 0 lt
- { exit }if
- }loop
- pop % pop the usertime off the stac
- }if
- }if
- oldversion23-showpage
- }bind def
- }if
- not{ restore }if
- "
- *End
-