home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR16 / TPPPD_4.ZIP / TPCOUR4.PPD < prev    next >
PostScript Printer Description  |  1993-06-12  |  13KB  |  356 lines

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-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. *% End of Copyright statement
  9. *FormatVersion: "4.0"
  10. *FileVersion: "2.0"
  11. *PCFileName: "TPCOUR.PPD"
  12. *LanguageVersion: English
  13. *Product: "(TrueRes)"
  14. *PSVersion: "(52) 0"
  15. *ModelName: "TruePoint Courier only"
  16. *NickName: "TruePoint Courier only"
  17.  
  18. *% General Information and Defaults ===============
  19. *FreeVM: "1505496"
  20. *LanguageLevel: "1"
  21. *ColorDevice: False
  22. *DefaultColorSpace: Gray
  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. *Reset: "
  44.   count 0 eq {  % is the password on the stack?
  45.     true
  46.   }{
  47.     dup % potential password
  48.     statusdict /checkpassword get exec not
  49.   } ifelse
  50.   {  %  if no password or not valid
  51.     (WARNING : Cannot reset printer.) =
  52.     (Password supplied is not valid.) =
  53.     (Please contact the author of this software.) = flush
  54.     quit
  55.   } if
  56.   serverdict /exitserver get exec
  57.   systemdict /quit get exec
  58.   (WARNING : Printer Reset Failed.) = flush
  59. "
  60. *End
  61.  
  62. *OpenUI *Resolution: PickOne
  63. *DefaultResolution: 600dpi 
  64. *Resolution 300dpi: "300 statusdict /setresolution get exec" 
  65. *Resolution 600dpi: "600 statusdict /setresolution get exec" 
  66. *?Resolution: "
  67. save
  68.   statusdict /resolution get exec
  69.   128 string cvs print (dpi) = flush
  70. restore
  71. "
  72. *End
  73. *CloseUI: *Resolution
  74.  
  75. *% Halftone Information ===============
  76. *ScreenFreq: "60.0"
  77. *ScreenAngle: "45.0"
  78. *DefaultScreenProc: Dot
  79. *ScreenProc Dot: "
  80. { abs exch abs 2 copy add 1 gt
  81.   {1 sub dup mul exch 1 sub dup mul add 1 sub }
  82.   {dup mul exch dup mul add 1 exch sub }
  83.   ifelse
  84. }
  85. "
  86. *End
  87. *ScreenProc Line: "{ pop }"
  88. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  89.  
  90. *DefaultTransfer: Null
  91. *Transfer Null: "{ }"
  92. *Transfer Null.Inverse: "{ 1 exch sub }"
  93.  
  94. *% Paper Handling ===================
  95.  
  96. *% Use these entries to set paper size most of the time, unless there is
  97. *% specific reason to use PageRegion.
  98. *OpenUI *PageSize: PickOne
  99. *OrderDependency: 30 AnySetup *PageSize
  100. *DefaultPageSize: Letter
  101. *PageSize Letter: "statusdict /lettertray get exec"
  102. *PageSize Legal: "statusdict /legaltray get exec"
  103. *PageSize Executive: "statusdict /executivetray get exec"
  104. *PageSize A4: "statusdict /a4tray get exec"
  105. *PageSize B5: "statusdict /b5tray get exec"
  106. *PageSize Monarch/Monarch Envelope: "statusdict /envelopetray get exec statusdict /monarch get exec"
  107. *PageSize Comm10/Common #10 Envelope: "statusdict /envelopetray get exec statusdict /com10 get exec"
  108. *PageSize DL/DL Envelope: "statusdict /envelopetray get exec statusdict /dl get exec"
  109. *PageSize C5/C5 Envelope: "statusdict /envelopetray get exec statusdict /c5 get exec"
  110. *PageSize Envelope.279.639/Common #9 Envelope: "statusdict /envelopetray get exec statusdict /com9 get exec"
  111. *PageSize Envelope.324.747/Common #11 Envelope: "statusdict /envelopetray get exec statusdict /com11 get exec"
  112. *?PageSize: "
  113. save 
  114. 5 dict 
  115.   dup /letter (Letter) put
  116.   dup /legal (Legal) put
  117.   dup /a4 (A4) put
  118.   dup /b5 (B5) put
  119.   dup /executivepage (Executive) put
  120.   statusdict /papersize get exec
  121.   3 1 roll  {get} stopped {(Unknown)}if
  122.   exch  not { print (.Transverse) }if
  123.   = flush
  124. restore 
  125. "
  126. *End
  127. *CloseUI: *PageSize
  128.  
  129. *% These entries will set up the frame buffer. Usually used with manual feed.
  130. *OpenUI *PageRegion: PickOne
  131. *OrderDependency: 40 AnySetup *PageRegion
  132. *DefaultPageRegion: Letter
  133. *PageRegion Letter: "letter"
  134. *PageRegion Legal: "legal"
  135. *PageRegion A4: "a4"
  136. *PageRegion B5: "b5"
  137. *PageRegion Executive: "statusdict /executivepage get exec"
  138. *PageRegion Monarch/Monarch Envelope: "statusdict /monarch get exec"
  139. *PageRegion Comm10/Common #10 Envelope: "statusdict /com10 get exec"
  140. *PageRegion DL/DL Envelope: "statusdict /dl get exec"
  141. *PageRegion C5/C5 Envelope: "statusdict /c5 get exec"
  142. *PageRegion Envelope.279.639/Common #9 Envelope: "statusdict /com9 get exec"
  143. *PageRegion Envelope.324.747/Common #11 Envelope: "statusdict /com11 get exec"
  144. *CloseUI: *PageRegion
  145.  
  146. *% The following entries provide information about specific paper keywords.
  147. *DefaultImageableArea: Letter
  148. *ImageableArea Letter: "15 13 597 779 "
  149. *ImageableArea Legal: "15 14 597 995 "
  150. *ImageableArea A4: "16 11 579 831 "
  151. *ImageableArea B5: "18 12 497 717 "
  152. *ImageableArea Executive: "18 18 486 720"
  153. *ImageableArea Monarch/Monarch Envelope: "1 1 279 540"
  154. *ImageableArea Comm10/Common #10 Envelope: "1 1 297 684"
  155. *ImageableArea DL/DL Envelope: "1 1 312 623"
  156. *ImageableArea C5/C5 Envelope: "1 1 459 649"
  157. *ImageableArea Envelope.279.639/Common #9 Envelope: "1 1 279 639"
  158. *ImageableArea Envelope.324.747/Common #11 Envelope: "1 1 324 747"
  159. *?ImageableArea: "
  160. save
  161.   /cvp { (                ) cvs print ( ) print } bind def
  162.   /upperright {10000 mul floor 10000 div} bind def
  163.   /lowerleft {10000 mul ceiling 10000 div} bind def
  164.   newpath clippath pathbbox
  165.   4 -2 roll exch 2 {lowerleft cvp} repeat
  166.   exch 2 {upperright cvp} repeat flush
  167.  restore
  168. "
  169. *End
  170.  
  171. *% These provide the physical dimensions of the paper (by keyword)
  172. *DefaultPaperDimension: Letter
  173. *PaperDimension Letter: "612 792"
  174. *PaperDimension Legal: "612 1008"
  175. *PaperDimension A4: "595 842"
  176. *PaperDimension B5: "516 729"
  177. *PaperDimension Executive: "522 756"
  178. *PaperDimension Monarch/Monarch Envelope: "279 540"
  179. *PaperDimension Comm10/Common #10 Envelope: "297 684"
  180. *PaperDimension DL/DL Envelope: "312 624"
  181. *PaperDimension C5/C5 Envelope: "459 649"
  182. *PaperDimension Envelope.279.639/Common #9 Envelope: "279 639"
  183. *PaperDimension Envelope.324.747/Common #11 Envelope: "324 747"
  184.  
  185. *RequiresPageRegion All: True
  186. *OpenUI *InputSlot: PickOne
  187. *OrderDependency: 20 AnySetup *InputSlot
  188. *DefaultInputSlot: Cassette
  189. *InputSlot Cassette: ""
  190. *CloseUI: *InputSlot
  191.  
  192. *OpenUI *ManualFeed: PickOne
  193. *OrderDependency: 20 AnySetup *ManualFeed
  194. *DefaultManualFeed: False
  195. *ManualFeed True: "statusdict /manualfeed true put"
  196. *ManualFeed False: "statusdict /manualfeed false put"
  197. *?ManualFeed: "save
  198.   statusdict /manualfeed get
  199.   {(True)}{(False)}ifelse = flush
  200.   restore
  201. "
  202. *End
  203. *CloseUI: *ManualFeed
  204.  
  205. *DefaultOutputBin: Upper
  206. *DefaultOutputOrder: Normal
  207.  
  208. *% Font Information =====================
  209.  
  210. *DefaultFont: Courier
  211. *Font Courier: Standard "(001.001)"
  212. *Font Courier-Bold: Standard "(001.001)"
  213. *Font Courier-BoldOblique: Standard "(001.001)"
  214. *Font Courier-Oblique: Standard "(001.001)"
  215. *?FontQuery: "
  216. save
  217.  /str 100 string dup 0 (fonts/) putinterval def
  218.  {
  219.    count 1 gt
  220.    {
  221.      exch dup str 6 94 getinterval cvs
  222.      (/) print print (:) print
  223.      FontDirectory exch known
  224.      {(Yes)}{(No)} ifelse =
  225.    }
  226.    {exit} ifelse
  227.  }bind loop
  228.  (*) = flush
  229. restore
  230. "
  231. *End
  232.  
  233. *?FontList: "
  234. save
  235.   FontDirectory { pop == } bind forall flush
  236.   (*) = flush
  237. restore
  238. "
  239. *End
  240.  
  241. *% Printer Messages (verbatim from printer):
  242. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  243. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  244. *Message: "\FontName\ not found, using Courier"
  245.  
  246. *% Status (format: %%[ status: <one of these> ]%% )
  247. *Status: "idle"
  248. *Status: "busy"
  249. *Status: "waiting"
  250. *Status: "printing"
  251. *Status: "warming up"
  252. *Status: "Initializing"
  253. *Status: "printing startup page"
  254. *Status: "printing test page"
  255. *Status: "PrinterError: no paper tray"
  256. *Status: "PrinterError: service call"
  257. *Status: "PrinterError: no toner cartridge"
  258. *Status: "PrinterError: cover open"
  259. *Status: "PrinterError: paper entry misfeed"
  260. *Status: "PrinterError: manual feed"
  261. *Status: "PrinterError: out of paper"
  262.  
  263. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  264. *Source: "serial25"
  265. *Source: "AppleTalk"
  266. *Source: "Centronics"
  267.  
  268. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  269. *PrinterError: "no paper tray"
  270. *PrinterError: "service call"
  271. *PrinterError: "no toner cartridge"
  272. *PrinterError: "cover open"
  273. *PrinterError: "paper entry misfeed"
  274. *PrinterError: "manual feed"
  275. *PrinterError: "out of paper"
  276.  
  277. *DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  278.  
  279. *% Color Separation Information =====================
  280.  
  281. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  282.  
  283. *InkName: ProcessBlack/Process Black
  284. *InkName: CustomColor/Custom Color
  285. *InkName: ProcessCyan/Process Cyan
  286. *InkName: ProcessMagenta/Process Magenta
  287. *InkName: ProcessYellow/Process Yellow
  288.  
  289. *%  For 60 lpi / 300 dpi  ===============================
  290.  
  291. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  292. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  293. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  294. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  295. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  296.  
  297. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  298. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  299. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  300. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  301. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  302.  
  303. *%  For 53 lpi / 300 dpi  ===============================
  304.  
  305. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  306. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  307. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  308. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  309. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  310.  
  311. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  312. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  313. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  314. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  315. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  316.  
  317. *%  For 85 lpi / 600 dpi  (5,5,2,6,6,2,20/3,0) =====================
  318.  
  319. *ColorSepScreenAngle ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  320. *ColorSepScreenAngle CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  321. *ColorSepScreenAngle ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "71.5651"
  322. *ColorSepScreenAngle ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "18.4349"
  323. *ColorSepScreenAngle ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "0.0"
  324.  
  325. *ColorSepScreenFreq ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  326. *ColorSepScreenFreq CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  327. *ColorSepScreenFreq ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  328. *ColorSepScreenFreq ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  329. *ColorSepScreenFreq ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "30.0"
  330.  
  331. *ColorSepScreenProc ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "
  332. {1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch 
  333. 1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch 
  334. abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1 
  335. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  336. "
  337. *End
  338.  
  339. *%  For 71 lpi / 600 dpi  ===============================
  340.  
  341. *ColorSepScreenAngle ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  342. *ColorSepScreenAngle CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  343. *ColorSepScreenAngle ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "71.5651"
  344. *ColorSepScreenAngle ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "18.4349"
  345. *ColorSepScreenAngle ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "0.0"
  346.  
  347. *ColorSepScreenFreq ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  348. *ColorSepScreenFreq CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  349. *ColorSepScreenFreq ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  350. *ColorSepScreenFreq ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  351. *ColorSepScreenFreq ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "66.6667"
  352.  
  353. *% Converted to meet 4.0 specification
  354. *% Last Edit Date: 13 July 1993
  355.  
  356.