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.

399 lines
14 KiB

  1. *PPD-Adobe: "4.0"
  2. *% QMS Inc. PostScript(R) Printer Description File
  3. *FormatVersion: "4.0"
  4. *FileVersion: "1.0"
  5. *PCFileName: "QMS860.PPD"
  6. *LanguageVersion: English
  7. *Product: "(QMS 860 Print System)"
  8. *PSVersion: "(2011.22) 15"
  9. *ModelName: "QMS 860 Print System"
  10. *NickName: "QMS 860 Print System v2011.22 r15"
  11. *ShortNickNanme: "QMS 860 Print System r15"
  12. *ADORequiresEExec: True
  13. *% ==== Options and Constraints ====
  14. *OpenGroup: InstallableOptions/Options Installed
  15. *OpenUI *Option1/Optional Input Tray: Boolean
  16. *DefaultOption1: False
  17. *Option1 True/Installed: ""
  18. *Option1 False/Not Installed: ""
  19. *CloseUI: *Option1
  20. *CloseGroup: InstallableOptions
  21. *UIConstraints: *Option1 False *InputSlot 3
  22. *% General Information and Defaults ===============
  23. *FreeVM: "1169523"
  24. *LanguageLevel: "2"
  25. *ColorDevice: False
  26. *DefaultColorSpace: Gray
  27. *VariablePaperSize: False
  28. *FileSystem: True
  29. *?FileSystem: "
  30. statusdict begin diskonline
  31. {(True)}{(False)} ifelse = flush end"
  32. *End
  33. *Throughput: "8"
  34. *Password: "0"
  35. *ExitServer: "
  36. count 0 eq { % is the password on the stack?
  37. true
  38. }{
  39. dup % potential password
  40. statusdict begin checkpassword end not
  41. } ifelse
  42. { % if no password or not valid
  43. (WARNING : Cannot perform the exitserver command.) =
  44. (Password supplied is not valid.) =
  45. (Please contact the author of this software.) = flush
  46. quit
  47. } if
  48. serverdict begin exitserver
  49. "
  50. *End
  51. *Reset: "(WARNING : Cannot reset printer.) = "
  52. *OpenUI *Resolution: PickOne
  53. *OrderDependency: 10 AnySetup *Resolution
  54. *DefaultResolution: 600dpi
  55. *Resolution 300dpi: "statusdict begin 300 setresolution end"
  56. *Resolution 600dpi: "statusdict begin 600 setresolution end"
  57. *?Resolution: "
  58. save
  59. statusdict begin resolution end
  60. 128 string cvs dup print (x) print print (dpi) = flush
  61. restore
  62. "
  63. *End
  64. *CloseUI: *Resolution
  65. *% Halftone Information ===============
  66. *ScreenFreq: "60.0"
  67. *ScreenAngle: "45.0"
  68. *DefaultScreenProc: Dot
  69. *ScreenProc Dot: " {
  70. abs exch abs 2 copy add 1 gt
  71. {1 sub dup mul exch 1 sub dup mul add 1 sub }
  72. {dup mul exch dup mul add 1 exch sub }
  73. ifelse
  74. }"
  75. *End
  76. *ScreenProc Line: "{ pop }"
  77. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  78. *DefaultTransfer: Null
  79. *Transfer Null: "{ }"
  80. *Transfer Null.Inverse: "{ 1 exch sub }"
  81. *% Paper Handling ===================
  82. *OpenUI *PageSize: PickOne
  83. *OrderDependency: 30 AnySetup *PageSize
  84. *DefaultPageSize: Letter
  85. *PageSize Letter/Letter 8 1/2 x 11 in: "statusdict begin lettertray end"
  86. *PageSize Executive/Executive: "statusdict begin executivetray end"
  87. *PageSize Legal/Legal 8 1/2 x 14 in: "statusdict begin legaltray end"
  88. *PageSize Tabloid/Tabloid 11 x 17 in: "statusdict begin 11x17tray end"
  89. *PageSize Universal/Universal 11.7 x 17 in: "statusdict begin universaltray end"
  90. *PageSize A3/A3 297 x 420 mm: "statusdict begin a3tray end"
  91. *PageSize A4/A4 210 x 297 mm: "statusdict begin a4tray end"
  92. *PageSize A5/A5 148 x 210 mm: "statusdict begin a5tray end"
  93. *PageSize A6/A6 105 x 148 mm: "statusdict begin a6tray end"
  94. *PageSize B4/B4 257 x 364 mm: "statusdict begin b4tray end"
  95. *PageSize B5/B5 182 x 257 mm: "statusdict begin b5tray end"
  96. *PageSize B6/B6 129 x 182 mm: "statusdict begin b6tray end"
  97. *?PageSize: "
  98. save statusdict begin
  99. 12 dict begin
  100. /letter (Letter) def
  101. /executivepage (Executive) def
  102. /legal (Legal) def
  103. /11x17 (Tabloid) def
  104. /universal (Universal) def
  105. /a3 (A3) def
  106. /a4 (A4) def
  107. /a5 (A5) def
  108. /a6 (A6) def
  109. /b4 (B4) def
  110. /b5 (B5) def
  111. /b6 (B6) def
  112. papersize {
  113. {load exec} stopped not{= flush}if
  114. }{
  115. {load exec} stopped not{print (.Transverse) = flush}{(Unknown) = flush}ifelse
  116. }ifelse
  117. end
  118. end restore
  119. "
  120. *End
  121. *CloseUI: PageSize
  122. *% These entries will set up the frame buffer. Usually used with manual feed.
  123. *OpenUI *PageRegion: PickOne
  124. *OrderDependency: 40 AnySetup *PageRegion
  125. *DefaultPageRegion: Letter
  126. *PageRegion Letter/Letter 8 1/2 x 11 in: "letter"
  127. *PageRegion Executive/Executive: "executivepage"
  128. *PageRegion Legal/Legal 8 1/2 x 14 in: "legal"
  129. *PageRegion Tabloid/Tabloid 11 x 17 in: "11x17"
  130. *PageRegion Universal/Universal 11.7 x 17 in: "universal"
  131. *PageRegion A3/A3 297 x 420 mm: "a3"
  132. *PageRegion A4/A4 210 x 297 mm: "a4"
  133. *PageRegion A5/A5 148 x 210 mm: "a5"
  134. *PageRegion A6/A6 105 x 148 mm: "a6"
  135. *PageRegion B4/B4 257 x 364 mm: "b4"
  136. *PageRegion B5/B5 182 x 257 mm: "b5"
  137. *PageRegion B6/B6 129 x 182 mm: "b6"
  138. *CloseUI: *PageRegion
  139. *% The following entries provide information about specific paper keywords.
  140. *DefaultImageableArea: Letter
  141. *ImageableArea Letter/Letter 8 1/2 x 11 in: "10 10 598 780 "
  142. *ImageableArea Executive/Executive: "10 14 510 746 "
  143. *ImageableArea Legal/Legal 8 1/2 x 14 in: "10 14 600 998 "
  144. *ImageableArea Tabloid/Tabloid 11 x 17 in: "10 14 780 1214 "
  145. *ImageableArea Universal/Universal 11.7 x 17 in: "10 14 830 1214 "
  146. *ImageableArea A3/A3 297 x 420 mm: "10 14 830 1181 "
  147. *ImageableArea A4/A4 210 x 297 mm: "10 10 580 830 "
  148. *ImageableArea A5/A5 148 x 210 mm: "10 10 405 583 "
  149. *ImageableArea A6/A6 105 x 148 mm: "10 14 286 411 "
  150. *ImageableArea B4/B4 257 x 364 mm: "10 14 717 1021 "
  151. *ImageableArea B5/B5 182 x 257 mm: "10 10 501 717 "
  152. *ImageableArea B6/B6 129 x 182 mm: "10 14 352 506 "
  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/Letter 8 1/2 x 11 in: "612 792"
  164. *PaperDimension Executive/Executive: "522 756"
  165. *PaperDimension Legal/Legal 8 1/2 x 14 in: "612 1008"
  166. *PaperDimension Tabloid/Tabloid 11 x 17 in: "792 1224"
  167. *PaperDimension Universal/Universal 11.7 x 17 in: "842 1224"
  168. *PaperDimension A3/A3 297 x 420 mm: "842 1190"
  169. *PaperDimension A4/A4 210 x 297 mm: "595 842"
  170. *PaperDimension A5/A5 148 x 210 mm: "420 595"
  171. *PaperDimension A6/A6 105 x 148 mm: "297 420"
  172. *PaperDimension B4/B4 257 x 364 mm: "729 1032"
  173. *PaperDimension B5/B5 182 x 257 mm: "516 729"
  174. *PaperDimension B6/B6 129 x 182 mm: "365 516"
  175. *DefaultOutputBin: Upper
  176. *OpenUI *InputSlot: PickOne
  177. *OrderDependency: 20 AnySetup *InputSlot
  178. *DefaultInputSlot: 1
  179. *InputSlot 1/Standard: "statusdict begin 1 setpapertray end"
  180. *InputSlot 2/Lower: "statusdict begin 2 setpapertray end"
  181. *InputSlot 3/Optional: "statusdict begin 3 setpapertray end"
  182. *?InputSlot: "
  183. save statusdict begin
  184. 3 dict begin
  185. /1 (Standard) def
  186. /2 (Lower) def
  187. /3 (Optional) def
  188. papertray
  189. {( ) cvs cvn load exec} stopped not{= flush}if
  190. end
  191. end restore
  192. "
  193. *End
  194. *CloseUI: *InputSlot
  195. *OpenUI *ManualFeed: Boolean
  196. *OrderDependency: 20 AnySetup *ManualFeed
  197. *DefaultManualFeed: False
  198. *ManualFeed True: "statusdict begin /manualfeed true store end"
  199. *ManualFeed False: "statusdict begin /manualfeed false store end"
  200. *?ManualFeed: "
  201. statusdict /manualfeed get
  202. {(True)}{(False)}ifelse = flush"
  203. *End
  204. *CloseUI: *ManualFeed
  205. *DefaultOutputOrder: Normal
  206. *% Font Information =====================
  207. *DefaultFont: Courier
  208. *Font AvantGarde-Book: Standard "(001.002)"
  209. *Font AvantGarde-BookOblique: Standard "(001.002)"
  210. *Font AvantGarde-Demi: Standard "(001.003)"
  211. *Font AvantGarde-DemiOblique: Standard "(001.003)"
  212. *Font Bookman-Demi: Standard "(001.001)"
  213. *Font Bookman-DemiItalic: Standard "(001.001)"
  214. *Font Bookman-Light: Standard "(001.001)"
  215. *Font Bookman-LightItalic: Standard "(001.001)"
  216. *Font Courier: Standard "(001.005)"
  217. *Font Courier-Bold: Standard "(001.005)"
  218. *Font Courier-BoldOblique: Standard "(001.005)"
  219. *Font Courier-Oblique: Standard "(001.005)"
  220. *Font Helvetica: Standard "(001.002)"
  221. *Font Helvetica-Bold: Standard "(001.002)"
  222. *Font Helvetica-BoldOblique: Standard "(001.002)"
  223. *Font Helvetica-Condensed: Standard "(001.001)"
  224. *Font Helvetica-Condensed-Bold: Standard "(001.002)"
  225. *Font Helvetica-Condensed-BoldObl: Standard "(001.002)"
  226. *Font Helvetica-Condensed-Oblique: Standard "(001.001)"
  227. *Font Helvetica-Narrow: Standard "(001.002)"
  228. *Font Helvetica-Narrow-Bold: Standard "(001.002)"
  229. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)"
  230. *Font Helvetica-Narrow-Oblique: Standard "(001.002)"
  231. *Font Helvetica-Oblique: Standard "(001.002)"
  232. *Font NewCenturySchlbk-Bold: Standard "(001.007)"
  233. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)"
  234. *Font NewCenturySchlbk-Italic: Standard "(001.003)"
  235. *Font NewCenturySchlbk-Roman: Standard "(001.004)"
  236. *Font Palatino-Bold: Standard "(001.002)"
  237. *Font Palatino-BoldItalic: Standard "(001.002)"
  238. *Font Palatino-Italic: Standard "(001.002)"
  239. *Font Palatino-Roman: Standard "(001.001)"
  240. *Font Symbol: Special "(001.003)"
  241. *Font Times-Bold: Standard "(001.002)"
  242. *Font Times-BoldItalic: Standard "(001.004)"
  243. *Font Times-Italic: Standard "(001.002)"
  244. *Font Times-Roman: Standard "(001.002)"
  245. *Font ZapfChancery-MediumItalic: Standard "(001.003)"
  246. *Font ZapfDingbats: Special "(001.002)"
  247. *?FontQuery: "
  248. save 4 dict begin /sv exch def
  249. /str (fonts/ ) def
  250. /st2 128 string def
  251. {
  252. count 0 gt {
  253. dup st2 cvs (/) print print (:) print
  254. dup FontDirectory exch known {pop (Yes)}{
  255. str exch st2 cvs dup length /len exch def
  256. 6 exch putinterval str 0 len 6 add getinterval mark exch
  257. { } st2 filenameforall counttomark 0 gt {
  258. cleartomark (Yes)}{cleartomark (No)}ifelse
  259. }ifelse = flush
  260. }{ exit } ifelse
  261. } bind loop
  262. (*) = flush
  263. sv end restore
  264. "
  265. *End
  266. *?FontList: "
  267. save 2 dict begin /sv exch def
  268. /str 128 string def
  269. FontDirectory { pop == } bind forall flush
  270. /filenameforall where {
  271. pop save (fonts/*) {
  272. dup length 6 sub 6 exch getinterval cvn ==
  273. } bind str filenameforall flush restore
  274. } if
  275. (*) = flush
  276. sv end restore
  277. "
  278. *End
  279. *% Printer Messages (verbatim from printer):
  280. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  281. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  282. *Message: "\FontName\ not found, using Courier"
  283. *% Status (format: %%[ status: <one of these> ]%% )
  284. *Status: "idle"
  285. *Status: "busy"
  286. *Status: "waiting"
  287. *Status: "printing"
  288. *Status: "warming up"
  289. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%%)
  290. *Source: "serial25"
  291. *Source: "AppleTalk"
  292. *Source: "Centronics"
  293. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  294. *DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  295. *% Color Separation Information =====================
  296. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  297. *InkName: ProcessBlack/Process Black
  298. *InkName: CustomColor/Custom Color
  299. *InkName: ProcessCyan/Process Cyan
  300. *InkName: ProcessMagenta/Process Magenta
  301. *InkName: ProcessYellow/Process Yellow
  302. *% For 60 lpi / 300 dpi ===============================
  303. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  304. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  305. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  306. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  307. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  308. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  309. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  310. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  311. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  312. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  313. *% For 53 lpi / 300 dpi ===============================
  314. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  315. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  316. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  317. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  318. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  319. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  320. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  321. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  322. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  323. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  324. *% For 85 lpi / 600 dpi (5,5,2,6,6,2,20/3,0) =====================
  325. *ColorSepScreenAngle ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  326. *ColorSepScreenAngle CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  327. *ColorSepScreenAngle ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "71.5651"
  328. *ColorSepScreenAngle ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "18.4349"
  329. *ColorSepScreenAngle ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "0.0"
  330. *ColorSepScreenFreq ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  331. *ColorSepScreenFreq CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  332. *ColorSepScreenFreq ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  333. *ColorSepScreenFreq ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  334. *ColorSepScreenFreq ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "30.0"
  335. *ColorSepScreenProc ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "
  336. {1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  337. 1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  338. abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  339. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  340. "
  341. *End
  342. *% For 71 lpi / 600 dpi ===============================
  343. *ColorSepScreenAngle ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  344. *ColorSepScreenAngle CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  345. *ColorSepScreenAngle ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "71.5651"
  346. *ColorSepScreenAngle ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "18.4349"
  347. *ColorSepScreenAngle ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "0.0"
  348. *ColorSepScreenFreq ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  349. *ColorSepScreenFreq CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  350. *ColorSepScreenFreq ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  351. *ColorSepScreenFreq ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  352. *ColorSepScreenFreq ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "66.6667"
  353. *% end of PPD file for QMS-Hammerhead