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.

378 lines
12 KiB

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems Printer Description File
  3. *% For "QMS ColorScript 1000 Level 1" version 52.4
  4. *% Produced by QMS Inc.
  5. *% Date: 8/3/93
  6. *FormatVersion: "4.0"
  7. *FileVersion: "1.0"
  8. *LanguageVersion: English
  9. *PCFileName: "QCS10001.PPD"
  10. *Product: "(QMS ColorScript Laser 1000)"
  11. *PSVersion: "(52.4) 15"
  12. *ModelName: "ColorScript 1000 Level 1"
  13. *NickName: "ColorScript 1000 Level 1"
  14. *% QMS Defaults ==========
  15. *EndOfDocument: True
  16. *% ADORequiresEExec added by Microsoft
  17. *ADORequiresEExec: True
  18. *% General Information and Defaults ===============
  19. *LanguageLevel: "1"
  20. *AcceptsTrueType: True
  21. *FreeVM: "439330"
  22. *ColorDevice: True
  23. *VariablePaperSize: False
  24. *FileSystem: True
  25. *?FileSystem: "/initializedisk where{pop(True)}{(False)} ifelse = flush"
  26. *Throughput: "2"
  27. *Password: "0"
  28. *ExitServer: "
  29. count 0 eq { % is the password on the stack?
  30. true
  31. }{
  32. dup % potential password
  33. statusdict begin checkpassword end not
  34. } ifelse
  35. { % if no password or not valid
  36. (WARNING : Cannot perform the exitserver command.) =
  37. (Password supplied is not valid.) =
  38. (Please contact the author of this software.) = flush
  39. quit
  40. } if
  41. serverdict begin exitserver
  42. "
  43. *End
  44. *Reset: "(WARNING : Cannot reset printer.) = "
  45. *OpenUI *Colormodel/Colormodels: PickOne
  46. *OrderDependency: 50 AnySetup *Colormodel
  47. *DefaultColormodel: 2
  48. *Colormodel 1/Gray:"%%IncludeFeature: colormodel(graymodel)"
  49. *Colormodel 2/CMYK:"%%IncludeFeature: colormodel(cmyk)"
  50. *CloseUI: *Colormodel
  51. *DefaultColorSeparation: False
  52. *?ColorSeparation: "
  53. statusdict /ColorSeparation get
  54. {(True)}{(False)}ifelse = flush"
  55. *End
  56. *ColorSeparation True: "statusdict begin /ColorSeparation true store end"
  57. *ColorSeparation False: "statusdict begin /ColorSeparation false store end"
  58. *DefaultResolution: 300dpi
  59. *?Resolution: "
  60. save
  61. initgraphics
  62. 0 0 moveto currentpoint matrix defaultmatrix transform
  63. 0 72 lineto currentpoint matrix defaultmatrix transform
  64. 3 -1 roll sub dup mul
  65. 3 1 roll exch sub dup mul
  66. add sqrt round cvi
  67. ( ) cvs print (dpi) = flush
  68. restore
  69. "
  70. *End
  71. *% Halftone Information ===============
  72. *ScreenFreq: "53.0"
  73. *ScreenAngle: "45.0"
  74. *DefaultScreenProc: Dot
  75. *ScreenProc Dot: "
  76. { 1.4 0.24
  77. { 2
  78. { 3 1 --roll-- --add-- --dup-- 1.0 --gt-- { 2.0 --sub-- } --if--
  79. } --repeat--
  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. } --exec--
  85. }
  86. "
  87. *End
  88. *ScreenProc Line: "{ pop }"
  89. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  90. *DefaultTransfer: Null
  91. *Transfer Null: "{ }"
  92. *Transfer Null.Inverse: "{ 1 exch sub }"
  93. *% Paper Handling ===================
  94. *% Use these entries to set paper size most of the time, unless there is
  95. *% specific reason to use PageRegion or PaperTray.
  96. *DefaultPageSize: Letter
  97. *PageSize Letter: "statusdict begin lettertray end"
  98. *PageSize Legal: "statusdict begin legaltray end"
  99. *PageSize A4: "statusdict begin a4tray end"
  100. *PageSize Executive: "statusdict begin executivetray end"
  101. *?PageSize: "
  102. save statusdict begin
  103. 12 dict begin
  104. /lettertray (Letter) def
  105. /legaltray (Legal) def
  106. /a4tray (A4) def
  107. /executivetray (Executive) def
  108. papersize {
  109. {load exec} stopped not{= flush}if
  110. }{
  111. {load exec} stopped not{print (.Transverse) = flush}{(Unknown) = flush}ifelse
  112. }ifelse
  113. end
  114. end restore
  115. "
  116. *End
  117. *% These entries will set up the frame buffer. Usually used with manual feed.
  118. *DefaultPageRegion: Letter
  119. *PageRegion Letter: "letter"
  120. *PageRegion Legal: "legal"
  121. *PageRegion A4: "a4"
  122. *PageRegion Executive: "executivepage"
  123. *% These entries will invoke a particular tray--error may occur if tray is not inserted.
  124. *% These errors should be trapped by software and a message displayed
  125. *DefaultPaperTray: Letter
  126. *PaperTray Letter: "statusdict begin lettertray end"
  127. *PaperTray Legal: "statusdict begin legaltray end"
  128. *PaperTray A4: "statusdict begin a4tray end"
  129. *PaperTray Executive: "statusdict begin executivetray end"
  130. *?PaperTray: "
  131. save statusdict begin
  132. 20 dict begin
  133. /lettertray (Letter) def
  134. /legaltray (Legal) def
  135. /a4tray (A4) def
  136. /executive (Executive) def
  137. papersize {
  138. {load exec} stopped not{= flush}if
  139. }{
  140. {load exec} stopped not{print (.Transverse) = flush}if
  141. }ifelse
  142. end
  143. end restore
  144. "
  145. *End
  146. *% The following entries provide information about specific paper keywords.
  147. *DefaultImageableArea: Letter
  148. *ImageableArea Letter: "15 15 598 777"
  149. *ImageableArea Legal: "15 15 598 993"
  150. *ImageableArea A4: "15 15 580 827"
  151. *ImageableArea Executive: "15 15 507 741"
  152. *?ImageableArea: "
  153. save /cvp { cvi ( ) cvs print ( ) print } bind def
  154. newpath clippath pathbbox
  155. 4 -2 roll exch 2 {ceiling cvp} repeat
  156. exch 2 {floor cvp} repeat flush
  157. restore
  158. "
  159. *End
  160. *% These provide the physical dimensions of the paper (by keyword)
  161. *DefaultPaperDimension: Letter
  162. *PaperDimension Letter: "612 792"
  163. *PaperDimension Legal: "612 1008"
  164. *PaperDimension A4: "595 842"
  165. *PaperDimension Executive: "522 757"
  166. *DefaultInputSlot: Upper
  167. *InputSlot Upper: "statusdict begin 1 setpapertray end"
  168. *InputSlot Lower: "statusdict begin 2 setpapertray end"
  169. *?InputSlot: "
  170. save statusdict begin
  171. 2 dict begin
  172. /1 (Upper) def
  173. /2 (Lower) def
  174. papertray
  175. {( ) cvs cvn load exec} stopped not{= flush}if
  176. end
  177. end restore
  178. "
  179. *End
  180. *DefaultOutputBin: Upper
  181. *DefaultManualFeed: False
  182. *?ManualFeed: "
  183. statusdict /manualfeed get
  184. {(True)}{(False)}ifelse = flush"
  185. *End
  186. *ManualFeed True: "statusdict begin /manualfeed true store end"
  187. *ManualFeed False: "statusdict begin /manualfeed false store end"
  188. *DefaultOutputOrder: Reverse
  189. *DefaultCollator: None
  190. *DefaultSorter: None
  191. *DefaultDuplex: None
  192. *% Font Information =====================
  193. *DefaultFont: Courier
  194. *Font AvantGarde-Book: Standard "(001.006)"
  195. *Font AvantGarde-BookOblique: Standard "(001.006)"
  196. *Font AvantGarde-Demi: Standard "(001.007)"
  197. *Font AvantGarde-DemiOblique: Standard "(001.007)"
  198. *Font Bookman-Demi: Standard "(001.003)"
  199. *Font Bookman-DemiItalic: Standard "(001.003)"
  200. *Font Bookman-Light: Standard "(001.003)"
  201. *Font Bookman-LightItalic: Standard "(001.003)"
  202. *Font Courier: Standard "(002.004)"
  203. *Font Courier-Bold: Standard "(002.004)"
  204. *Font Courier-BoldOblique: Standard "(002.004)"
  205. *Font Courier-Oblique: Standard "(002.004)"
  206. *Font Helvetica: Standard "(001.006)"
  207. *Font Helvetica-Bold: Standard "(001.007)"
  208. *Font Helvetica-BoldOblique: Standard "(001.007)"
  209. *Font Helvetica-Condensed: Standard "(001.001)"
  210. *Font Helvetica-Condensed-Bold: Standard "(001.002)"
  211. *Font Helvetica-Condensed-BoldObl: Standard "(001.002)"
  212. *Font Helvetica-Condensed-Oblique: Standard "(001.001)"
  213. *Font Helvetica-Narrow: Standard "(001.006)"
  214. *Font Helvetica-Narrow-Bold: Standard "(001.007)"
  215. *Font Helvetica-Narrow-BoldOblique: Standard "(001.007)"
  216. *Font Helvetica-Narrow-Oblique: Standard "(001.006)"
  217. *Font Helvetica-Oblique: Standard "(001.006)"
  218. *Font NewCenturySchlbk-Bold: Standard "(001.009)"
  219. *Font NewCenturySchlbk-BoldItalic: Standard "(001.007)"
  220. *Font NewCenturySchlbk-Italic: Standard "(001.006)"
  221. *Font NewCenturySchlbk-Roman: Standard "(001.007)"
  222. *Font Palatino-Bold: Standard "(001.005)"
  223. *Font Palatino-BoldItalic: Standard "(001.005)"
  224. *Font Palatino-Italic: Standard "(001.005)"
  225. *Font Palatino-Roman: Standard "(001.005)"
  226. *Font Symbol: Special "(001.007)"
  227. *Font Times-Bold: Standard "(001.007)"
  228. *Font Times-BoldItalic: Standard "(001.009)"
  229. *Font Times-Italic: Standard "(001.007)"
  230. *Font Times-Roman: Standard "(001.007)"
  231. *Font ZapfChancery-MediumItalic: Standard "(001.007)"
  232. *Font ZapfDingbats: Special "(001.004)"
  233. *Font Aachen-Bold: Standard "(001.001)"
  234. *Font BrushScript: Standard "(001.001)"
  235. *Font Cooper-Black: Standard "(001.001)"
  236. *Font CooperBlack-Italic: Standard "(001.001)"
  237. *Font FreestyleScript: Standard "(001.001)"
  238. *Font Garamond-Bold: Standard "(001.001)"
  239. *Font Garamond-BoldItalic: Standard "(001.001)"
  240. *Font Garamond-Light: Standard "(001.001)"
  241. *Font Garamond-LightItalic: Standard "(001.001)"
  242. *Font Helvetica-Black: Standard "(001.001)"
  243. *Font Helvetica-BlackOblique: Standard "(001.001)"
  244. *Font Helvetica-Light: Standard "(001.001)"
  245. *Font Helvetica-LightOblique: Standard "(001.001)"
  246. *Font Hobo: Standard "(001.001)"
  247. *Font LetterGothic: Standard "(001.001)"
  248. *Font LetterGothic-Bold: Standard "(001.001)"
  249. *Font LetterGothic-BoldSlanted: Standard "(001.001)"
  250. *Font LetterGothic-Slanted: Standard "(001.001)"
  251. *Font Optima: Standard "(001.001)"
  252. *Font Optima-Bold: Standard "(001.001)"
  253. *Font Optima-BoldOblique: Standard "(001.001)"
  254. *Font Optima-Oblique: Standard "(001.001)"
  255. *Font ParkAvenue: Standard "(001.001)"
  256. *Font Revue: Standard "(001.001)"
  257. *Font Stencil: Standard "(001.001)"
  258. *Font UniversityRoman: Standard "(001.001)"
  259. *?FontQuery: "
  260. save 4 dict begin /sv exch def
  261. /str (fonts/ ) def
  262. /st2 128 string def
  263. {
  264. count 0 gt {
  265. dup st2 cvs (/) print print (:) print
  266. dup FontDirectory exch known {pop (Yes)}{
  267. str exch st2 cvs dup length /len exch def
  268. 6 exch putinterval str 0 len 6 add getinterval mark exch
  269. { } st2 filenameforall counttomark 0 gt {
  270. cleartomark (Yes)}{cleartomark (No)}ifelse
  271. }ifelse = flush
  272. }{ exit } ifelse
  273. } bind loop
  274. (*) = flush
  275. sv end restore
  276. "
  277. *End
  278. *?FontList: "
  279. save 2 dict begin /sv exch def
  280. /str 128 string def
  281. FontDirectory { pop == } bind forall flush
  282. /filenameforall where {
  283. pop save (fonts/*) {
  284. dup length 6 sub 6 exch getinterval cvn ==
  285. } bind str filenameforall flush restore
  286. } if
  287. (*) = flush
  288. sv end restore
  289. "
  290. *End
  291. *% Printer Messages (verbatim from printer):
  292. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  293. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  294. *Message: "\FontName\ not found, using Courier"
  295. *% Status (format: %%[ status: <one of these> ]%% )
  296. *Status: "idle"
  297. *Status: "busy"
  298. *Status: "waiting"
  299. *Status: "printing"
  300. *Status: "warming up"
  301. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  302. *Source: "serial25"
  303. *Source: "AppleTalk"
  304. *Source: "Centronics"
  305. *Source: "other"
  306. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  307. *DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  308. *% Color Separation Information =====================
  309. *DefaultColorSep: ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi
  310. *InkName: ProcessBlack/Process Black
  311. *InkName: CustomColor/Custom Color
  312. *InkName: ProcessCyan/Process Cyan
  313. *InkName: ProcessMagenta/Process Magenta
  314. *InkName: ProcessYellow/Process Yellow
  315. *% For 60 lpi / 300 dpi ===============================
  316. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  317. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  318. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  319. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  320. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  321. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  322. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  323. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  324. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  325. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  326. *% For 53 lpi / 300 dpi ===============================
  327. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  328. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  329. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  330. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  331. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  332. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  333. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  334. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  335. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  336. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  337. *% end of PPD file for Oscar