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.

418 lines
14 KiB

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% For "QMS 420 Print System " versions 2011.21
  4. *% Date: 1/30/93
  5. *FormatVersion: "4.0"
  6. *FileVersion: "1.0"
  7. *PCFileName: "QMS420.PPD"
  8. *LanguageVersion: English
  9. *Product: "(QMS 420 Print System)"
  10. *PSVersion: "(2011.22) 15"
  11. *ModelName: "QMS 420 Print System"
  12. *NickName: "QMS 420 Print System v2011.22 r15"
  13. *% ADORequiresEExec added by Microsoft
  14. *ADORequiresEExec: True
  15. *% ==== Options and Constraints ====
  16. *OpenGroup: InstallableOptions/Options Installed
  17. *OpenUI *Option1/Optional Input Tray: Boolean
  18. *DefaultOption1: False
  19. *Option1 True/Installed: ""
  20. *Option1 False/Not Installed: ""
  21. *CloseUI: *Option1
  22. *CloseGroup: InstallableOptions
  23. *UIConstraints: *Option1 False *InputSlot Lower
  24. *% General Information and Defaults ===============
  25. *FreeVM: "1169523"
  26. *LanguageLevel: "2"
  27. *ColorDevice: False
  28. *DefaultColorSpace: Gray
  29. *VariablePaperSize: False
  30. *FileSystem: True
  31. *?FileSystem: "
  32. statusdict begin diskonline
  33. {(True)}{(False)} ifelse = flush end"
  34. *End
  35. *Throughput: "4"
  36. *Password: "0"
  37. *ExitServer: "
  38. count 0 eq { % is the password on the stack?
  39. true
  40. }{
  41. dup % potential password
  42. statusdict begin checkpassword end not
  43. } ifelse
  44. { % if no password or not valid
  45. (WARNING : Cannot perform the exitserver command.) =
  46. (Password supplied is not valid.) =
  47. (Please contact the author of this software.) = flush
  48. quit
  49. } if
  50. serverdict begin exitserver
  51. "
  52. *End
  53. *Reset: "(WARNING : Cannot reset printer.) = "
  54. *OpenUI *Resolution: PickOne
  55. *OrderDependency: 10 AnySetup *Resolution
  56. *DefaultResolution: 300dpi
  57. *SetResolution 300dpi: "
  58. serverdict begin 0 exitserver
  59. statusdict begin 300 setdefaultresolution end
  60. "
  61. *End
  62. *SetResolution 600dpi: "
  63. serverdict begin 0 exitserver
  64. statusdict begin 600 setdefaultresolution end
  65. "
  66. *End
  67. *SetJobResolution 300x300dpi: "statusdict begin 300 setresolution end"
  68. *SetJobResolution 600x600dpi: "statusdict begin 600 setresolution end"
  69. *?Resolution: "
  70. save
  71. statusdict begin resolution end
  72. 128 string cvs dup print (x) print print (dpi) = flush
  73. restore
  74. "
  75. *End
  76. *CloseUI: *Resolution
  77. *% Halftone Information ===============
  78. *ScreenFreq: "60.0"
  79. *ScreenAngle: "45.0"
  80. *DefaultScreenProc: Dot
  81. *ScreenProc Dot: " {
  82. abs exch abs 2 copy add 1 gt
  83. {1 sub dup mul exch 1 sub dup mul add 1 sub }
  84. {dup mul exch dup mul add 1 exch sub }
  85. ifelse
  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. *OpenUI *PageSize: PickOne
  95. *OrderDependency: 30 AnySetup *PageSize
  96. *DefaultPageSize: Letter
  97. *PageSize Letter: "statusdict begin lettertray end"
  98. *PageSize Legal: "statusdict begin legaltray end"
  99. *PageSize Executive: "statusdict begin executivetray end"
  100. *PageSize A4: "statusdict begin a4tray end"
  101. *PageSize B5: "statusdict begin b5tray end"
  102. *PageSize Envelope.279.540/Monarch Envelope: "statusdict begin envelopetray monarcenvelope end"
  103. *PageSize Envelope.297.684/Common #10 Envelope: "statusdict begin envelopetray com10envelope end"
  104. *PageSize Envelope.312.624/DL Envelope: "statusdict begin envelopetray dlenvelope end"
  105. *PageSize Envelope.459.649/C5 Envelope: "statusdict begin envelopetray c5envelope end"
  106. *PageSize Envelope.279.639/Com9 Envelope: "statusdict begin envelopetray com9envelope end"
  107. *?PageSize: "
  108. save statusdict begin
  109. 6 dict begin
  110. /letter (Letter) def
  111. /legal (Legal) def
  112. /a4 (A4) def
  113. /b5 (B5) def
  114. /executivepage (Executive) def
  115. /envelope (Envelope) def
  116. papersize {
  117. {load exec} stopped not{= flush}if
  118. }{
  119. {load exec} stopped not{print (.Transverse) = flush}{(Unknown) = flush}ifelse
  120. }ifelse
  121. end
  122. end restore
  123. "
  124. *End
  125. *CloseUI: PageSize
  126. *% These entries will set up the frame buffer. Usually used with manual feed.
  127. *OpenUI *PageRegion: PickOne
  128. *OrderDependency: 40 AnySetup *PageRegion
  129. *DefaultPageRegion: Letter
  130. *PageRegion Letter: "letter"
  131. *PageRegion Legal: "legal"
  132. *PageRegion Executive: "statusdict begin executivepage end"
  133. *PageRegion A4: "a4"
  134. *PageRegion B5: "b5"
  135. *PageRegion Envelope.279.540/Monarch Envelope: "statusdict begin monarcenvelope end"
  136. *PageRegion Envelope.297.684/Common #10 Envelope: "statusdict begin com10envelope end"
  137. *PageRegion Envelope.312.624/DL Envelope: "statusdict begin dlenvelope end"
  138. *PageRegion Envelope.459.649/C5 Envelope: "statusdict begin c5envelope end"
  139. *PageRegion Envelope.279.639/Com9 Envelope: "statusdict begin com9envelope end"
  140. *CloseUI: *PageRegion
  141. *% The following entries provide information about specific paper keywords.
  142. *DefaultImageableArea: Letter
  143. *ImageableArea Letter: "15 13 597 780 "
  144. *ImageableArea Legal: "15 14 589 995 "
  145. *ImageableArea Executive: "18 18 503 738"
  146. *ImageableArea A4: "16 11 579 831 "
  147. *ImageableArea B5: "18 12 497 717 "
  148. *ImageableArea Envelope.279.540/Monarch Envelope: "1 1 279 540"
  149. *ImageableArea Envelope.297.684/Common #10 Envelope: "1 1 297 684"
  150. *ImageableArea Envelope.312.624/DL Envelope: "1 1 312 623"
  151. *ImageableArea Envelope.459.649/C5 Envelope: "1 1 459 649"
  152. *ImageableArea Envelope.279.639/Com9 Envelope: "1 1 279 639"
  153. *?ImageableArea: "
  154. save /cvp { cvi ( ) cvs print ( ) print } bind def
  155. newpath clippath pathbbox
  156. 4 -2 roll exch 2 {ceiling cvp} repeat
  157. exch 2 {floor cvp} repeat flush
  158. restore
  159. "
  160. *End
  161. *% These provide the physical dimensions of the paper (by keyword)
  162. *DefaultPaperDimension: Letter
  163. *PaperDimension Letter: "612 792"
  164. *PaperDimension Legal: "612 1008"
  165. *PaperDimension Executive: "540 756"
  166. *PaperDimension A4: "596 842"
  167. *PaperDimension B5: "516 729"
  168. *PaperDimension Envelope.279.540/Monarch Envelope: "279 540"
  169. *PaperDimension Envelope.297.684/Common #10 Envelope: "297 684"
  170. *PaperDimension Envelope.312.624/DL Envelope: "312 624"
  171. *PaperDimension Envelope.459.649/C5 Envelope: "459 649"
  172. *PaperDimension Envelope.279.639/Com9 Envelope: "279 639"
  173. *DefaultOutputBin: Upper
  174. *OpenUI *InputSlot: PickOne
  175. *OrderDependency: 20 AnySetup *InputSlot
  176. *DefaultInputSlot: Upper
  177. *InputSlot Lower: "statusdict begin 2 setpapertray end"
  178. *InputSlot Upper: "statusdict begin 1 setpapertray end"
  179. *%End
  180. *?InputSlot: "
  181. save statusdict begin
  182. 2 dict begin
  183. /2 (Lower) def
  184. /1 (Upper) def
  185. papertray
  186. {( ) cvs cvn load exec} stopped not{= flush}if
  187. end
  188. end restore
  189. "
  190. *End
  191. *CloseUI: *InputSlot
  192. *OpenUI *ManualFeed: Boolean
  193. *OrderDependency: 20 AnySetup *ManualFeed
  194. *DefaultManualFeed: False
  195. *ManualFeed True: "statusdict begin /manualfeed true store end"
  196. *ManualFeed False: "statusdict begin /manualfeed false store end"
  197. *?ManualFeed: "
  198. statusdict /manualfeed get
  199. {(True)}{(False)}ifelse = flush"
  200. *End
  201. *CloseUI: *ManualFeed
  202. *DefaultOutputOrder: Normal
  203. *% Font Information =====================
  204. *DefaultFont: Courier
  205. *Font AvantGarde-Book: Standard "(001.002)"
  206. *Font AvantGarde-BookOblique: Standard "(001.002)"
  207. *Font AvantGarde-Demi: Standard "(001.003)"
  208. *Font AvantGarde-DemiOblique: Standard "(001.003)"
  209. *Font Bookman-Demi: Standard "(001.001)"
  210. *Font Bookman-DemiItalic: Standard "(001.001)"
  211. *Font Bookman-Light: Standard "(001.001)"
  212. *Font Bookman-LightItalic: Standard "(001.001)"
  213. *Font Courier: Standard "(001.005)"
  214. *Font Courier-Bold: Standard "(001.005)"
  215. *Font Courier-BoldOblique: Standard "(001.005)"
  216. *Font Courier-Oblique: Standard "(001.005)"
  217. *Font Helvetica: Standard "(001.002)"
  218. *Font Helvetica-Bold: Standard "(001.002)"
  219. *Font Helvetica-BoldOblique: Standard "(001.002)"
  220. *Font Helvetica-Condensed: Standard "(001.001)"
  221. *Font Helvetica-Condensed-Bold: Standard "(001.002)"
  222. *Font Helvetica-Condensed-BoldObl: Standard "(001.002)"
  223. *Font Helvetica-Condensed-Oblique: Standard "(001.001)"
  224. *Font Helvetica-Narrow: Standard "(001.002)"
  225. *Font Helvetica-Narrow-Bold: Standard "(001.002)"
  226. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)"
  227. *Font Helvetica-Narrow-Oblique: Standard "(001.002)"
  228. *Font Helvetica-Oblique: Standard "(001.002)"
  229. *Font NewCenturySchlbk-Bold: Standard "(001.007)"
  230. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)"
  231. *Font NewCenturySchlbk-Italic: Standard "(001.003)"
  232. *Font NewCenturySchlbk-Roman: Standard "(001.004)"
  233. *Font Palatino-Bold: Standard "(001.002)"
  234. *Font Palatino-BoldItalic: Standard "(001.002)"
  235. *Font Palatino-Italic: Standard "(001.002)"
  236. *Font Palatino-Roman: Standard "(001.001)"
  237. *Font Symbol: Special "(001.003)"
  238. *Font Times-Bold: Standard "(001.002)"
  239. *Font Times-BoldItalic: Standard "(001.004)"
  240. *Font Times-Italic: Standard "(001.002)"
  241. *Font Times-Roman: Standard "(001.002)"
  242. *Font ZapfChancery-MediumItalic: Standard "(001.003)"
  243. *Font ZapfDingbats: Special "(001.002)"
  244. *?FontQuery: "
  245. save 4 dict begin /sv exch def
  246. /str (fonts/ ) def
  247. /st2 128 string def
  248. {
  249. count 0 gt {
  250. dup st2 cvs (/) print print (:) print
  251. dup FontDirectory exch known {pop (Yes)}{
  252. str exch st2 cvs dup length /len exch def
  253. 6 exch putinterval str 0 len 6 add getinterval mark exch
  254. { } st2 filenameforall counttomark 0 gt {
  255. cleartomark (Yes)}{cleartomark (No)}ifelse
  256. }ifelse = flush
  257. }{ exit } ifelse
  258. } bind loop
  259. (*) = flush
  260. sv end restore
  261. "
  262. *End
  263. *?FontList: "
  264. save 2 dict begin /sv exch def
  265. /str 128 string def
  266. FontDirectory { pop == } bind forall flush
  267. /filenameforall where {
  268. pop save (fonts/*) {
  269. dup length 6 sub 6 exch getinterval cvn ==
  270. } bind str filenameforall flush restore
  271. } if
  272. (*) = flush
  273. sv end restore
  274. "
  275. *End
  276. *% Printer Messages (verbatim from printer):
  277. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  278. *Message: "%%[ Flushing until EOF seen ]%%"
  279. *Message: "%%[WARNING: Font \FontName\ not found, substituting Courier.]%%"
  280. *Message: "%%[ Initializing... ]%%"
  281. *% Status (format: %%[ status: <one of these> ]%% )
  282. *Status: "idle"
  283. *Status: "busy"
  284. *Status: "waiting"
  285. *Status: "printing"
  286. *Status: "warming up"
  287. *Status: "Initializing"
  288. *Status: "printing startup page"
  289. *Status: "printing test page"
  290. *Status: "PrinterError: no paper tray"
  291. *Status: "PrinterError: service call"
  292. *Status: "PrinterError: no toner cartridge"
  293. *Status: "PrinterError: cover open"
  294. *Status: "PrinterError: paper entry misfeed"
  295. *Status: "PrinterError: manual feed"
  296. *Status: "PrinterError: out of paper"
  297. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  298. *Source: "serial25"
  299. *Source: "appletalk"
  300. *Source: "Centronics"
  301. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  302. *PrinterError: "no paper tray"
  303. *PrinterError: "service call"
  304. *PrinterError: "no toner cartridge"
  305. *PrinterError: "cover open"
  306. *PrinterError: "paper entry misfeed"
  307. *PrinterError: "manual feed"
  308. *PrinterError: "out of paper"
  309. *DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  310. *% Color Separation Information =====================
  311. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  312. *InkName: ProcessBlack/Process Black
  313. *InkName: CustomColor/Custom Color
  314. *InkName: ProcessCyan/Process Cyan
  315. *InkName: ProcessMagenta/Process Magenta
  316. *InkName: ProcessYellow/Process Yellow
  317. *% For 60 lpi / 300 dpi ===============================
  318. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  319. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  320. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  321. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  322. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  323. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  324. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  325. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  326. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  327. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  328. *% For 53 lpi / 300 dpi ===============================
  329. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  330. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  331. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  332. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  333. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  334. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  335. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  336. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  337. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  338. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  339. *% For 85 lpi / 600 dpi (5,5,2,6,6,2,20/3,0) =====================
  340. *ColorSepScreenAngle ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  341. *ColorSepScreenAngle CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  342. *ColorSepScreenAngle ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "71.5651"
  343. *ColorSepScreenAngle ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "18.4349"
  344. *ColorSepScreenAngle ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "0.0"
  345. *ColorSepScreenFreq ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  346. *ColorSepScreenFreq CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  347. *ColorSepScreenFreq ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  348. *ColorSepScreenFreq ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  349. *ColorSepScreenFreq ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "30.0"
  350. *ColorSepScreenProc ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "
  351. {1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  352. 1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  353. abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  354. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  355. "
  356. *End
  357. *% For 71 lpi / 600 dpi ===============================
  358. *ColorSepScreenAngle ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  359. *ColorSepScreenAngle CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  360. *ColorSepScreenAngle ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "71.5651"
  361. *ColorSepScreenAngle ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "18.4349"
  362. *ColorSepScreenAngle ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "0.0"
  363. *ColorSepScreenFreq ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  364. *ColorSepScreenFreq CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  365. *ColorSepScreenFreq ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  366. *ColorSepScreenFreq ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  367. *ColorSepScreenFreq ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "66.6667"
  368. *% end of PPD file for QMS 420