home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / WordProcessors / DC-PS334.DMS / in.adf / PPD.lha / .General next >
Encoding:
PostScript Printer Description  |  1997-03-21  |  10.1 KB  |  331 lines

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1988-1992 Adobe Systems Incorporated.
  4. *% All Rights Reserved.
  5. *% Permission is granted for redistribution of this file as
  6. *% long as this copyright notice is intact and the contents
  7. *% of the file is not altered in any way from its original form.
  8. *%
  9. *FormatVersion: "4.0"
  10. *FileVersion: "3.0"
  11. *PCFileName: "DEFPRTR.PPD"
  12. *LanguageVersion: English
  13. *Product: "(Adobe Default Printer)"
  14. *PSVersion: "(23.0) 0"
  15. *ModelName: "Adobe Default Printer"
  16. *NickName: "Adobe Default Printer"
  17.  
  18. *% General Information and Defaults ===============
  19. *ColorDevice: False
  20. *DefaultColorSpace: Gray
  21. *FreeVM: "173936"
  22. *LanguageLevel: "1"
  23. *VariablePaperSize: False
  24. *FileSystem: False
  25. *Throughput: "8"
  26. *Password: "0"
  27. *ExitServer: "
  28.   count 0 eq {  % is the password on the stack?
  29.     true
  30.   }{
  31.     dup    % potential password
  32.     statusdict /checkpassword get exec not
  33.   } ifelse
  34.   {  %  if no password or not valid
  35.     (WARNING : Cannot perform the exitserver command.) =
  36.     (Password supplied is not valid.) =
  37.     (Please contact the author of this software.) = flush
  38.     quit
  39.   } if
  40.   serverdict /exitserver get exec
  41. "
  42. *End
  43.  
  44. *Reset: "
  45.   count 0 eq {  % is the password on the stack?
  46.     true
  47.   }{
  48.     dup    % potential password
  49.     statusdict /checkpassword get exec not
  50.   } ifelse
  51.   {  %  if no password or not valid
  52.     (WARNING : Cannot reset printer.) =
  53.     (Password supplied is not valid.) =
  54.     (Please contact the author of this software.) = flush
  55.     quit
  56.   } if
  57.   serverdict /exitserver get exec
  58.   systemdict /quit get exec
  59.   (WARNING : Printer Reset Failed.) = flush
  60. "
  61. *End
  62.  
  63. *DefaultResolution: 300dpi
  64. *?Resolution: "
  65. save
  66.   initgraphics
  67.   0 0 moveto currentpoint matrix defaultmatrix transform
  68.   0 72 lineto currentpoint matrix defaultmatrix transform
  69.   3 -1 roll sub dup mul
  70.   3 1 roll exch sub dup mul
  71.   add sqrt round cvi
  72.   (          ) cvs print (dpi) = flush
  73. restore
  74. "
  75. *End
  76.  
  77. *% Halftone Information ===============
  78. *ScreenFreq: "60.0"
  79. *ScreenAngle: "45.0"
  80. *DefaultScreenProc: Dot
  81. *ScreenProc Dot: "
  82. {dup mul exch dup mul add 1.0 exch sub }
  83. "
  84. *End
  85. *ScreenProc Line: "{ pop }"
  86. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  87.  
  88. *DefaultTransfer: Null
  89. *Transfer Null: "{ }"
  90. *Transfer Null.Inverse: "{ 1 exch sub }"
  91.  
  92. *% Paper Handling ===================
  93. *% Use these entries to set paper size most of the time, unless there is
  94. *% specific reason to use PageRegion.
  95. *OpenUI *PageSize: PickOne
  96. *OrderDependency: 30 AnySetup *PageSize
  97. *DefaultPageSize: Letter
  98. *PageSize Letter: "letter"
  99. *PageSize Legal: "legal"
  100. *?PageSize: "
  101. save
  102.   [(Letter)(Legal)] statusdict /pagetype get exec
  103.   {get} stopped { pop pop (Unknown)} if = flush
  104. restore
  105. "
  106. *End
  107. *CloseUI: *PageSize
  108.  
  109. *% These entries will set up the frame buffer. Usually used with manual feed.
  110. *OpenUI *PageRegion: PickOne
  111. *OrderDependency: 40 AnySetup *PageRegion
  112. *DefaultPageRegion: Letter
  113. *PageRegion Letter: "letter"
  114. *PageRegion Legal: "legal"
  115. *CloseUI: *PageRegion
  116.  
  117. *% The following entries provide information about specific paper keywords.
  118. *DefaultImageableArea: Letter
  119. *ImageableArea Letter: "18 8 593 784 "
  120. *ImageableArea Legal: "65 42 547 966 "
  121. *?ImageableArea: "
  122. save
  123.   /cvp {(                ) cvs print ( ) print } bind def
  124.   /upperright {10000 mul floor 10000 div} bind def
  125.   /lowerleft {10000 mul ceiling 10000 div} bind def
  126.   newpath clippath pathbbox
  127.   4 -2 roll exch 2 {lowerleft cvp} repeat
  128.   exch 2 {upperright cvp} repeat flush
  129.  restore
  130. "
  131. *End
  132.  
  133. *% These provide the physical dimensions of the paper (by keyword)
  134. *DefaultPaperDimension: Letter
  135. *PaperDimension Letter: "612 792"
  136. *PaperDimension Legal: "612 1008"
  137.  
  138. *RequiresPageRegion All: True
  139. *OpenUI *InputSlot: PickOne
  140. *OrderDependency: 20 AnySetup *InputSlot
  141. *DefaultInputSlot: Cassette
  142. *InputSlot Cassette: ""
  143. *CloseUI: *InputSlot
  144.  
  145. *OpenUI *ManualFeed: Boolean
  146. *OrderDependency: 20 AnySetup *ManualFeed
  147. *DefaultManualFeed: False
  148. *ManualFeed True: "statusdict /manualfeed true put"
  149. *ManualFeed False: "statusdict /manualfeed false put"
  150. *?ManualFeed: "
  151. save
  152.  statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  153. restore
  154. "
  155. *End
  156. *CloseUI: *ManualFeed
  157.  
  158. *DefaultOutputOrder: Reverse
  159.  
  160. *% Font Information =====================
  161. *DefaultFont: Courier
  162. *Font Courier: Standard "(001.000)" Standard ROM
  163. *Font Courier-Bold: Standard "(001.000)" Standard ROM
  164. *Font Courier-BoldOblique: Standard "(001.000)" Standard ROM
  165. *Font Courier-Oblique: Standard "(001.000)" Standard ROM
  166. *Font Helvetica: Standard "(001.001)" Standard ROM
  167. *Font Helvetica-Bold: Standard "(001.001)" Standard ROM
  168. *Font Helvetica-BoldOblique: Standard "(001.000)" Standard ROM
  169. *Font Helvetica-Oblique: Standard "(001.000)" Standard ROM
  170. *Font Symbol: Special "(001.001)" Special ROM
  171. *Font Times-Bold: Standard "(001.001)" Standard ROM
  172. *Font Times-BoldItalic: Standard "(001.001)" Standard ROM
  173. *Font Times-Italic: Standard "(001.001)" Standard ROM
  174. *Font Times-Roman: Standard "(001.000)" Standard ROM
  175. *?FontQuery: "
  176. save
  177.  /str 100 string dup 0 (fonts/) putinterval def
  178.  {
  179.    count 1 gt
  180.    {
  181.      exch dup str 6 94 getinterval cvs
  182.      (/) print print (:) print
  183.      FontDirectory exch known
  184.      {(Yes)}{(No)} ifelse =
  185.    }
  186.    {exit} ifelse
  187.  }bind loop
  188.  (*) = flush
  189. restore
  190. "
  191. *End
  192.  
  193. *?FontList: "
  194. save
  195.   FontDirectory { pop == } bind flush forall (*) = flush
  196. restore
  197. "
  198. *End
  199.  
  200. *% Printer Messages (verbatim from printer):
  201. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  202. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  203. *Message: "\FontName\ not found, using Courier"
  204.  
  205. *% Status (format: %%[ status: <one of these> ]%% )
  206. *Status: "idle"
  207. *Status: "busy"
  208. *Status: "waiting"
  209. *Status: "printing"
  210. *Status: "PrinterError: timeout, clearing printer"
  211. *Status: "PrinterError: timeout"
  212. *Status: "PrinterError: paper entry misfeed"
  213. *Status: "PrinterError: no toner cartridge"
  214. *Status: "PrinterError: service call"
  215. *Status: "PrinterError: paper entry misfeed"
  216. *Status: "PrinterError: no paper tray"
  217. *Status: "PrinterError: out of paper"
  218. *Status: "PrinterError: cover open"
  219. *Status: "PrinterError: resetting printer"
  220. *Status: "PrinterError: manual feed timeout"
  221. *Status: "PrinterError: warming up"
  222.  
  223. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  224. *Source: "serial9"
  225. *Source: "serial25"
  226. *Source: "AppleTalk"
  227.  
  228. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  229. *PrinterError: "timeout, clearing printer"
  230. *PrinterError: "timeout"
  231. *PrinterError: "paper entry misfeed"
  232. *PrinterError: "no toner cartridge"
  233. *PrinterError: "service call"
  234. *PrinterError: "paper entry misfeed"
  235. *PrinterError: "no paper tray"
  236. *PrinterError: "out of paper"
  237. *PrinterError: "cover open"
  238. *PrinterError: "resetting printer"
  239. *PrinterError: "manual feed timeout"
  240. *PrinterError: "warming up"
  241.  
  242. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  243.  
  244. *% Color Separation Information =====================
  245.  
  246. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  247.  
  248. *InkName: ProcessBlack/Process Black
  249. *InkName: CustomColor/Custom Color
  250. *InkName: ProcessCyan/Process Cyan
  251. *InkName: ProcessMagenta/Process Magenta
  252. *InkName: ProcessYellow/Process Yellow
  253.  
  254. *% For 60 lpi / 300 dpi =====================================================
  255.  
  256. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  257. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  258. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  259. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  260. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  261.  
  262. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  263. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  264. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  265. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  266. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  267.  
  268. *% For 53 lpi / 300 dpi =====================================================
  269.  
  270. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  271. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  272. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  273. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  274. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  275.  
  276. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  277. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  278. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  279. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  280. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  281.  
  282. *% This patch file inserts a delay before manualfeed to fix a bug
  283. *% in the version 23 LaserWriter.
  284. *JobPatchFile 1/ManualFeedDelay: "
  285. save
  286. /version23-manualfeedpatch where { pop false } { true }ifelse
  287.  % we don't do an explicit 'get' since product and version MAY
  288.  % be in systemdict or statusdict - this technique gets the lookup
  289.  % without failure
  290. statusdict begin
  291.   product (LaserWriter) eq        % true if LaserWriter
  292.   version cvr 23.0 eq             % true if version 23
  293. end
  294.  
  295. and  % only install this patch if both are true
  296. and  % true only if patch is not installed and is for this printer
  297.      % save object and boolean on stack
  298. dup { exch restore }if
  299. % either true OR saveobject false
  300. dup
  301. {
  302.   /version23-manualfeedpatch true def
  303.   /oldversion23-showpage /showpage load def
  304.   /showpage       % this showpage will wait extra time if manualfeed is true
  305.   {%
  306.      statusdict /manualfeed known
  307.      {% manualfeed known in statusdict
  308.         statusdict /manualfeed get
  309.         {% if true then we loop for 5 seconds
  310.            usertime 5000 add       % target usertime
  311.            { % loop
  312.              dup usertime sub 0 lt
  313.              { exit }if
  314.            }loop
  315.            pop             % pop the usertime off the stac}if
  316.          }if
  317.          oldversion23-showpage
  318.      }bind def
  319. }if
  320. not{ restore }if
  321. "
  322. *End
  323.  
  324. *% For "LaserWriter" version 23.0
  325. *% Produced by "GETapd.ps" version 2.0 edit 45
  326. *% Converted to meet 4.0 specification
  327. *% Last Edit Date: 27 Feb 1992
  328. *% The byte count of this file should be exactly 010306 or 010635
  329. *% depending on the filesystem it resides in.
  330. *% end of PPD file for LaserWriter
  331.