home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-User.iso / NextLibrary / PrinterTypes / English.lproj / HP_LaserJet_IIP_PostScript_Cartridge.ppd < prev    next >
PostScript Printer Description  |  1997-03-29  |  13KB  |  375 lines

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