home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR16 / TPPPD_4.ZIP / TRUEPT4.PPD < prev   
PostScript Printer Description  |  1993-06-13  |  14KB  |  387 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: "TRUEPT4.PPD"
  12. *LanguageVersion: English
  13. *Product: "(TrueRes)"
  14. *PSVersion: "(52) 0"
  15. *ModelName: "DP Tek TruePoint"
  16. *NickName: "DP Tek TruePoint"
  17.  
  18. *% General Information and Defaults ===============
  19. *FreeVM: "172414"
  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 AvantGarde-Book: Standard "(001.001)"
  212. *Font AvantGarde-BookOblique: Standard "(001.001)"
  213. *Font AvantGarde-Demi: Standard "(001.001)"
  214. *Font AvantGarde-DemiOblique: Standard "(001.001)"
  215. *Font Bookman-Demi: Standard "(001.001)"
  216. *Font Bookman-DemiItalic: Standard "(001.001)"
  217. *Font Bookman-Light: Standard "(001.001)"
  218. *Font Bookman-LightItalic: Standard "(001.001)"
  219. *Font Courier: Standard "(001.001)"
  220. *Font Courier-Bold: Standard "(001.001)"
  221. *Font Courier-BoldOblique: Standard "(001.001)"
  222. *Font Courier-Oblique: Standard "(001.001)"
  223. *Font Helvetica: Standard "(001.001)"
  224. *Font Helvetica-Bold: Standard "(001.001)"
  225. *Font Helvetica-BoldOblique: Standard "(001.001)"
  226. *Font Helvetica-Narrow: Standard "(001.000)"
  227. *Font Helvetica-Narrow-Bold: Standard "(001.000)"
  228. *Font Helvetica-Narrow-BoldOblique: Standard "(001.000)"
  229. *Font Helvetica-Narrow-Oblique: Standard "(001.000)"
  230. *Font Helvetica-Oblique: Standard "(001.001)"
  231. *Font NewCenturySchlbk-Bold: Standard "(001.002)"
  232. *Font NewCenturySchlbk-BoldItalic: Standard "(001.001)"
  233. *Font NewCenturySchlbk-Italic: Standard "(001.001)"
  234. *Font NewCenturySchlbk-Roman: Standard "(001.002)"
  235. *Font Palatino-Bold: Standard "(001.000)"
  236. *Font Palatino-BoldItalic: Standard "(001.000)"
  237. *Font Palatino-Italic: Standard "(001.000)"
  238. *Font Palatino-Roman: Standard "(001.000)"
  239. *Font Symbol: Special "(001.001)"
  240. *Font Times-Bold: Standard "(001.001)"
  241. *Font Times-BoldItalic: Standard "(001.001)"
  242. *Font Times-Italic: Standard "(001.001)"
  243. *Font Times-Roman: Standard "(001.001)"
  244. *Font ZapfChancery-MediumItalic: Standard "(001.002)"
  245. *Font ZapfDingbats: Special "(001.000)"
  246. *?FontQuery: "
  247. save
  248.  /str 100 string dup 0 (fonts/) putinterval def
  249.  {
  250.    count 1 gt
  251.    {
  252.      exch dup str 6 94 getinterval cvs
  253.      (/) print print (:) print
  254.      FontDirectory exch known
  255.      {(Yes)}{(No)} ifelse =
  256.    }
  257.    {exit} ifelse
  258.  }bind loop
  259.  (*) = flush
  260. restore
  261. "
  262. *End
  263.  
  264. *?FontList: "
  265. save
  266.   FontDirectory { pop == } bind forall flush
  267.   (*) = flush
  268. restore
  269. "
  270. *End
  271.  
  272. *% Printer Messages (verbatim from printer):
  273. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  274. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  275. *Message: "\FontName\ not found, using Courier"
  276.  
  277. *% Status (format: %%[ status: <one of these> ]%% )
  278. *Status: "idle"
  279. *Status: "busy"
  280. *Status: "waiting"
  281. *Status: "printing"
  282. *Status: "warming up"
  283. *Status: "Initializing"
  284. *Status: "printing startup page"
  285. *Status: "printing test page"
  286. *Status: "PrinterError: no paper tray"
  287. *Status: "PrinterError: service call"
  288. *Status: "PrinterError: no toner cartridge"
  289. *Status: "PrinterError: cover open"
  290. *Status: "PrinterError: paper entry misfeed"
  291. *Status: "PrinterError: manual feed"
  292. *Status: "PrinterError: out of paper"
  293.  
  294. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  295. *Source: "serial25"
  296. *Source: "AppleTalk"
  297. *Source: "Centronics"
  298.  
  299. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  300. *PrinterError: "no paper tray"
  301. *PrinterError: "service call"
  302. *PrinterError: "no toner cartridge"
  303. *PrinterError: "cover open"
  304. *PrinterError: "paper entry misfeed"
  305. *PrinterError: "manual feed"
  306. *PrinterError: "out of paper"
  307.  
  308. *DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  309.  
  310. *% Color Separation Information =====================
  311.  
  312. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  313.  
  314. *InkName: ProcessBlack/Process Black
  315. *InkName: CustomColor/Custom Color
  316. *InkName: ProcessCyan/Process Cyan
  317. *InkName: ProcessMagenta/Process Magenta
  318. *InkName: ProcessYellow/Process Yellow
  319.  
  320. *%  For 60 lpi / 300 dpi  ===============================
  321.  
  322. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  323. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  324. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  325. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  326. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  327.  
  328. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  329. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  330. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  331. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  332. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  333.  
  334. *%  For 53 lpi / 300 dpi  ===============================
  335.  
  336. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  337. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  338. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  339. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  340. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  341.  
  342. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  343. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  344. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  345. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  346. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  347.  
  348. *%  For 85 lpi / 600 dpi  (5,5,2,6,6,2,20/3,0) =====================
  349.  
  350. *ColorSepScreenAngle ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  351. *ColorSepScreenAngle CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  352. *ColorSepScreenAngle ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "71.5651"
  353. *ColorSepScreenAngle ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "18.4349"
  354. *ColorSepScreenAngle ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "0.0"
  355.  
  356. *ColorSepScreenFreq ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  357. *ColorSepScreenFreq CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  358. *ColorSepScreenFreq ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  359. *ColorSepScreenFreq ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  360. *ColorSepScreenFreq ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "30.0"
  361.  
  362. *ColorSepScreenProc ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "
  363. {1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch 
  364. 1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch 
  365. abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1 
  366. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  367. "
  368. *End
  369.  
  370. *%  For 71 lpi / 600 dpi  ===============================
  371.  
  372. *ColorSepScreenAngle ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  373. *ColorSepScreenAngle CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  374. *ColorSepScreenAngle ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "71.5651"
  375. *ColorSepScreenAngle ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "18.4349"
  376. *ColorSepScreenAngle ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "0.0"
  377.  
  378. *ColorSepScreenFreq ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  379. *ColorSepScreenFreq CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  380. *ColorSepScreenFreq ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  381. *ColorSepScreenFreq ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  382. *ColorSepScreenFreq ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "66.6667"
  383.  
  384. *% Converted to meet 4.0 specification
  385. *% Last Edit Date: 13 July 1993
  386.  
  387.