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.

374 lines
13 KiB

  1. *PPD-Adobe: "4.1"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1993 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.1"
  10. *FileVersion: "2.2"
  11. *PCFileName: "HPIIP522.PPD"
  12. *LanguageVersion: English
  13. *Product: "(HP LaserJet IIP)"
  14. *PSVersion: "(52.2) 0"
  15. *ModelName: "HP LaserJet IIP PostScript Cartridge"
  16. *ShortNickName: "HP LaserJet IIP Cartridge v52.2"
  17. *NickName: "HP LaserJet IIP PostScript Cartridge v52.2"
  18. *% ==== Options and Constraints =====
  19. *OpenGroup: InstallableOptions/Options Installed
  20. *OpenUI *Option1/Optional Lower Tray: Boolean
  21. *DefaultOption1: False
  22. *Option1 True/Installed: ""
  23. *Option1 False/Not Installed: ""
  24. *CloseUI: *Option1
  25. *CloseGroup: InstallableOptions
  26. *UIConstraints: *Option1 False *InputSlot Lower
  27. *% General Information and Defaults ===============
  28. *FreeVM: "1923298"
  29. *LanguageLevel: "1"
  30. *ColorDevice: False
  31. *DefaultColorSpace: Gray
  32. *VariablePaperSize: False
  33. *FileSystem: False
  34. *Throughput: "4"
  35. *Password: "0"
  36. *ExitServer: "
  37. count 0 eq { % is the password on the stack?
  38. true
  39. }{
  40. dup % potential password
  41. statusdict /checkpassword get exec not
  42. } ifelse
  43. { % if no password or not valid
  44. (WARNING : Cannot perform the exitserver command.) =
  45. (Password supplied is not valid.) =
  46. (Please contact the author of this software.) = flush
  47. quit
  48. } if
  49. serverdict /exitserver get exec
  50. "
  51. *End
  52. *Reset: "
  53. count 0 eq { % is the password on the stack?
  54. true
  55. }{
  56. dup % potential password
  57. statusdict /checkpassword get exec not
  58. } ifelse
  59. { % if no password or not valid
  60. (WARNING : Cannot reset printer.) =
  61. (Password supplied is not valid.) =
  62. (Please contact the author of this software.) = flush
  63. quit
  64. } if
  65. serverdict /exitserver get exec
  66. systemdict /quit get exec
  67. (WARNING : Printer Reset Failed.) = flush
  68. "
  69. *End
  70. *DefaultResolution: 300dpi
  71. *?Resolution: "
  72. save
  73. initgraphics
  74. 0 0 moveto currentpoint matrix defaultmatrix transform
  75. 0 72 lineto currentpoint matrix defaultmatrix transform
  76. 3 -1 roll sub dup mul
  77. 3 1 roll exch sub dup mul
  78. add sqrt round cvi
  79. ( ) cvs print (dpi) = flush
  80. restore
  81. "
  82. *End
  83. *% Halftone Information ===============
  84. *ScreenFreq: "60.0"
  85. *ScreenAngle: "45.0"
  86. *DefaultScreenProc: Dot
  87. *ScreenProc Dot: "
  88. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  89. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  90. "
  91. *End
  92. *ScreenProc Line: "{ pop }"
  93. *ScreenProc Ellipse: "
  94. { dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }
  95. "
  96. *End
  97. *DefaultTransfer: Null
  98. *Transfer Null: "{ }"
  99. *Transfer Null.Inverse: "{ 1 exch sub }"
  100. *% Paper Handling ===================
  101. *% Use these entries to set paper size most of the time, unless there is
  102. *% specific reason to use PageRegion.
  103. *OpenUI *PageSize: PickOne
  104. *OrderDependency: 30 AnySetup *PageSize
  105. *DefaultPageSize: Letter
  106. *PageSize Letter: "statusdict /lettertray get exec"
  107. *PageSize Legal: "statusdict /legaltray get exec"
  108. *PageSize Executive: "statusdict /executivetray get exec"
  109. *PageSize A4: "statusdict /a4tray get exec"
  110. *PageSize Comm10/Comm #10 Envelope: "statusdict /com10envelopetray get exec"
  111. *PageSize Monarch/Monarch Envelope: "statusdict /monarcenvelopetray get exec"
  112. *PageSize DL/DL Envelope: "statusdict /dlenvelopetray get exec"
  113. *PageSize C5/C5 Envelope: "statusdict /c5envelopetray get exec"
  114. *?PageSize: "
  115. save
  116. 8 dict
  117. dup /lettertray (Letter) put
  118. dup /legaltray (Legal) put
  119. dup /executivetray (Executive) put
  120. dup /a4tray (A4) put
  121. dup /com10envelopetray (Comm10) put
  122. dup /monarcenvelopetray (Monarch) put
  123. dup /dlenvelopetray (DL) put
  124. dup /c5envelopetray (C5) put
  125. statusdict /papersize get exec
  126. 3 1 roll {get} stopped {(Unknown)}if
  127. exch not { print (.Transverse) }if
  128. = flush
  129. restore
  130. "
  131. *End
  132. *CloseUI: *PageSize
  133. *% These entries will set up the frame buffer. Usually used with manual feed.
  134. *OpenUI *PageRegion: PickOne
  135. *OrderDependency: 40 AnySetup *PageRegion
  136. *DefaultPageRegion: Letter
  137. *PageRegion Letter: "letter"
  138. *PageRegion Legal: "legal"
  139. *PageRegion Executive: "executivepage"
  140. *PageRegion A4: "a4"
  141. *PageRegion Comm10/Comm #10 Envelope: "com10envelope"
  142. *PageRegion Monarch/Monarch Envelope: "monarcenvelope"
  143. *PageRegion DL/DL Envelope: "dlenvelope"
  144. *PageRegion C5/C5 Envelope: "c5envelope"
  145. *CloseUI: *PageRegion
  146. *% The following entries provide information about specific paper keywords.
  147. *DefaultImageableArea: Letter
  148. *ImageableArea Letter: "18 19 593 774 "
  149. *ImageableArea Legal: "18 19 593 990 "
  150. *ImageableArea Executive: "18 19 501 738 "
  151. *ImageableArea A4: "18 19 578 824 "
  152. *ImageableArea Comm10/Comm #10 Envelope: "18 19 278 666 "
  153. *ImageableArea Monarch/Monarch Envelope: "18 19 259 522 "
  154. *ImageableArea DL/DL Envelope: "18 19 294 605 "
  155. *ImageableArea C5/C5 Envelope: "18 19 440 630 "
  156. *?ImageableArea: "
  157. save
  158. /cvp {( ) cvs print ( ) print } bind def
  159. /upperright {10000 mul floor 10000 div} bind def
  160. /lowerleft {10000 mul ceiling 10000 div} bind def
  161. newpath clippath pathbbox
  162. 4 -2 roll exch 2 {lowerleft cvp} repeat
  163. exch 2 {upperright cvp} repeat flush
  164. restore
  165. "
  166. *End
  167. *% These provide the physical dimensions of the paper (by keyword)
  168. *DefaultPaperDimension: Letter
  169. *PaperDimension Letter: "612 792"
  170. *PaperDimension Legal: "612 1008"
  171. *PaperDimension Executive: "522 756"
  172. *PaperDimension A4: "595 842"
  173. *PaperDimension Comm10/Comm #10 Envelope: "297 684"
  174. *PaperDimension Monarch/Monarch Envelope: "279 540"
  175. *PaperDimension DL/DL Envelope: "312 624"
  176. *PaperDimension C5/C5 Envelope: "459 649"
  177. *RequiresPageRegion All: True
  178. *LandscapeOrientation: Plus90
  179. *OpenUI *InputSlot: PickOne
  180. *OrderDependency: 20 AnySetup *InputSlot
  181. *DefaultInputSlot: Upper
  182. *InputSlot Upper: "0 statusdict /setpapertray get exec"
  183. *InputSlot Lower: "1 statusdict /setpapertray get exec"
  184. *?InputSlot: "
  185. save
  186. [ (Upper) (Lower) ] statusdict /papertray get exec
  187. {get exec} stopped { pop pop (Unknown)} if = flush
  188. restore
  189. "
  190. *End
  191. *CloseUI: *InputSlot
  192. *OpenUI *ManualFeed: Boolean
  193. *OrderDependency: 20 AnySetup *ManualFeed
  194. *DefaultManualFeed: False
  195. *ManualFeed True: "statusdict /manualfeed true put"
  196. *ManualFeed False: "statusdict /manualfeed false put"
  197. *?ManualFeed: "
  198. save
  199. statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  200. restore
  201. "
  202. *End
  203. *CloseUI: *ManualFeed
  204. *DefaultOutputOrder: Normal
  205. *OpenUI *TraySwitch: Boolean
  206. *OrderDependency: 50 AnySetup *TraySwitch
  207. *DefaultTraySwitch: False
  208. *TraySwitch True: "true statusdict /settrayswitch get exec"
  209. *TraySwitch False: "false statusdict /settrayswitch get exec"
  210. *?TraySwitch: "
  211. save
  212. statusdict /trayswitch get exec {(True)}{(False)}ifelse = flush
  213. restore
  214. "
  215. *End
  216. *CloseUI: *TraySwitch
  217. *% Font Information =====================
  218. *DefaultFont: Courier
  219. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  220. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  221. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  222. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  223. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  224. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  225. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  226. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  227. *Font Courier: Standard "(002.002)" Standard ROM
  228. *Font Courier-Bold: Standard "(002.002)" Standard ROM
  229. *Font Courier-BoldOblique: Standard "(002.002)" Standard ROM
  230. *Font Courier-Oblique: Standard "(002.002)" Standard ROM
  231. *Font Helvetica: Standard "(001.002)" Standard ROM
  232. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  233. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  234. *Font Helvetica-Narrow: Standard "(001.002)" Standard ROM
  235. *Font Helvetica-Narrow-Bold: Standard "(001.002)" Standard ROM
  236. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)" Standard ROM
  237. *Font Helvetica-Narrow-Oblique: Standard "(001.002)" Standard ROM
  238. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  239. *Font NewCenturySchlbk-Bold: Standard "(001.006)" Standard ROM
  240. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)" Standard ROM
  241. *Font NewCenturySchlbk-Italic: Standard "(001.003)" Standard ROM
  242. *Font NewCenturySchlbk-Roman: Standard "(001.004)" Standard ROM
  243. *Font Palatino-Bold: Standard "(001.002)" Standard ROM
  244. *Font Palatino-BoldItalic: Standard "(001.002)" Standard ROM
  245. *Font Palatino-Italic: Standard "(001.002)" Standard ROM
  246. *Font Palatino-Roman: Standard "(001.001)" Standard ROM
  247. *Font Symbol: Special "(001.003)" Special ROM
  248. *Font Times-Bold: Standard "(001.002)" Standard ROM
  249. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  250. *Font Times-Italic: Standard "(001.002)" Standard ROM
  251. *Font Times-Roman: Standard "(001.002)" Standard ROM
  252. *Font ZapfChancery-MediumItalic: Standard "(001.003)" Standard ROM
  253. *Font ZapfDingbats: Special "(001.002)" Special ROM
  254. *?FontQuery: "
  255. save
  256. /str 100 string dup 0 (fonts/) putinterval def
  257. {
  258. count 1 gt
  259. {
  260. exch dup str 6 94 getinterval cvs
  261. (/) print print (:) print
  262. FontDirectory exch known
  263. {(Yes)}{(No)} ifelse =
  264. }
  265. {exit} ifelse
  266. }bind loop
  267. (*) = flush
  268. restore
  269. "
  270. *End
  271. *?FontList: "
  272. save
  273. FontDirectory { pop == } bind forall flush
  274. (*) = flush
  275. restore
  276. "
  277. *End
  278. *% Printer Messages (verbatim from printer):
  279. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  280. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  281. *Message: "\FontName\ not found, using Courier"
  282. *% Status (format: %%[ status: <one of these> ]%% )
  283. *Status: "idle"
  284. *Status: "busy"
  285. *Status: "waiting"
  286. *Status: "printing"
  287. *Status: "PrinterError: Out Of Paper"
  288. *Status: "PrinterError: Cover Open"
  289. *Status: "PrinterError: Feed Manual"
  290. *Status: "PrinterError: Paper Jam"
  291. *Status: "PrinterError: Miscellaneous Error"
  292. *Status: "PrinterError: Fatal Error"
  293. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  294. *Source: "serial9"
  295. *Source: "serial25"
  296. *Source: "AppleTalk"
  297. *Source: "Centronics"
  298. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  299. *PrinterError: "Out Of Paper"
  300. *PrinterError: "Cover Open"
  301. *PrinterError: "Feed Manual"
  302. *PrinterError: "Paper Jam"
  303. *PrinterError: "Miscellaneous Error"
  304. *PrinterError: "Fatal Error"
  305. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  306. *% Color Separation Information =====================
  307. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  308. *InkName: ProcessBlack/Process Black
  309. *InkName: CustomColor/Custom Color
  310. *InkName: ProcessCyan/Process Cyan
  311. *InkName: ProcessMagenta/Process Magenta
  312. *InkName: ProcessYellow/Process Yellow
  313. *% For 60 lpi / 300 dpi ===============================
  314. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  315. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  316. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  317. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  318. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  319. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  320. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  321. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  322. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  323. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  324. *% For 53 lpi / 300 dpi ===============================
  325. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  326. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  327. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  328. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  329. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  330. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  331. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  332. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  333. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  334. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  335. *% For "HP LaserJet IIP" version 52.2
  336. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  337. *% Converted to meet 4.0 specification
  338. *% Last Edit Date: Jun 1 1993
  339. *% The byte count of this file should be exactly 012539 or 012913
  340. *% depending on the filesystem it resides in.
  341. *% end of PPD file for HP LaserJet IIP