home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / d / d423_liu / 13.ddi / HPELI522.PP_ / HPELI522.PP
Encoding:
PostScript Printer Description  |  1993-07-24  |  13.0 KB  |  385 lines

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