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.

384 lines
13 KiB

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