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.

451 lines
16 KiB

  1. *PPD-Adobe: "4.0"
  2. *% QMS Inc. PostScript(R) Printer Description File
  3. *FormatVersion: "4.0"
  4. *FileVersion: "1.0"
  5. *PCFileName: "QMS1725.PPD"
  6. *LanguageVersion: English
  7. *Product: "(QMS 1725 Print System)"
  8. *PSVersion: "(2011.22) 4"
  9. *ModelName: "QMS 1725 Print System"
  10. *NickName: "QMS 1725 Print System"
  11. *% General Information and Defaults ===============
  12. *FreeVM: "454000"
  13. *LanguageLevel: "2"
  14. *ColorDevice: False
  15. *DefaultColorSpace: Gray
  16. *VariablePaperSize: False
  17. *ADORequiresEExec: True
  18. *FileSystem: True
  19. *?FileSystem: "/initializedisk where{pop(True)}{(False)} ifelse = flush"
  20. *Throughput: "17"
  21. *Password: "0"
  22. *ExitServer: "
  23. count 0 eq { % is the password on the stack?
  24. true
  25. }{
  26. dup % potential password
  27. statusdict begin checkpassword end not
  28. } ifelse
  29. { % if no password or not valid
  30. (WARNING : Cannot perform the exitserver command.) =
  31. (Password supplied is not valid.) =
  32. (Please contact the author of this software.) = flush
  33. quit
  34. } if
  35. serverdict begin exitserver
  36. "
  37. *End
  38. *Reset: "
  39. count 0 eq { % is the password on the stack?
  40. true
  41. }{
  42. dup % potential password
  43. statusdict begin checkpassword end not
  44. } ifelse
  45. { % if no password or not valid
  46. (WARNING : Cannot reset printer.) =
  47. (Password supplied is not valid.) =
  48. (Please contact the author of this software.) = flush
  49. quit
  50. } if
  51. serverdict begin exitserver
  52. systemdict /quit get exec
  53. (WARNING : Printer Reset Failed.) = flush
  54. "
  55. *End
  56. *OpenUI *Resolution: PickOne
  57. *OrderDependency: 10 AnySetup *Resolution
  58. *DefaultResolution: 600dpi
  59. *Resolution 300dpi: "statusdict begin 300 setresolution end "
  60. *Resolution 600dpi: "statusdict begin 600 setresolution end "
  61. *?Resolution: "
  62. save
  63. statusdict begin resolution end
  64. 128 string cvs dup print (x) print print (dpi) = flush
  65. restore
  66. "
  67. *End
  68. *CloseUI: *Resolution
  69. *% Halftone Information ===============
  70. *ScreenFreq: "60.0"
  71. *ScreenAngle: "45.0"
  72. *DefaultScreenProc: Dot
  73. *ScreenProc Dot: "{ dup mul exch dup mul add 1 exch sub }"
  74. *ScreenProc Line: "{ pop }"
  75. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  76. *DefaultTransfer: Null
  77. *Transfer Null: "{ }"
  78. *Transfer Null.Inverse: "{ 1 exch sub }"
  79. *Transfer Normalized: "{ }"
  80. *Transfer Normalized.Inverse: "{ 1 exch sub }"
  81. *% Paper Handling ===================
  82. *% Use these entries to set paper size most of the time, unless there is
  83. *% specific reason to use PageRegion or PaperTray.
  84. *OpenUI *PageSize: PickOne
  85. *OrderDependency: 30 AnySetup *PageSize
  86. *DefaultPageSize: Letter
  87. *PageSize Letter: "statusdict begin lettertray initgraphics end"
  88. *PageSize Legal: "statusdict begin legaltray initgraphics end"
  89. *PageSize A4: "statusdict begin a4tray initgraphics end"
  90. *PageSize Executive: "statusdict begin executivetray initgraphics end"
  91. *PageSize Envelope.279.540/Monarch Envelope: "statusdict begin 3 setpapertray monarcenvelope initgraphics end"
  92. *PageSize Envelope.297.684/Common #10 Envelope: "statusdict begin 3 setpapertray com10envelope initgraphics end"
  93. *PageSize Envelope.312.624/DL Envelope: "statusdict begin 3 setpapertray dlenvelope initgraphics end"
  94. *?PageSize: "
  95. save statusdict begin
  96. 12 dict begin
  97. /letter (Letter) def
  98. /legal (Legal) def
  99. /a4 (A4) def
  100. /executivepage (Executive) def
  101. /envelope (Envelope) def
  102. papersize {
  103. {load exec} stopped not{= flush}if
  104. }{
  105. {load exec} stopped not{print (.Transverse) = flush}{(Unknown) = flush}ifelse
  106. }ifelse
  107. end
  108. end restore
  109. "
  110. *End
  111. *CloseUI: *PageSize
  112. *% These entries will set up the frame buffer. Usually used with manual feed.
  113. *OpenUI *PageRegion: PickOne
  114. *OrderDependency: 40 AnySetup *PageRegion
  115. *DefaultPageRegion: Letter
  116. *PageRegion Letter: "letter initgraphics "
  117. *PageRegion Legal: "legal initgraphics "
  118. *PageRegion A4: "a4 initgraphics "
  119. *PageRegion Executive: "executivepage initgraphics "
  120. *PageRegion Envelope.279.540/Monarch Envelope: "monarcenvelope initgraphics "
  121. *PageRegion Envelope.297.684/Common #10 Envelope: "com10envelope initgraphics "
  122. *PageRegion Envelope.312.624/DL Envelope: "dlenvelope initgraphics"
  123. *CloseUI: *PageRegion
  124. *% These entries will invoke a particular tray--error may occur if tray is not inserted.
  125. *% These errors should be trapped by software and a message displayed
  126. *OpenUI *PaperTray: PickOne
  127. *OrderDependency: 40 AnySetup *PaperTray
  128. *DefaultPaperTray: Letter
  129. *PaperTray Letter: "statusdict begin letter initgraphics end"
  130. *PaperTray Legal: "statusdict begin legal initgraphics end"
  131. *PaperTray Executive: "statusdict begin executivepage initgraphics end"
  132. *PaperTray A4: "statusdict begin a4 initgraphics end"
  133. *PaperTray Envelope.279.540/Monarch Envelope: "statusdict begin monarcenvelope initgraphics end"
  134. *PaperTray Envelope.297.684/Common #10 Envelope: "statusdict begin com10envelope initgraphics end"
  135. *PaperTray Envelope.312.624/DL Envelope: "statusdict begin dlenvelope initgraphics end "
  136. *?PaperTray: "
  137. save statusdict begin
  138. 20 dict begin
  139. /letter (Letter) def
  140. /legal (Legal) def
  141. /a4 (A4) def
  142. /executivepage (Executive) def
  143. /envelope (Envelope) def
  144. papersize {
  145. {load exec} stopped not{= flush}if
  146. }{
  147. {load exec} stopped not{print (.Transverse) = flush}if
  148. }ifelse
  149. end
  150. end restore
  151. "
  152. *End
  153. *CloseUI: *PaperTray
  154. *% The following entries provide information about specific paper keywords.
  155. *DefaultImageableArea: Letter
  156. *ImageableArea Letter: "12 10 601 781 "
  157. *ImageableArea Legal: "12 10 601 997 "
  158. *ImageableArea A4: "12 10 584 831 "
  159. *ImageableArea Executive: "12 10 511 746 "
  160. *ImageableArea Envelope.279.540/Monarch Envelope: "12 1 279 530"
  161. *ImageableArea Envelope.297.684/Common #10 Envelope: "12 1 298 674"
  162. *ImageableArea Envelope.312.624/DL Envelope: "12 1 313 613"
  163. *?ImageableArea: "
  164. save /cvp { cvi ( ) cvs print ( ) print } bind def
  165. newpath clippath pathbbox
  166. 4 -2 roll exch 2 {ceiling cvp} repeat
  167. exch 2 {floor cvp} repeat flush
  168. restore
  169. "
  170. *End
  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 Executive: "522 756"
  177. *PaperDimension Envelope.279.540/Monarch Envelope: "279 540"
  178. *PaperDimension Envelope.297.684/Common #10 Envelope: "297 684"
  179. *PaperDimension Envelope.312.624/DL Envelope: "312 624"
  180. *OpenUI *OutputBin: PickOne
  181. *OrderDependency: 20 AnySetup *OutputBin
  182. *DefaultOutputBin: Upper
  183. *OutputBin Lower: "statusdict begin 2 setoutputtray end"
  184. *OutputBin Upper: "statusdict begin 1 setoutputray end"
  185. *?OutputBin: "
  186. save statusdict begin
  187. 5 dict begin
  188. /1 (Upper) def
  189. /2 (Lower) def
  190. outputtray
  191. {( ) cvs cvn load exec} stopped not{= flush}if
  192. end
  193. end restore
  194. "
  195. *End
  196. *CloseUI: *OutputBin
  197. *OpenUI *InputSlot: PickOne
  198. *OrderDependency: 20 AnySetup *InputSlot
  199. *DefaultInputSlot: Upper
  200. *InputSlot Upper: "statusdict begin 1 setpapertray end"
  201. *InputSlot Lower: "statusdict begin 2 setpapertray end"
  202. *InputSlot Envelope: "statusdict begin 3 setpapertray end"
  203. *?InputSlot: "
  204. save statusdict begin
  205. 5 dict begin
  206. /1 (Lower) def
  207. /2 (Upper) def
  208. /3 (Envelope) def
  209. papertray
  210. {( ) cvs cvn load exec} stopped not{= flush}if
  211. end
  212. end restore
  213. "
  214. *End
  215. *CloseUI: *InputSlot
  216. *OpenUI *ManualFeed: Boolean
  217. *OrderDependency: 20 AnySetup *ManualFeed
  218. *DefaultManualFeed: False
  219. *?ManualFeed: "
  220. statusdict /manualfeed get
  221. {(True)}{(False)}ifelse = flush"
  222. *End
  223. *ManualFeed True: "statusdict begin /manualfeed true store end"
  224. *ManualFeed False: "statusdict begin /manualfeed false store end"
  225. *CloseUI: *ManualFeed
  226. *OpenUI *OutputOrder: PickOne
  227. *OrderDependency: 20 AnySetup *OutputOrder
  228. *DefaultOutputOrder: Normal
  229. *OutputOrder Normal: "statusdict begin 1 setoutputtray end"
  230. *OutputOrder Reverse: "statusdict begin 2 setoutputtray end"
  231. *CloseUI: *OutputOrder
  232. *DefaultCollator: None
  233. *DefaultSorter: None
  234. *OpenUI *Duplex: PickOne
  235. *OrderDependency: 20 AnySetup *Duplex
  236. *DefaultDuplex: None
  237. *Duplex None: "statusdict begin false setduplexmode false settumble end"
  238. *Duplex DuplexNoTumble: "statusdict begin true setduplexmode false settumble end"
  239. *Duplex DuplexTumble: "statusdict begin true setduplexmode true settumble end"
  240. *?Duplex: "
  241. statusdict begin
  242. duplexmode
  243. { tumble
  244. { (DuplexTumble) }
  245. { (DuplexNoTumble) }
  246. ifelse
  247. }
  248. { (None)}
  249. ifelse
  250. = flush
  251. end
  252. "
  253. *End
  254. *CloseUI: *Duplex
  255. *% Font Information =====================
  256. *DefaultFont: Courier
  257. *Font AvantGarde-Book: Standard "(001.002)"
  258. *Font AvantGarde-BookOblique: Standard "(001.002)"
  259. *Font AvantGarde-Demi: Standard "(001.003)"
  260. *Font AvantGarde-DemiOblique: Standard "(001.003)"
  261. *Font Bookman-Demi: Standard "(001.001)"
  262. *Font Bookman-DemiItalic: Standard "(001.001)"
  263. *Font Bookman-Light: Standard "(001.001)"
  264. *Font Bookman-LightItalic: Standard "(001.001)"
  265. *Font Courier: Standard "(002.003)"
  266. *Font Courier-Bold: Standard "(002.003)"
  267. *Font Courier-BoldOblique: Standard "(002.003)"
  268. *Font Courier-Oblique: Standard "(002.003)"
  269. *Font Helvetica: Standard "(001.006)"
  270. *Font Helvetica-Bold: Standard "(001.007)"
  271. *Font Helvetica-BoldOblique: Standard "(001.007)"
  272. *Font Helvetica-Condensed: Standard "(001.001)"
  273. *Font Helvetica-Condensed-Bold: Standard "(001.002)"
  274. *Font Helvetica-Condensed-BoldObl: Standard "(001.002)"
  275. *Font Helvetica-Condensed-Oblique: Standard "(001.001)"
  276. *Font Helvetica-Narrow: Standard "(001.006)"
  277. *Font Helvetica-Narrow-Bold: Standard "(001.007)"
  278. *Font Helvetica-Narrow-BoldOblique: Standard "(001.007)"
  279. *Font Helvetica-Narrow-Oblique: Standard "(001.006)"
  280. *Font Helvetica-Oblique: Standard "(001.006)"
  281. *Font NewCenturySchlbk-Bold: Standard "(001.006)"
  282. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)"
  283. *Font NewCenturySchlbk-Italic: Standard "(001.003)"
  284. *Font NewCenturySchlbk-Roman: Standard "(001.004)"
  285. *Font Palatino-Bold: Standard "(001.002)"
  286. *Font Palatino-BoldItalic: Standard "(001.002)"
  287. *Font Palatino-Italic: Standard "(001.002)"
  288. *Font Palatino-Roman: Standard "(001.001)"
  289. *Font Symbol: Special "(001.007)"
  290. *Font Times-Bold: Standard "(001.007)"
  291. *Font Times-BoldItalic: Standard "(001.009)"
  292. *Font Times-Italic: Standard "(001.007)"
  293. *Font Times-Roman: Standard "(001.007)"
  294. *Font ZapfChancery-MediumItalic: Standard "(001.003)"
  295. *Font ZapfDingbats: Special "(001.002)"
  296. *?FontQuery: "
  297. save 4 dict begin /sv exch def
  298. /str (fonts/ ) def
  299. /st2 128 string def
  300. {
  301. count 0 gt {
  302. dup st2 cvs (/) print print (:) print
  303. dup FontDirectory exch known {pop (Yes)}{
  304. str exch st2 cvs dup length /len exch def
  305. 6 exch putinterval str 0 len 6 add getinterval mark exch
  306. { } st2 filenameforall counttomark 0 gt {
  307. cleartomark (Yes)}{cleartomark (No)}ifelse
  308. }ifelse = flush
  309. }{ exit } ifelse
  310. } bind loop
  311. (*) = flush
  312. sv end restore
  313. "
  314. *End
  315. *?FontList: "
  316. save 2 dict begin /sv exch def
  317. /str 128 string def
  318. FontDirectory { pop == } bind forall flush
  319. /filenameforall where {
  320. pop save (fonts/*) {
  321. dup length 6 sub 6 exch getinterval cvn ==
  322. } bind str filenameforall flush restore
  323. } if
  324. (*) = flush
  325. sv end restore
  326. "
  327. *End
  328. *% Printer Messages (verbatim from printer):
  329. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  330. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  331. *Message: "\FontName\ not found, using Courier"
  332. *% Status (format: %%[ status: <one of these> ]%% )
  333. *Status: "idle"
  334. *Status: "busy"
  335. *Status: "waiting"
  336. *Status: "printing"
  337. *Status: "warming up"
  338. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  339. *Source: "serial25"
  340. *Source: "AppleTalk"
  341. *Source: "Centronics"
  342. *Source: "Optional I/O"
  343. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  344. *PrinterError: "Paper Out"
  345. *PrinterError: "Paper Jam"
  346. *PrinterError: "Off line"
  347. *DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  348. *% Color Separation Information =====================
  349. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  350. *InkName: ProcessBlack/Process Black
  351. *InkName: CustomColor/Custom Color
  352. *InkName: ProcessCyan/Process Cyan
  353. *InkName: ProcessMagenta/Process Magenta
  354. *InkName: ProcessYellow/Process Yellow
  355. *% For 60 lpi / 300 dpi ===============================
  356. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  357. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  358. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  359. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  360. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  361. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  362. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  363. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  364. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  365. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  366. *% For 53 lpi / 300 dpi ===============================
  367. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  368. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  369. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  370. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  371. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  372. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  373. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  374. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  375. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  376. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  377. *% For 85 lpi / 600 dpi (5,5,2,6,6,2,20/3,0) =====================
  378. *ColorSepScreenAngle ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  379. *ColorSepScreenAngle CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  380. *ColorSepScreenAngle ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "71.5651"
  381. *ColorSepScreenAngle ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "18.4349"
  382. *ColorSepScreenAngle ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "0.0"
  383. *ColorSepScreenFreq ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  384. *ColorSepScreenFreq CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  385. *ColorSepScreenFreq ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  386. *ColorSepScreenFreq ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  387. *ColorSepScreenFreq ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "30.0"
  388. *ColorSepScreenProc ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "
  389. {1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  390. 1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  391. abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  392. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  393. "
  394. *End
  395. *% For 71 lpi / 600 dpi ===============================
  396. *ColorSepScreenAngle ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  397. *ColorSepScreenAngle CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  398. *ColorSepScreenAngle ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "71.5651"
  399. *ColorSepScreenAngle ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "18.4349"
  400. *ColorSepScreenAngle ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "0.0"
  401. *ColorSepScreenFreq ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  402. *ColorSepScreenFreq CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  403. *ColorSepScreenFreq ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  404. *ColorSepScreenFreq ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  405. *ColorSepScreenFreq ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "66.6667"
  406. *% end of PPD file for QMS 1725 Print System.