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.

340 lines
12 KiB

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1992 Adobe Systems Incorporated.
  4. *% All Rights Reserved.
  5. *% Permission is granted for redistribution of this file as
  6. *% long as this copyright notice is intact and the contents
  7. *% of the file is not altered in any way from its original form.
  8. *% End of Copyright statement
  9. *FormatVersion: "4.0"
  10. *FileVersion: "2.1"
  11. *PCFileName: "IBM30505.PPD"
  12. *LanguageVersion: English
  13. *Product: "(IBM Personal Page Printer II)"
  14. *PSVersion: "(50.5) 0"
  15. *ModelName: "IBM 4216-030"
  16. *NickName: "IBM 4216-030 v50.5"
  17. *% General Information and Defaults ===============
  18. *ColorDevice: False
  19. *DefaultColorSpace: Gray
  20. *FreeVM: "397408"
  21. *LanguageLevel: "1"
  22. *VariablePaperSize: False
  23. *FileSystem: False
  24. *Throughput: "6"
  25. *Password: "0"
  26. *ExitServer: "
  27. count 0 eq % is the password on the stack?
  28. { true }
  29. { dup % potential password
  30. statusdict /checkpassword get exec not
  31. } ifelse
  32. { % if no password or not valid
  33. (WARNING : Cannot perform the exitserver command.) =
  34. (Password supplied is not valid.) =
  35. (Please contact the author of this software.) = flush
  36. quit
  37. } if
  38. serverdict /exitserver get exec
  39. "
  40. *End
  41. *Reset: "
  42. count 0 eq % is the password on the stack?
  43. { true }
  44. { dup % potential password
  45. statusdict /checkpassword get exec not
  46. } ifelse
  47. { % if no password or not valid
  48. (WARNING : Cannot reset printer.) =
  49. (Password supplied is not valid.) =
  50. (Please contact the author of this software.) = flush
  51. quit
  52. } if
  53. serverdict /exitserver get exec
  54. systemdict /quit get exec
  55. (WARNING : Printer Reset Failed.) = flush
  56. "
  57. *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: "60.0"
  73. *ScreenAngle: "45.0"
  74. *DefaultScreenProc: Dot
  75. *ScreenProc Dot: "
  76. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  77. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  78. "
  79. *End
  80. *ScreenProc Line: "{ pop }"
  81. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  82. *DefaultTransfer: Null
  83. *Transfer Null: "{ }"
  84. *Transfer Null.Inverse: "{ 1 exch sub }"
  85. *% Paper Handling ===================
  86. *% Use these entries to set paper size most of the time, unless there is
  87. *% specific reason to use PageRegion.
  88. *OpenUI *PageSize: PickOne
  89. *OrderDependency: 30 AnySetup *PageSize
  90. *DefaultPageSize: Letter
  91. *PageSize Letter: "statusdict /lettertray get exec"
  92. *PageSize Legal: "statusdict /legaltray get exec"
  93. *PageSize Statement: "statusdict /statementtray get exec"
  94. *PageSize A4: "statusdict /a4tray get exec"
  95. *PageSize A5: "statusdict /a5tray get exec"
  96. *PageSize B5: "statusdict /b5tray get exec"
  97. *?PageSize: "
  98. save
  99. 6 dict
  100. dup /letter (Letter) put
  101. dup /legal (Legal) put
  102. dup /a4 (A4) put
  103. dup /a5 (A5) put
  104. dup /b5 (B5) put
  105. dup /statement (Statement) put
  106. statusdict /papersize get exec
  107. 3 1 roll {get} stopped {(Unknown)}if
  108. exch not { print (.Transverse) }if
  109. = flush
  110. restore
  111. "
  112. *End
  113. *CloseUI: *PageSize
  114. *% These entries will set up the frame buffer. Usually used with manual feed.
  115. *OpenUI *PageRegion: PickOne
  116. *OrderDependency: 40 AnySetup *PageRegion
  117. *DefaultPageRegion: Letter
  118. *PageRegion Letter: "letter"
  119. *PageRegion Legal: "legal"
  120. *PageRegion A4: "a4"
  121. *PageRegion A5: "a5"
  122. *PageRegion B5: "b5"
  123. *PageRegion Statement: "statement"
  124. *CloseUI: *PageRegion
  125. *% The following entries provide information about specific paper keywords.
  126. *DefaultImageableArea: Letter
  127. *ImageableArea Letter: "17 16 595 776 "
  128. *ImageableArea Legal: "17 16 595 992 "
  129. *ImageableArea A4: "14 15 581 827 "
  130. *ImageableArea A5: "12 13 407 583 "
  131. *ImageableArea B5: "13 13 503 716 "
  132. *ImageableArea Statement: "12 15 384 597 "
  133. *?ImageableArea: "
  134. save
  135. /cvp {( ) cvs print ( ) print } bind def
  136. /upperright {10000 mul floor 10000 div} bind def
  137. /lowerleft {10000 mul ceiling 10000 div} bind def
  138. newpath clippath pathbbox
  139. 4 -2 roll exch 2 {lowerleft cvp} repeat
  140. exch 2 {upperright cvp} repeat flush
  141. restore
  142. "
  143. *End
  144. *% These provide the physical dimensions of the paper (by keyword)
  145. *DefaultPaperDimension: Letter
  146. *PaperDimension Letter: "612 792"
  147. *PaperDimension Legal: "612 1008"
  148. *PaperDimension A4: "595 842"
  149. *PaperDimension A5: "420 595"
  150. *PaperDimension B5: "516 729"
  151. *PaperDimension Statement: "396 612"
  152. *RequiresPageRegion All: True
  153. *OpenUI *InputSlot: PickOne
  154. *OrderDependency: 20 AnySetup *InputSlot
  155. *DefaultInputSlot: Cassette
  156. *InputSlot Cassette: ""
  157. *CloseUI: *InputSlot
  158. *DefaultOutputOrder: Normal
  159. *% Font Information =====================
  160. *DefaultFont: Courier
  161. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  162. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  163. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  164. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  165. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  166. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  167. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  168. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  169. *Font Courier: Standard "(001.004)" Standard ROM
  170. *Font Courier-Bold: Standard "(001.004)" Standard ROM
  171. *Font Courier-BoldOblique: Standard "(001.004)" Standard ROM
  172. *Font Courier-Oblique: Standard "(001.004)" Standard ROM
  173. *Font Emulatorfont: Special "(001.000)" Special ROM
  174. *Font Emulatorfont-Bold: Special "(001.000)" Special ROM
  175. *Font Garamond-Bold: Standard "(001.001)" Standard ROM
  176. *Font Garamond-BoldItalic: Standard "(001.002)" Standard ROM
  177. *Font Garamond-Light: Standard "(001.002)" Standard ROM
  178. *Font Garamond-LightItalic: Standard "(001.002)" Standard ROM
  179. *Font Helvetica: Standard "(001.002)" Standard ROM
  180. *Font Helvetica-Black: Standard "(001.001)" Standard ROM
  181. *Font Helvetica-BlackOblique: Standard "(001.001)" Standard ROM
  182. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  183. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  184. *Font Helvetica-Light: Standard "(001.002)" Standard ROM
  185. *Font Helvetica-LightOblique: Standard "(001.002)" Standard ROM
  186. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  187. *Font Korinna-Bold: Standard "(001.001)" Standard ROM
  188. *Font Korinna-KursivBold: Standard "(001.003)" Standard ROM
  189. *Font Korinna-KursivRegular: Standard "(001.003)" Standard ROM
  190. *Font Korinna-Regular: Standard "(001.001)" Standard ROM
  191. *Font NewCenturySchlbk-Bold: Standard "(001.006)" Standard ROM
  192. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)" Standard ROM
  193. *Font NewCenturySchlbk-Italic: Standard "(001.003)" Standard ROM
  194. *Font NewCenturySchlbk-Roman: Standard "(001.004)" Standard ROM
  195. *Font Palatino-Bold: Standard "(001.002)" Standard ROM
  196. *Font Palatino-BoldItalic: Standard "(001.002)" Standard ROM
  197. *Font Palatino-Italic: Standard "(001.002)" Standard ROM
  198. *Font Palatino-Roman: Standard "(001.001)" Standard ROM
  199. *Font Symbol: Special "(001.003)" Special ROM
  200. *Font Times-Bold: Standard "(001.002)" Standard ROM
  201. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  202. *Font Times-Italic: Standard "(001.002)" Standard ROM
  203. *Font Times-Roman: Standard "(001.002)" Standard ROM
  204. *Font ZapfChancery-MediumItalic: Standard "(001.003)" Standard ROM
  205. *Font ZapfDingbats: Special "(001.002)" Special ROM
  206. *?FontQuery: "
  207. save
  208. /str 100 string dup 0 (fonts/) putinterval def
  209. {
  210. count 1 gt
  211. {
  212. exch dup str 6 94 getinterval cvs
  213. (/) print print (:) print
  214. FontDirectory exch known
  215. {(Yes)}{(No)} ifelse =
  216. }
  217. {exit} ifelse
  218. }bind loop
  219. (*) = flush
  220. restore
  221. "
  222. *End
  223. *?FontList: "
  224. save
  225. FontDirectory { pop == } bind forall flush
  226. (*) = flush
  227. restore
  228. "
  229. *End
  230. *% Printer Messages (verbatim from printer):
  231. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  232. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  233. *Message: "\FontName\ not found, using Courier"
  234. *% Status (format: %%[ status: <one of these> ]%% )
  235. *Status: "idle"
  236. *Status: "busy"
  237. *Status: "waiting"
  238. *Status: "printing"
  239. *Status: "warming up"
  240. *Status: "PrinterError: CPU error"
  241. *Status: "PrinterError: main motor error"
  242. *Status: "PrinterError: paper size error"
  243. *Status: "PrinterError: paper exit jam"
  244. *Status: "PrinterError: replacement magazine required"
  245. *Status: "PrinterError: toner is low"
  246. *Status: "PrinterError: paper feed error"
  247. *Status: "PrinterError: optical unit error"
  248. *Status: "PrinterError: cleaning magazine needs replacing"
  249. *Status: "PrinterError: paper transport jam"
  250. *Status: "PrinterError: fusing unit error"
  251. *Status: "PrinterError: timeout"
  252. *Status: "PrinterError: out of paper"
  253. *Status: "PrinterError: printer warming up"
  254. *Status: "PrinterError: printing test page"
  255. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  256. *Source: "serial9"
  257. *Source: "serial25"
  258. *Source: "AppleTalk"
  259. *Source: "Centronics"
  260. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  261. *PrinterError: "CPU error"
  262. *PrinterError: "main motor error"
  263. *PrinterError: "paper size error"
  264. *PrinterError: "paper exit jam"
  265. *PrinterError: "replacement magazine required"
  266. *PrinterError: "toner is low"
  267. *PrinterError: "paper feed error"
  268. *PrinterError: "optical unit error"
  269. *PrinterError: "cleaning magazine needs replacing"
  270. *PrinterError: "paper transport jam"
  271. *PrinterError: "fusing unit error"
  272. *PrinterError: "timeout"
  273. *PrinterError: "out of paper"
  274. *PrinterError: "printer warming up"
  275. *PrinterError: "printing test page"
  276. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  277. *% Color Separation Information =====================
  278. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  279. *InkName: ProcessBlack/Process Black
  280. *InkName: CustomColor/Custom Color
  281. *InkName: ProcessCyan/Process Cyan
  282. *InkName: ProcessMagenta/Process Magenta
  283. *InkName: ProcessYellow/Process Yellow
  284. *% For 60 lpi / 300 dpi =====================================================
  285. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  286. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  287. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  288. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  289. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  290. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  291. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  292. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  293. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  294. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  295. *% For 53 lpi / 300 dpi =====================================================
  296. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  297. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  298. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  299. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  300. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  301. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  302. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  303. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  304. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  305. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  306. *% For "IBM Personal Page Printer II" version 50.5
  307. *% Produced by "GETapd.ps" version 2.0 edit 51
  308. *% Converted to meet 4.0 specification
  309. *% Last Edit Date: Sep 15 1992
  310. *% The byte count of this file should be exactly 011856 or 012196
  311. *% depending on the filesystem it resides in.
  312. *% end of PPD file for IBM Personal Page Printer II