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.

454 lines
16 KiB

  1. *PPD-Adobe: "4.2"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% For IBM LaserPrinter 4019
  4. *% For use with Windows NT
  5. *% Produced by Lexmark International, Inc.
  6. *%
  7. *% Copyright (c) 1993-1996 Lexmark International Inc. All Rights Reserved.
  8. *% Permission is granted for redistribution of this file as
  9. *% long as this copyright notice is intact and the content
  10. *% of the file is not altered in any way from its original form.
  11. *%
  12. *%
  13. *FormatVersion: "4.2"
  14. *FileVersion: "3.3"
  15. *LanguageVersion: English
  16. *PCFileName: "IBM17523.PPD"
  17. *Product: "(IBM LaserPrinter)"
  18. *PSVersion: "(52.1) 0"
  19. *PSVersion: "(52.3) 0"
  20. *ModelName: "IBM 4019 LaserPrinter PS17"
  21. *ShortNickName: "IBM 4019 LaserPrinter PS17"
  22. *NickName: "IBM 4019 LaserPrinter PS17"
  23. *% === Options and Constraints ============
  24. *OpenGroup: InstallableOptions/Options Installed
  25. *OpenUI *Option1/Lower Tray: Boolean
  26. *DefaultOption1: False
  27. *Option1 True/Installed: ""
  28. *Option1 False/Not Installed: ""
  29. *CloseUI: *Option1
  30. *OpenUI *Option2/Envelope Feeder: Boolean
  31. *DefaultOption2: False
  32. *Option2 True/Installed: ""
  33. *Option2 False/Not Installed: ""
  34. *CloseUI: *Option2
  35. *OpenUI *Option3/Printer Memory: PickOne
  36. *DefaultOption3: 1Meg
  37. *Option3 1Meg/1.5 Mb Printer Memory: ""
  38. *Option3 2Meg/2.5 Mb Printer Memory: ""
  39. *Option3 4Meg/4 Mb Printer Memory: ""
  40. *CloseUI: *Option3
  41. *CloseGroup: InstallableOptions
  42. *UIConstraints: *Option1 False *InputSlot Lower
  43. *UIConstraints: *Option1 False *TraySwitch On
  44. *UIConstraints: *Option2 False *InputSlot Envelope
  45. *% === Basic Capabilities ============
  46. *LanguageLevel: "1"
  47. *FreeVM: "200000"
  48. *ColorDevice: False
  49. *DefaultColorSpace: Gray
  50. *VariablePaperSize: False
  51. *FileSystem: False
  52. *Throughput: "10"
  53. *Password: "0"
  54. *ExitServer: "
  55. count 0 eq % is the password on the stack?
  56. { true }
  57. { dup % potential password
  58. statusdict /checkpassword get exec not
  59. } ifelse
  60. { % if no password or not valid
  61. (WARNING : Cannot perform the exitserver command.) =
  62. (Password supplied is not valid.) =
  63. (Please contact the author of this software.) = flush
  64. quit
  65. } if
  66. serverdict /exitserver get exec
  67. "
  68. *End
  69. *Reset: "
  70. count 0 eq % is the password on the stack?
  71. { true }
  72. { dup % potential password
  73. statusdict /checkpassword get exec not
  74. } ifelse
  75. { % if no password or not valid
  76. (WARNING : Cannot reset printer.) =
  77. (Password supplied is not valid.) =
  78. (Please contact the author of this software.) = flush
  79. quit
  80. } if
  81. serverdict /exitserver get exec
  82. systemdict /quit get exec
  83. (WARNING : Printer Reset Failed.) = flush
  84. "
  85. *End
  86. *% === Resolution ============
  87. *OpenUI *Resolution/Resolution: PickOne
  88. *DefaultResolution: 300dpi
  89. *Resolution 300dpi/300 dpi: ""
  90. *?Resolution: "
  91. save initgraphics
  92. 0 0 moveto currentpoint matrix defaultmatrix transform
  93. 0 72 lineto currentpoint matrix defaultmatrix transform
  94. 3 -1 roll sub dup mul
  95. 3 1 roll exch sub dup mul
  96. add sqrt round cvi ( ) cvs print (dpi) = flush
  97. restore
  98. "
  99. *End
  100. *CloseUI: *Resolution
  101. *% === Halftone Information ===============
  102. *ScreenFreq: "60.0"
  103. *ScreenAngle: "45.0"
  104. *DefaultScreenProc: Dot
  105. *ScreenProc Dot: "
  106. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  107. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  108. "
  109. *End
  110. *ScreenProc Line: "{ pop }"
  111. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  112. *DefaultTransfer: Null
  113. *Transfer Null: "{ }"
  114. *Transfer Null.Inverse: "{ 1 exch sub }"
  115. *% === Paper Handling ===================
  116. *% Code in this section selects a tray and sets up a frame buffer.
  117. *OpenUI *PageSize: PickOne
  118. *OrderDependency: 30 AnySetup *PageSize
  119. *DefaultPageSize: Letter
  120. *PageSize Letter/Letter: "statusdict begin {lettertray}stopped {3 setpapertray letter}if end"
  121. *PageSize Legal/Legal: "statusdict begin {legaltray}stopped {3 setpapertray legal}if end"
  122. *PageSize Executive/Executive: "
  123. statusdict begin {executivetray}stopped {3 setpapertray executivepage}if end"
  124. *End
  125. *PageSize A4/A4: "statusdict begin {a4tray}stopped {3 setpapertray a4}if end"
  126. *PageSize A5/A5: "statusdict begin {a5tray}stopped {3 setpapertray a5}if end"
  127. *PageSize B5/B5: "statusdict begin {b5tray}stopped {3 setpapertray b5}if end"
  128. *PageSize Monarch/Monarch Envelope: "
  129. statusdict begin {3.875x7.5envelopetray}stopped
  130. {4 setpapertray 3.875x7.5envelope}if end
  131. 279 540 translate 180 rotate"
  132. *End
  133. *PageSize C9/C9 Envelope: "
  134. statusdict begin {3.875x8.875envelopetray}stopped
  135. {4 setpapertray 3.875x8.875envelope}if end
  136. 279 639 translate 180 rotate"
  137. *End
  138. *PageSize Comm10/C10 Envelope: "
  139. statusdict begin {4.125x9.5envelopetray}stopped
  140. {4 setpapertray 4.125x9.5envelope}if end
  141. 297 684 translate 180 rotate"
  142. *End
  143. *PageSize DL/DL Envelope: "
  144. statusdict begin {110x220envelopetray}stopped
  145. {4 setpapertray 110x220envelope}if end
  146. 312 624 translate 180 rotate"
  147. *End
  148. *PageSize C5/C5 Envelope: "
  149. statusdict begin {162x229envelopetray}stopped
  150. {4 setpapertray 162x229envelope}if end
  151. 459 649 translate 180 rotate"
  152. *End
  153. *PageSize ISOB5/B5 Envelope: "
  154. statusdict begin {176x250envelopetray}stopped
  155. {4 setpapertray 176x250envelope}if end
  156. 499 709 translate 180 rotate"
  157. *End
  158. *?PageSize: "
  159. save
  160. 12 dict
  161. dup /letter (Letter) put
  162. dup /legal (Legal) put
  163. dup /executivepage (Executive) put
  164. dup /a4 (A4) put
  165. dup /a5 (A5) put
  166. dup /b5 (B5) put
  167. dup /3.875x7.5envelope (Monarch) put
  168. dup /3.875x8.875envelope (Envelope.279.639) put
  169. dup /4.125x9.5envelope (Comm10) put
  170. dup /110x220envelope (DL) put
  171. dup /162x229envelope (C5) put
  172. dup /176x250envelope (Envelope.499.709) put
  173. statusdict /papersize get exec
  174. 3 1 roll {get} stopped {(Unknown)}if
  175. exch not { print (.Transverse) }if
  176. = flush
  177. restore
  178. "
  179. *End
  180. *CloseUI: *PageSize
  181. *% These entries will set up the frame buffer. Usually used with manual feed.
  182. *OpenUI *PageRegion: PickOne
  183. *OrderDependency: 40 AnySetup *PageRegion
  184. *DefaultPageRegion: Letter
  185. *PageRegion Letter/Letter: "letter"
  186. *PageRegion Legal/Legal: "legal"
  187. *PageRegion Executive/Executive: "executivepage"
  188. *PageRegion A4/A4: "a4"
  189. *PageRegion A5/A5: "a5"
  190. *PageRegion B5/B5: "b5"
  191. *PageRegion Monarch/Monarch Envelope: "3.875x7.5envelope 279 540 translate 180 rotate"
  192. *PageRegion C9/C9 Envelope: "3.875x8.875envelope 279 639 translate 180 rotate"
  193. *PageRegion Comm10/C10 Envelope: "4.125x9.5envelope 297 684 translate 180 rotate"
  194. *PageRegion DL/DL Envelope: "110x220envelope 312 624 translate 180 rotate"
  195. *PageRegion C5/C5 Envelope: "162x229envelope 459 649 translate 180 rotate"
  196. *PageRegion ISOB5/B5 Envelope: "176x250envelope 499 709 translate 180 rotate"
  197. *CloseUI: *PageRegion
  198. *DefaultImageableArea: Letter
  199. *ImageableArea Letter: "18 17 597 776"
  200. *ImageableArea Legal: "18 18 597 992"
  201. *ImageableArea Executive: "18 18 505 740"
  202. *ImageableArea A4: "18 19 578 827"
  203. *ImageableArea A5: "18 13 405 580"
  204. *ImageableArea B5: "18 18 505 711"
  205. *ImageableArea Monarch: "1 13 260 526"
  206. *ImageableArea C9: "1 16 260 623"
  207. *ImageableArea Comm10: "3 16 278 668"
  208. *ImageableArea DL: "3 16 293 608"
  209. *ImageableArea C5: "4 16 440 634"
  210. *ImageableArea ISOB5: "2 15 480 693"
  211. *?ImageableArea: "
  212. save
  213. /cvp { ( ) cvs print ( ) print } bind def
  214. /upperright {10000 mul floor 10000 div} bind def
  215. /lowerleft {10000 mul ceiling 10000 div} bind def
  216. newpath clippath pathbbox
  217. 4 -2 roll exch 2 {lowerleft cvp} repeat
  218. exch 2 {upperright cvp} repeat flush
  219. restore
  220. "
  221. *End
  222. *% These provide the physical dimensions of the paper (by keyword)
  223. *DefaultPaperDimension: Letter
  224. *PaperDimension Letter: "612 792"
  225. *PaperDimension Legal: "612 1008"
  226. *PaperDimension Executive: "522 756"
  227. *PaperDimension A4: "595 842"
  228. *PaperDimension A5: "420 595"
  229. *PaperDimension B5: "516 729"
  230. *PaperDimension Monarch: "279 540"
  231. *PaperDimension C9: "279 639"
  232. *PaperDimension Comm10: "297 684"
  233. *PaperDimension DL: "312 624"
  234. *PaperDimension C5: "459 649"
  235. *PaperDimension ISOB5: "499 709"
  236. *RequiresPageRegion All: True
  237. *OpenUI *InputSlot: PickOne
  238. *OrderDependency: 20 AnySetup *InputSlot
  239. *DefaultInputSlot: Unknown
  240. *InputSlot Upper/Upper Tray: "0 statusdict /setpapertray get exec"
  241. *InputSlot Lower/Lower Tray: "
  242. statusdict begin optionalfeeder { 1 }{ 0 }ifelse setpapertray end"
  243. *End
  244. *InputSlot Envelope/Envelope Feeder: "
  245. statusdict begin envelopefeeder { 2 }{ 3 }ifelse setpapertray end"
  246. *End
  247. *InputSlot EnvelopeManual/Manual Envelope: "4 statusdict /setpapertray get exec"
  248. *?InputSlot: "
  249. save
  250. [ (Upper) (Lower) (Envelope) (Manual) (ManualEnvelope) ] statusdict /papertray get exec
  251. {get exec} stopped { pop pop (Unknown) } if = flush
  252. restore
  253. "
  254. *End
  255. *CloseUI: *InputSlot
  256. *OpenUI *ManualFeed/Manual Paper: Boolean
  257. *OrderDependency: 15 AnySetup *ManualFeed
  258. *DefaultManualFeed: False
  259. *ManualFeed True/On: "3 statusdict /setpapertray get exec"
  260. *ManualFeed False/Off: "statusdict /manualfeed false put"
  261. *?ManualFeed: "
  262. save
  263. statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  264. restore
  265. "
  266. *End
  267. *CloseUI: *ManualFeed
  268. *OpenUI *TraySwitch/Tray Linking: PickOne
  269. *OrderDependency: 50 AnySetup *TraySwitch
  270. *DefaultTraySwitch: PrtSet
  271. *TraySwitch PrtSet/Printer Setting: ""
  272. *TraySwitch On/On: "statusdict /trayswitch true put"
  273. *TraySwitch Off/Off: "statusdict /trayswitch false put"
  274. *?TraySwitch: "
  275. save
  276. statusdict /trayswitch get {(True)}{(False)}ifelse = flush
  277. restore
  278. "
  279. *End
  280. *CloseUI: *TraySwitch
  281. *DefaultOutputOrder: Normal
  282. *OutputOrder Normal: ""
  283. *OutputOrder Reverse: ""
  284. *% === Font Information =====================
  285. *DefaultFont: Courier
  286. *Font Courier: Standard "(001.004)" Standard ROM
  287. *Font Courier-Bold: Standard "(001.004)" Standard ROM
  288. *Font Courier-BoldOblique: Standard "(001.004)" Standard ROM
  289. *Font Courier-Oblique: Standard "(001.004)" Standard ROM
  290. *Font Helvetica: Standard "(001.002)" Standard ROM
  291. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  292. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  293. *Font Helvetica-Narrow: Standard "(001.002)" Standard ROM
  294. *Font Helvetica-Narrow-Bold: Standard "(001.002)" Standard ROM
  295. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)" Standard ROM
  296. *Font Helvetica-Narrow-Oblique: Standard "(001.002)" Standard ROM
  297. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  298. *Font Symbol: Special "(001.003)" Special ROM
  299. *Font Times-Bold: Standard "(001.002)" Standard ROM
  300. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  301. *Font Times-Italic: Standard "(001.002)" Standard ROM
  302. *Font Times-Roman: Standard "(001.002)" Standard ROM
  303. *?FontQuery: "
  304. save
  305. /str 100 string dup 0 (fonts/) putinterval def
  306. { count 1 gt
  307. { exch dup str 6 94 getinterval cvs
  308. (/) print print (:) print
  309. FontDirectory exch known
  310. {(Yes)}{(No)} ifelse =
  311. }
  312. {exit} ifelse
  313. }bind loop
  314. (*) = flush
  315. restore
  316. "
  317. *End
  318. *?FontList: "save FontDirectory { pop == } bind forall flush (*) = flush restore"
  319. *% Printer Messages (verbatim from printer):
  320. *Message: "%% exitserver: permanent state may be changed %%"
  321. *Message: "%% Flushing: rest of job (to end-of-file) will be ignored %%"
  322. *Message: "FontName\ not found, using Courier"
  323. *% Status (format: %% status: <one of these> %% )
  324. *Status: "Printer Busy"
  325. *Status: "Warming Up"
  326. *Status: "PrinterError: Printer Offline"
  327. *Status: "PrinterError: Paper Out or Feed Failure - Tray 1"
  328. *Status: "PrinterError: Paper Out or Feed Failure - Tray 2"
  329. *Status: "PrinterError: Paper Out or Feed Failure - Envelope Feeder"
  330. *Status: "PrinterError: Load Paper Requested"
  331. *Status: "PrinterError: Load Envelope Requested"
  332. *Status: "PrinterError: Invalid Manual Insertion"
  333. *Status: "PrinterError: Wrong Paper Length"
  334. *Status: "PrinterError: Paper Jam"
  335. *Status: "PrinterError: Cover Open/Cartridge Not Installed"
  336. *Status: "PrinterError: Output Bin Full"
  337. *Status: "PrinterError: Default Storage Error"
  338. *Status: "PrinterError: Battery Low - Slot 1"
  339. *Status: "PrinterError: Battery Low - Slot 2"
  340. *Status: "PrinterError: Non-Download Font Card Installed - Slot 1"
  341. *Status: "PrinterError: Non-Download Font Card Installed - Slot 2"
  342. *Status: "PrinterError: Write-Protect Switch in Protect Position - Slot 1"
  343. *Status: "PrinterError: Write-Protect Switch in Protect Position - Slot 2"
  344. *Status: "PrinterError: Defective or Unprogrammed Card Installed - Slot 1"
  345. *Status: "PrinterError: Defective or Unprogrammed Card Installed - Slot 2"
  346. *Status: "PrinterError: Defective Font Card Installed - Slot 1"
  347. *Status: "PrinterError: Defective Font Card Installed - Slot 2"
  348. *Status: "PrinterError: Unsupported Card Installed - Slot 1"
  349. *Status: "PrinterError: Unsupported Card Installed - Slot 2"
  350. *Status: "PrinterError: Printer Busy"
  351. *Status: "PrinterError: Printer Error"
  352. *% Input Sources (format: %% status: <stat>; source: <one of these> %% )
  353. *Source: "serial9"
  354. *Source: "serial25"
  355. *Source: "Centronics"
  356. *% Printer Error (format: %% PrinterError: <one of these> %%)
  357. *PrinterError: "Printer Offline"
  358. *PrinterError: "Paper Out or Feed Failure - Tray 1"
  359. *PrinterError: "Paper Out or Feed Failure - Tray 2"
  360. *PrinterError: "Paper Out or Feed Failure - Envelope Feeder"
  361. *PrinterError: "Load Paper Requested"
  362. *PrinterError: "Load Envelope Requested"
  363. *PrinterError: "Invalid Manual Insertion"
  364. *PrinterError: "Wrong Paper Length"
  365. *PrinterError: "Paper Jam"
  366. *PrinterError: "Cover Open/Cartridge Not Installed"
  367. *PrinterError: "Output Bin Full"
  368. *PrinterError: "Default Storage Error"
  369. *PrinterError: "Battery Low - Slot 1"
  370. *PrinterError: "Battery Low - Slot 2"
  371. *PrinterError: "Non-Download Font Card Installed - Slot 1"
  372. *PrinterError: "Non-Download Font Card Installed - Slot 2"
  373. *PrinterError: "Write-Protect Switch in Protect Position - Slot 1"
  374. *PrinterError: "Write-Protect Switch in Protect Position - Slot 2"
  375. *PrinterError: "Defective or Unprogrammed Card Installed - Slot 1"
  376. *PrinterError: "Defective or Unprogrammed Card Installed - Slot 2"
  377. *PrinterError: "Defective Font Card Installed - Slot 1"
  378. *PrinterError: "Defective Font Card Installed - Slot 2"
  379. *PrinterError: "Unsupported Card Installed - Slot 1"
  380. *PrinterError: "Unsupported Card Installed - Slot 2"
  381. *PrinterError: "Printer Busy"
  382. *PrinterError: "Printer Error"
  383. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  384. *% === Color Separation Information =====================
  385. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  386. *InkName: ProcessBlack/Process Black
  387. *InkName: CustomColor/Custom Color
  388. *InkName: ProcessCyan/Process Cyan
  389. *InkName: ProcessMagenta/Process Magenta
  390. *InkName: ProcessYellow/Process Yellow
  391. *% For 60 lpi / 300 dpi ===============================
  392. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  393. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  394. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  395. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  396. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  397. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  398. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  399. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  400. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  401. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  402. *% For 53 lpi / 300 dpi ===============================
  403. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  404. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  405. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  406. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  407. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  408. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  409. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  410. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  411. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  412. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  413. *% End of PPD file for IBM LaserPrinter 4019