Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

302 lines
10 KiB

  1. *% Tektronix Tekscript(R) Printer Description File
  2. *% For Phaser-CP version v2.02
  3. *%
  4. *% Copyright 1990 Tektronix Incorporated. 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. *% The byte count of this file should be exactly 10060 or 10360
  10. *% depending on the filesystem it resides in.
  11. *%
  12. *% Date: 1/03/90
  13. *% Modified by Microsoft 1/22/99 a-roblow added LanguageLevel 1
  14. *FormatVersion: "3.0"
  15. *FileVersion: "1.0"
  16. *LanguageVersion: English
  17. *Manufacturer: "Tektronix"
  18. *Product: "(Phaser II PX)"
  19. *PSVersion: "(49.4) 0"
  20. *NickName: "Tektronix Phaser II PX"
  21. *% General Information and Defaults ===============
  22. *ColorDevice: True
  23. *LanguageLevel: "1"
  24. *% The VM is the minimal guaranteed, different installations may have more
  25. *FreeVM: "700000"
  26. *VariablePaperSize: False
  27. *FileSystem: False
  28. *Throughput: "1"
  29. *Password: "0"
  30. *ExitServer: "
  31. count 0 eq { % is the password on the stack?
  32. true
  33. }{
  34. dup % potential password
  35. statusdict begin checkpassword end not
  36. } ifelse
  37. { % if no password or not valid
  38. (WARNING : Cannot perform the exitserver command.) =
  39. (Password supplied is not valid.) =
  40. (Please contact the author of this software.) = flush
  41. quit
  42. } if
  43. serverdict begin exitserver
  44. "
  45. *End
  46. *Reset: "
  47. count 0 eq { % is the password on the stack?
  48. true
  49. }{
  50. dup % potential password
  51. statusdict begin checkpassword end not
  52. } ifelse
  53. { % if no password or not valid
  54. (WARNING : Cannot reset printer.) =
  55. (Password supplied is not valid.) =
  56. (Please contact the author of this software.) = flush
  57. quit
  58. } if
  59. serverdict begin exitserver
  60. systemdict /quit get exec
  61. (WARNING : Printer Reset Failed.) = flush
  62. "
  63. *End
  64. *DefaultResolution: 300dpi
  65. *?Resolution: "
  66. save
  67. initgraphics
  68. 0 0 moveto currentpoint matrix defaultmatrix transform
  69. 0 72 lineto currentpoint matrix defaultmatrix transform
  70. 3 -1 roll sub dup mul
  71. 3 1 roll exch sub dup mul
  72. add sqrt round cvi
  73. ( ) cvs print (dpi) = flush
  74. restore
  75. "
  76. *End
  77. *% Halftone Information ===============
  78. *ScreenFreq: "60"
  79. *ScreenAngle: "37"
  80. *DefaultScreenProc: Dot
  81. *ScreenProc Dot: "{dup mul exch dup mul add neg 1.0 add }"
  82. *ScreenProc Line: "{ pop }"
  83. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  84. *DefaultTransfer: Null
  85. *Transfer Null: "{ }"
  86. *Transfer Null.Inverse: "{ 1 exch sub }"
  87. *% Paper Handling ===================
  88. *% Use these entries to set paper size most of the time, unless there is
  89. *% specific reason to use PageRegion or PaperTray.
  90. *DefaultPageSize: Letter
  91. *PageSize Letter: "letter"
  92. *PageSize A4: "a4"
  93. *PageSize Legal: "legal"
  94. *?PageSize: "(Unknown) == flush"
  95. *% These entries will set up the frame buffer. Usually used with manual feed.
  96. *DefaultPageRegion: Letter
  97. *PageRegion Letter: "letter"
  98. *PageRegion A4: "a4"
  99. *PageRegion Legal: "legal"
  100. *% These entries will invoke a particular tray--error may occur if tray is not inserted.
  101. *% These errors should be trapped by software and a message displayed
  102. *DefaultPaperTray: None
  103. *?PaperTray: "(Unknown) == flush"
  104. *% The following entries provide information about specific paper keywords.
  105. *DefaultImageableArea: Letter
  106. *ImageableArea Letter: "13 6 599 786 "
  107. *ImageableArea A4: "13 31 582 811 "
  108. *ImageableArea Legal: "13 114 599 894 "
  109. *?ImageableArea: "
  110. save /cvp { cvi ( ) cvs print ( ) print } bind def
  111. newpath clippath pathbbox
  112. 4 -2 roll exch 2 {ceiling cvp} repeat
  113. exch 2 {floor cvp} repeat flush
  114. restore
  115. "
  116. *End
  117. *% These provide the physical dimensions of the paper (by keyword)
  118. *DefaultPaperDimension: Letter
  119. *PaperDimension Letter: "612 792"
  120. *PaperDimension A4: "595 842"
  121. *PaperDimension Legal: "612 1008"
  122. *DefaultOutputBin: OnlyOne
  123. *DefaultInputSlot: None
  124. *DefaultManualFeed: None
  125. *DefaultOutputOrder: Reverse
  126. *DefaultCollator: None
  127. *DefaultSorter: None
  128. *DefaultDuplex: None
  129. *% Font Information =====================
  130. *DefaultFont: Courier
  131. *Font AvantGarde-Book: Standard "(001.002)"
  132. *Font AvantGarde-BookOblique: Standard "(001.002)"
  133. *Font AvantGarde-Demi: Standard "(001.003)"
  134. *Font AvantGarde-DemiOblique: Standard "(001.003)"
  135. *Font Bookman-Demi: Standard "(001.001)"
  136. *Font Bookman-DemiItalic: Standard "(001.001)"
  137. *Font Bookman-Light: Standard "(001.001)"
  138. *Font Bookman-LightItalic: Standard "(001.001)"
  139. *Font Courier: Standard "(001.004)"
  140. *Font Courier-Bold: Standard "(001.004)"
  141. *Font Courier-BoldOblique: Standard "(001.004)"
  142. *Font Courier-Oblique: Standard "(001.004)"
  143. *Font Helvetica: Standard "(001.002)"
  144. *Font Helvetica-Bold: Standard "(001.002)"
  145. *Font Helvetica-BoldOblique: Standard "(001.002)"
  146. *Font Helvetica-Narrow: Standard "(001.001)"
  147. *Font Helvetica-Narrow-Bold: Standard "(001.002)"
  148. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)"
  149. *Font Helvetica-Narrow-Oblique: Standard "(001.001)"
  150. *Font Helvetica-Oblique: Standard "(001.002)"
  151. *Font NewCenturySchlbk-Bold: Standard "(001.005)"
  152. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)"
  153. *Font NewCenturySchlbk-Italic: Standard "(001.003)"
  154. *Font NewCenturySchlbk-Roman: Standard "(001.004)"
  155. *Font Palatino-Bold: Standard "(001.002)"
  156. *Font Palatino-BoldItalic: Standard "(001.002)"
  157. *Font Palatino-Italic: Standard "(001.002)"
  158. *Font Palatino-Roman: Standard "(001.001)"
  159. *Font Symbol: Special "(001.003)"
  160. *Font Times-Bold: Standard "(001.002)"
  161. *Font Times-BoldItalic: Standard "(001.004)"
  162. *Font Times-Italic: Standard "(001.002)"
  163. *Font Times-Roman: Standard "(001.002)"
  164. *Font ZapfChancery-MediumItalic: Standard "(001.003)"
  165. *Font ZapfDingbats: Special "(001.001)"
  166. *?FontQuery: "
  167. save 4 dict begin /sv exch def
  168. /str (fonts/ ) def
  169. /st2 128 string def
  170. {
  171. count 0 gt {
  172. dup st2 cvs (/) print print (:) print
  173. dup FontDirectory exch known {pop (Yes)}{
  174. str exch st2 cvs dup length /len exch def
  175. 6 exch putinterval str 0 len 6 add getinterval mark exch
  176. { } st2 filenameforall counttomark 0 gt {
  177. cleartomark (Yes)}{cleartomark (No)}ifelse
  178. }ifelse = flush
  179. }{ exit } ifelse
  180. } bind loop
  181. (*) = flush
  182. sv end restore
  183. "
  184. *End
  185. *?FontList: "
  186. save 2 dict begin /sv exch def
  187. /str 128 string def
  188. FontDirectory { pop == } bind forall flush
  189. /filenameforall where {
  190. pop save (fonts/*) {
  191. dup length 6 sub 6 exch getinterval cvn ==
  192. } bind str filenameforall flush restore
  193. } if
  194. (*) = flush
  195. sv end restore
  196. "
  197. *End
  198. *% Printer Messages (verbatim from printer):
  199. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  200. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  201. *Message: "\FontName\ not found, using Courier"
  202. *% Status (format: %%[ status: <one of these> ]%% )
  203. *Status: "idle"
  204. *Status: "busy"
  205. *Status: "waiting"
  206. *Status: "printing"
  207. *Status: "warming up"
  208. *Status: "initializing"
  209. *Status: "printing test page"
  210. *Status: "PrinterError: end of ribbon"
  211. *Status: "PrinterError: out of paper"
  212. *Status: "PrinterError: printer fault"
  213. *Status: "PrinterError: printer offline"
  214. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  215. *% Please edit list below and remove % from each line as appropriate:
  216. *Source: "com"
  217. *Source: "lpt"
  218. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  219. *PrinterError: "output hardware fault (see manual)"
  220. *PrinterError: "printer not responding"
  221. *PrinterError: "interface fault (see manual)"
  222. *PrinterError: "printer disconnected or power off"
  223. *PrinterError: "printer disconnected"
  224. *PrinterError: "printer power off"
  225. *PrinterError: "error code xx (see manual)"
  226. *PrinterError: "resetting printer"
  227. *PrinterError: "warming up"
  228. *PrinterError: "error code xxxxxxx (see manual)"
  229. *PrinterError: "printer out of memory"
  230. *PrinterError: "printer hard fault (see manual)"
  231. *PrinterError: "printer timed out"
  232. *PrinterError: "out of ribbon"
  233. *PrinterError: "out of paper"
  234. *PrinterError: "cover open"
  235. *PrinterError: "printer reports failure (see manual)"
  236. *PrinterError: "head temperature (see manual)"
  237. *PrinterError: "ribbon jam"
  238. *PrinterError: "paper jam"
  239. *PrinterError: "paper entry misfeed"
  240. *PrinterError: "non-fatal internal error (see manual)"
  241. *PrinterError: "printer not ready"
  242. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  243. *% Color Separation Information =====================
  244. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  245. *InkName: ProcessBlack/Process Black
  246. *InkName: CustomColor/Custom Color
  247. *InkName: ProcessCyan/Process Cyan
  248. *InkName: ProcessMagenta/Process Magenta
  249. *InkName: ProcessYellow/Process Yellow
  250. *% For 60 lpi / 300 dpi =====================================================
  251. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  252. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  253. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  254. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  255. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  256. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  257. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  258. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  259. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  260. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  261. *% For 57 lpi / 300 dpi =====================================================
  262. *ColorSepScreenAngle ProcessBlack.57lpi.300dpi/57 lpi / 300 dpi: "45.0"
  263. *ColorSepScreenAngle CustomColor.57lpi.300dpi/57 lpi / 300 dpi: "45.0"
  264. *ColorSepScreenAngle ProcessCyan.57lpi.300dpi/57 lpi / 300 dpi: "71.5651"
  265. *ColorSepScreenAngle ProcessMagenta.57lpi.300dpi/57 lpi / 300 dpi: "18.4349"
  266. *ColorSepScreenAngle ProcessYellow.57lpi.300dpi/57 lpi / 300 dpi: "0.0"
  267. *ColorSepScreenFreq ProcessBlack.57lpi.300dpi/57 lpi / 300 dpi: "53.033"
  268. *ColorSepScreenFreq CustomColor.57lpi.300dpi/57 lpi / 300 dpi: "53.033"
  269. *ColorSepScreenFreq ProcessCyan.57lpi.300dpi/57 lpi / 300 dpi: "47.4342"
  270. *ColorSepScreenFreq ProcessMagenta.57lpi.300dpi/57 lpi / 300 dpi: "47.4342"
  271. *ColorSepScreenFreq ProcessYellow.57lpi.300dpi/57 lpi / 300 dpi: "50.0"
  272. *% end of PPD file for Tektronix Phaser-CP