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.

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