home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 March / VPR0003B.ISO / support / usprndrv / i386 / hp4000_7.ppd < prev    next >
PostScript Printer Description  |  1999-10-14  |  34KB  |  889 lines

  1. *PPD-Adobe: "4.3"
  2. *% =======================================================
  3. *% Printer Description File
  4. *% Copyright 1992-98 Hewlett-Packard Company
  5. *%    December 10, 1998
  6. *%========================================================
  7. *% PPD for HP LaserJet 4000 Series
  8. *% For Windows NT 5.0
  9. *%========================================================
  10. *% === PPD File Version Information ====
  11. *FileVersion:      "1.6"
  12. *FormatVersion:    "4.3"
  13. *LanguageEncoding: ISOLatin1
  14. *LanguageVersion:  English
  15. *PCFileName:       "HP4000_7.PPD"
  16.  
  17. *% === Product Version Information ====
  18. *ModelName:     "HP LaserJet 4000 Series"
  19. *ShortNickName: "HP LaserJet 4000 Series PS"
  20. *NickName:      "HP LaserJet 4000 Series PS"
  21. *Product:       "(HP LaserJet 4000 Series)"
  22. *Manufacturer:  "HP"
  23. *PSVersion:     "(2014.108) 1"
  24.  
  25. *%=== Device Capabilities ==================
  26. *ColorDevice:       False
  27. *DefaultColorSpace: Gray
  28. *FileSystem:        True
  29. *?FileSystem: "
  30.    save 
  31.      false
  32.      (%disk?%)
  33.      { currentdevparams dup /Writeable known
  34.         { /Writeable get {pop true} if }  { pop } ifelse
  35.      } 100 string /IODevice resourceforall
  36.      {(True)}{(False)} ifelse = flush
  37.    restore
  38. "
  39. *End
  40.  
  41. *LanguageLevel: "2"
  42. *Throughput:    "17"
  43. *TTRasterizer:  Type42
  44. *?TTRasterizer: "
  45.    save
  46.       42 /FontType resourcestatus
  47.       { pop pop (Type42)} {pop pop (None)} ifelse = flush
  48.    restore
  49. "
  50. *End
  51.  
  52. *%=== Emulations and Protocols =============
  53. *Protocols: PJL TBCP
  54.  
  55. *SuggestedJobTimeout:  "0"
  56. *SuggestedWaitTimeout: "120"
  57.  
  58. *PrintPSErrors: True
  59.  
  60. *%=== Resolution Enhancement  ===============
  61. *OpenUI *Smoothing/Resolution Enhancement: Boolean
  62. *OrderDependency: 20 DocumentSetup *Smoothing
  63. *DefaultSmoothing: True
  64. *Smoothing True/On: "
  65.   << /PostRenderingEnhance true /PostRenderingEnhanceDetails << /REValue 2 /Type 8 >>
  66.   >> setpagedevice"
  67. *End
  68. *Smoothing False/Off: "
  69.   << /PostRenderingEnhance true /PostRenderingEnhanceDetails << /REValue 0 /Type 8 >>
  70.   >> setpagedevice"
  71. *End
  72. *?Smoothing: "
  73.   save
  74.     currentpagedevice /PostRenderingEnhanceDetails get /REValue get
  75.     [(False) (True) (True) (True)]  exch get print
  76.   restore
  77. "
  78. *End
  79. *CloseUI: *Smoothing
  80.  
  81. *%=== JCL Features ==========================
  82. *JCLBegin:           "<1B>%-12345X@PJL JOB<0A>"
  83. *JCLToPSInterpreter: "@PJL ENTER LANGUAGE = POSTSCRIPT <0A>"
  84. *JCLEnd:             "<1B>%-12345X@PJL EOJ<0A>"
  85.  
  86. *JCLOpenUI *JCLResolution/Resolution: PickOne
  87. *OrderDependency: 10 JCLSetup *JCLResolution
  88. *DefaultJCLResolution: 600dpi
  89. *JCLResolution 300dpi/300 dpi: "@PJL SET RESOLUTION = 300<0A>"
  90. *JCLResolution 600dpi/600 dpi: "@PJL SET RESOLUTION = 600<0A>"
  91. *JCLResolution 1200dpi/ProRes 1200 : "@PJL SET RESOLUTION = 1200<0A>"
  92. *JCLCloseUI: *JCLResolution
  93.  
  94. *JCLOpenUI *JCLEconomode/EconoMode: Boolean
  95. *OrderDependency: 10 JCLSetup *JCLEconomode
  96. *DefaultJCLEconomode: False
  97. *JCLEconomode False/Highest Quality: "@PJL SET ECONOMODE = OFF<0A>"
  98. *JCLEconomode True/Save Toner: "@PJL SET ECONOMODE = ON<0A>"
  99. *JCLCloseUI: *JCLEconomode
  100.  
  101. *%=== Installable Options ==========================
  102. *OpenGroup: InstallableOptions/Installed Options
  103.  
  104. *OpenUI *Option1/Tray 3: Boolean
  105. *DefaultOption1: False
  106. *Option1 True/Installed: ""
  107. *Option1 False/Not Installed: ""
  108. *?Option1: "
  109.   save
  110.     currentpagedevice /InputAttributes get dup 1 known
  111.     {1 get null ne {(True)}{(False)} ifelse} {pop (False)} ifelse =
  112.   restore
  113. "
  114. *End
  115. *CloseUI: *Option1
  116.  
  117. *OpenUI *Option2/Tray 4: Boolean
  118. *DefaultOption2: False
  119. *Option2 True/Installed: ""
  120. *Option2 False/Not Installed: ""
  121. *?Option2: "
  122.   save
  123.     currentpagedevice /InputAttributes get dup 4 known
  124.     {4 get null ne {(True)}{(False)} ifelse} {pop (False)} ifelse = flush
  125.   restore
  126. "
  127. *End
  128. *CloseUI: *Option2
  129.  
  130. *OpenUI *Option3/Duplex Unit: Boolean
  131. *DefaultOption3: True
  132. *Option3 True/Installed: ""
  133. *Option3 False/Not Installed: ""
  134. *?Option3: "
  135.   save
  136.     currentpagedevice /Duplex known
  137.     {(True)}{(False)}ifelse = flush
  138.   restore
  139. "
  140. *End
  141. *CloseUI: *Option3
  142.  
  143. *OpenUI *Option4/Printer Hard Disk: Boolean
  144. *DefaultOption4: False
  145. *Option4 True/Installed: "<</Collate true>> setpagedevice"
  146. *Option4 False/Not Installed: "<</Collate false>> setpagedevice"
  147. *?Option4: "
  148.   save 
  149.     false
  150.     (%disk?%)
  151.     { currentdevparams dup /Writeable known
  152.     { /Writeable get {pop true} if }  { pop } ifelse
  153.     } 100 string /IODevice resourceforall
  154.     {(True)}{(False)} ifelse = flush
  155.   restore
  156. "
  157. *End
  158. *CloseUI: *Option4
  159.  
  160. *OpenUI *Option5/Envelope Feeder: Boolean
  161. *DefaultOption5: False
  162. *Option5 True/Installed: ""
  163. *Option5 False/Not Installed: ""
  164. *?Option5: "
  165.   save
  166.     currentpagedevice /InputAttributes get
  167.     2 get 
  168.     null ne {(True)}{(False)} ifelse = flush
  169.   restore
  170. "
  171. *End 
  172. *CloseUI: *Option5
  173.  
  174. *OpenUI *InstalledMemory/Total Printer Memory: PickOne
  175. *DefaultInstalledMemory: 4MB
  176. *InstalledMemory 4MB/4 - 7 MB: ""
  177. *InstalledMemory 8MB/8 - 11 MB: ""
  178. *InstalledMemory 12MB/12 - 19 MB: ""
  179. *InstalledMemory 20MB/20 - 27 MB: ""
  180. *InstalledMemory 28MB/28 - 35 MB: ""
  181. *InstalledMemory 36MB/36 MB or more: ""
  182. *?InstalledMemory: "
  183.   save
  184.     currentsystemparams /RamSize get 
  185.     524288 div ceiling cvi 2 div
  186.     /size exch def
  187.     size 36 ge 
  188.       {(36MB)} 
  189.        {size 28 ge 
  190.           {(28MB)}
  191.           {size 20 ge
  192.              {(20MB)}
  193.              {size 12 ge
  194.                 {(12MB)}
  195.                 {size 8 ge
  196.                    {(8MB)}
  197.                    {(4MB)} ifelse
  198.              } ifelse
  199.           } ifelse
  200.        } ifelse
  201.     } ifelse = flush
  202.   restore
  203. "
  204. *End
  205. *CloseUI: *InstalledMemory
  206. *CloseGroup: InstallableOptions
  207.  
  208. *FreeVM: "2200000"
  209. *VMOption 4MB/4 - 7 MB: "2200000"
  210. *VMOption 8MB/8 - 11 MB: "6000000"
  211. *VMOption 12MB/12 - 19 MB: "9400000"
  212. *VMOption 20MB/20 - 27 MB: "17000000"
  213. *VMOption 28MB/28 - 35 MB: "24500000"
  214. *VMOption 36MB/36 MB or more: "32000000"
  215.  
  216. *%=== UI Constraints =============================
  217. *% If A than not B  (Also include the reverse constraints if appropriate)
  218. *%
  219. *% If optional 250/500 sheet trays are not installed, disable access to Lower and LargeCapacity Trays
  220. *UIConstraints: *Option1 False *InputSlot Lower
  221. *UIConstraints: *Option2 False *InputSlot LargeCapacity
  222.  
  223. *% If the duplexer is not installed disable duplex modes.
  224. *UIConstraints: *Option3 False *Duplex DuplexNoTumble
  225. *UIConstraints: *Option3 False *Duplex DuplexTumble
  226.  
  227. *% If the envelope feeder is not installed disable envelope slot.
  228. *UIConstraints: *Option5 False *InputSlot Envelope
  229.  
  230. *% Don't allow these paper sizes/types in the Envelope Feeder
  231. *UIConstraints: *PageSize Letter    *InputSlot Envelope
  232. *UIConstraints: *PageSize Executive *InputSlot Envelope
  233. *UIConstraints: *PageSize Legal     *InputSlot Envelope
  234. *UIConstraints: *PageSize A4        *InputSlot Envelope
  235. *UIConstraints: *PageSize A5        *InputSlot Envelope
  236. *UIConstraints: *PageSize B5        *InputSlot Envelope
  237.  
  238. *UIConstraints: *PageRegion Letter    *InputSlot Envelope
  239. *UIConstraints: *PageRegion Executive *InputSlot Envelope
  240. *UIConstraints: *PageRegion Legal     *InputSlot Envelope
  241. *UIConstraints: *PageRegion A4        *InputSlot Envelope
  242. *UIConstraints: *PageRegion A5        *InputSlot Envelope
  243. *UIConstraints: *PageRegion B5        *InputSlot Envelope
  244.  
  245. *% If selected page size is an envelope disable access to paper trays 2, 3 and 4
  246. *UIConstraints: *PageSize Env10       *InputSlot Middle
  247. *UIConstraints: *PageSize Env10       *InputSlot Lower
  248. *UIConstraints: *PageSize Env10       *InputSlot LargeCapacity
  249. *UIConstraints: *PageSize EnvMonarch  *InputSlot Middle
  250. *UIConstraints: *PageSize EnvMonarch  *InputSlot Lower
  251. *UIConstraints: *PageSize EnvMonarch  *InputSlot LargeCapacity
  252. *UIConstraints: *PageSize EnvDL       *InputSlot Middle
  253. *UIConstraints: *PageSize EnvDL       *InputSlot Lower
  254. *UIConstraints: *PageSize EnvDL       *InputSlot LargeCapacity
  255. *UIConstraints: *PageSize EnvC5       *InputSlot Middle
  256. *UIConstraints: *PageSize EnvC5       *InputSlot Lower
  257. *UIConstraints: *PageSize EnvC5       *InputSlot LargeCapacity
  258. *UIConstraints: *PageSize EnvISOB5    *InputSlot Middle
  259. *UIConstraints: *PageSize EnvISOB5    *InputSlot Lower
  260. *UIConstraints: *PageSize EnvISOB5    *InputSlot LargeCapacity
  261.  
  262. *% If selected page region is an envelope disable access to paper trays 2, 3 and 4
  263. *UIConstraints: *PageRegion Env10       *InputSlot Middle
  264. *UIConstraints: *PageRegion Env10       *InputSlot Lower
  265. *UIConstraints: *PageRegion Env10       *InputSlot LargeCapacity
  266. *UIConstraints: *PageRegion EnvMonarch  *InputSlot Middle
  267. *UIConstraints: *PageRegion EnvMonarch  *InputSlot Lower
  268. *UIConstraints: *PageRegion EnvMonarch  *InputSlot LargeCapacity
  269. *UIConstraints: *PageRegion EnvDL       *InputSlot Middle
  270. *UIConstraints: *PageRegion EnvDL       *InputSlot Lower
  271. *UIConstraints: *PageRegion EnvDL       *InputSlot LargeCapacity
  272. *UIConstraints: *PageRegion EnvC5       *InputSlot Middle
  273. *UIConstraints: *PageRegion EnvC5       *InputSlot Lower
  274. *UIConstraints: *PageRegion EnvC5       *InputSlot LargeCapacity
  275. *UIConstraints: *PageRegion EnvISOB5    *InputSlot Middle
  276. *UIConstraints: *PageRegion EnvISOB5    *InputSlot Lower
  277. *UIConstraints: *PageRegion EnvISOB5    *InputSlot LargeCapacity
  278.  
  279. *% Don't allow A5, envelopes, transparencies or labels to be duplexed
  280. *UIConstraints: *PageSize A5         *Duplex DuplexNoTumble
  281. *UIConstraints: *PageSize Env10      *Duplex DuplexNoTumble
  282. *UIConstraints: *PageSize EnvMonarch *Duplex DuplexNoTumble
  283. *UIConstraints: *PageSize EnvDL      *Duplex DuplexNoTumble
  284. *UIConstraints: *PageSize EnvC5      *Duplex DuplexNoTumble
  285. *UIConstraints: *PageSize EnvISOB5   *Duplex DuplexNoTumble
  286.  
  287. *UIConstraints: *MediaType Transparency *Duplex DuplexNoTumble
  288. *UIConstraints: *MediaType Labels       *Duplex DuplexNoTumble
  289.  
  290. *UIConstraints: *PageRegion A5         *Duplex DuplexNoTumble
  291. *UIConstraints: *PageRegion Env10      *Duplex DuplexNoTumble
  292. *UIConstraints: *PageRegion EnvMonarch *Duplex DuplexNoTumble
  293. *UIConstraints: *PageRegion EnvDL      *Duplex DuplexNoTumble
  294. *UIConstraints: *PageRegion EnvC5      *Duplex DuplexNoTumble
  295. *UIConstraints: *PageRegion EnvISOB5   *Duplex DuplexNoTumble
  296.  
  297. *UIConstraints: *PageSize A5         *Duplex DuplexTumble
  298. *UIConstraints: *PageSize Env10      *Duplex DuplexTumble
  299. *UIConstraints: *PageSize EnvMonarch *Duplex DuplexTumble
  300. *UIConstraints: *PageSize EnvDL      *Duplex DuplexTumble
  301. *UIConstraints: *PageSize EnvC5      *Duplex DuplexTumble
  302. *UIConstraints: *PageSize EnvISOB5   *Duplex DuplexTumble
  303.  
  304. *UIConstraints: *MediaType Transparency *Duplex DuplexTumble
  305. *UIConstraints: *MediaType Labels       *Duplex DuplexTumble
  306.  
  307. *UIConstraints: *PageRegion A5         *Duplex DuplexTumble
  308. *UIConstraints: *PageRegion Env10      *Duplex DuplexTumble
  309. *UIConstraints: *PageRegion EnvMonarch *Duplex DuplexTumble
  310. *UIConstraints: *PageRegion EnvDL      *Duplex DuplexTumble
  311. *UIConstraints: *PageRegion EnvC5      *Duplex DuplexTumble
  312. *UIConstraints: *PageRegion EnvISOB5   *Duplex DuplexTumble
  313.  
  314. *% Cannot duplex custom page sizes or feed from envelope tray
  315. *NonUIConstraints: *CustomPageSize True *Duplex DuplexNoTumble
  316. *NonUIConstraints: *CustomPageSize True *Duplex DuplexTumble
  317. *NonUIConstraints: *InputSlot Envelope  *CustomPageSize True
  318.  
  319. *%=== Paper Sizes =================
  320. *OpenUI *PageSize: PickOne
  321. *OrderDependency: 30 AnySetup *PageSize
  322. *DefaultPageSize: Letter
  323. *PageSize Letter/Letter: "
  324.   <</PageSize [612 792] /ImagingBBox null>> setpagedevice"
  325. *End
  326. *PageSize Executive/Executive: "
  327.   <</PageSize [522 756] /ImagingBBox null>> setpagedevice"
  328. *End
  329. *PageSize Legal/Legal: "
  330.   <</PageSize [612 1008] /ImagingBBox null>> setpagedevice"
  331. *End
  332. *PageSize A4/A4: "
  333.   <</PageSize [595 842] /ImagingBBox null>> setpagedevice"
  334. *End
  335. *PageSize A5/A5: "
  336.   <</PageSize [420 595] /ImagingBBox null>> setpagedevice"
  337. *End
  338. *PageSize B5/B5 (JIS): "
  339.   <</PageSize [516 729] /ImagingBBox null>> setpagedevice"
  340. *End
  341. *PageSize Env10/Envelope #10: "
  342.   <</PageSize [297 684] /ImagingBBox null>> setpagedevice"
  343. *End
  344. *PageSize EnvMonarch/Envelope Monarch: "
  345.   <</PageSize [279 540] /ImagingBBox null>> setpagedevice"
  346. *End
  347. *PageSize EnvDL/Envelope DL: "
  348.   <</PageSize [312 624] /ImagingBBox null>> setpagedevice"
  349. *End
  350. *PageSize EnvC5/Envelope C5: "
  351.   <</PageSize [459 649] /ImagingBBox null>> setpagedevice"
  352. *End
  353. *PageSize EnvISOB5/Envelope B5: "
  354.   <</PageSize [499 709] /ImagingBBox null>> setpagedevice"
  355. *End
  356. *?PageSize: "
  357.    save
  358.    currentpagedevice /PageSize get aload pop
  359.    2 copy gt {exch} if 
  360.    (Unknown) 
  361.    11 dict
  362.    dup [612 792]  (Letter) put
  363.    dup [522 756]  (Executive) put
  364.    dup [612 1008] (Legal) put
  365.    dup [595 842]  (A4) put
  366.    dup [420 595]  (A5) put
  367.    dup [516 729]  (B5) put
  368.    dup [297 684]  (Env10) put
  369.    dup [279 540]  (EnvMonarch) put
  370.    dup [312 624]  (EnvDL) put
  371.    dup [459 649]  (EnvC5) put
  372.    dup [499 709]  (EnvISOB5) put
  373.    { exch aload pop 4 index sub abs 5 le exch 
  374.       5 index sub abs 5 le and 
  375.       {exch pop exit} {pop} ifelse
  376.    } bind forall
  377.    = flush pop pop
  378.    restore
  379. "
  380. *End
  381. *CloseUI: *PageSize
  382.  
  383. *OpenUI *PageRegion: PickOne
  384. *OrderDependency: 40 AnySetup *PageRegion
  385. *DefaultPageRegion: Letter
  386. *PageRegion Letter/Letter: "
  387.   <</PageSize [612 792] /ImagingBBox null>> setpagedevice"
  388. *End
  389. *PageRegion Executive/Executive: "
  390.   <</PageSize [522 756] /ImagingBBox null>> setpagedevice"
  391. *End
  392. *PageRegion Legal/Legal: "
  393.   <</PageSize [612 1008] /ImagingBBox null>> setpagedevice"
  394. *End
  395. *PageRegion A4/A4: "
  396.   <</PageSize [595 842] /ImagingBBox null>> setpagedevice"
  397. *End
  398. *PageRegion A5/A5: "
  399.   <</PageSize [420 595] /ImagingBBox null>> setpagedevice"
  400. *End
  401. *PageRegion B5/B5 (JIS): "
  402.   <</PageSize [516 729] /ImagingBBox null>> setpagedevice"
  403. *End
  404. *PageRegion Env10/Envelope #10: "
  405.   <</PageSize [297 684] /ImagingBBox null>> setpagedevice"
  406. *End
  407. *PageRegion EnvMonarch/Envelope Monarch: "
  408.   <</PageSize [279 540] /ImagingBBox null>> setpagedevice"
  409. *End
  410. *PageRegion EnvDL/Envelope DL: "
  411.   <</PageSize [312 624] /ImagingBBox null>> setpagedevice"
  412. *End
  413. *PageRegion EnvC5/Envelope C5: "
  414.   <</PageSize [459 649] /ImagingBBox null>> setpagedevice"
  415. *End
  416. *PageRegion EnvISOB5/Envelope B5: "
  417.   <</PageSize [499 709] /ImagingBBox null>> setpagedevice"
  418. *End
  419. *CloseUI: *PageRegion
  420.  
  421. *DefaultImageableArea: Letter
  422. *ImageableArea Letter/Letter: "12.24 12.06 599.76 779.06"
  423. *ImageableArea Executive/Executive: "13.32 12.06 508.68 743.06"
  424. *ImageableArea Legal/Legal: "12.24 12.06 599.76 995.06"
  425. *ImageableArea A4/A4: "13.44 12.06 581.76 828.74"
  426. *ImageableArea A5/A5: "12.00 12.00 407.00 583.00"
  427. *ImageableArea B5/B5 (JIS): "12.50 12.50 503.50 715.50"
  428. *ImageableArea Env10/Envelope #10: "12.12 12.06 284.76 671.06"
  429. *ImageableArea EnvMonarch/Envelope Monarch: "12.72 12.06 266.16 527.06"
  430. *ImageableArea EnvDL/Envelope DL: "13.80 12.06 297.96 610.58"
  431. *ImageableArea EnvC5/Envelope C5: "12.60 12.06 446.52 636.02"
  432. *ImageableArea EnvISOB5/Envelope B5: "13.20 12.06 485.52 695.54"
  433. *?ImageableArea: "
  434.    save
  435.    /cvp { (                ) cvs print ( ) print } bind def
  436.    /upperright {10000 mul floor 10000 div} bind def
  437.    /lowerleft {10000 mul ceiling 10000 div} bind def
  438.    newpath clippath pathbbox
  439.    4 -2 roll exch 2 {lowerleft cvp} repeat
  440.    exch 2 {upperright cvp} repeat flush
  441.    restore
  442. "
  443. *End
  444.  
  445. *DefaultPaperDimension: Letter 
  446. *PaperDimension Letter/Letter: "612 792"
  447. *PaperDimension Executive/Executive: "522 756"
  448. *PaperDimension Legal/Legal: "612 1008"
  449. *PaperDimension A4/A4: "595 842"
  450. *PaperDimension A5/A5: "420 595"
  451. *PaperDimension B5/B5 (JIS): "516 729"
  452. *PaperDimension Env10/Envelope #10: "297 684"
  453. *PaperDimension EnvMonarch/Envelope Monarch: "279 540"
  454. *PaperDimension EnvDL/Envelope DL: "312 624"
  455. *PaperDimension EnvC5/Envelope C5: "459 649"
  456. *PaperDimension EnvISOB5/Envelope B5: "499 709"
  457.  
  458. *LandscapeOrientation: Plus90
  459.  
  460. *%=== Custom Paper Support =================
  461. *%Orientation and Margin (offsets) values are not utilized
  462. *% Smallest = 3x5, Largest = 8.5 x 14
  463.  
  464. *VariablePaperSize: True
  465.  
  466. *LeadingEdge Short: ""
  467. *DefaultLeadingEdge: Short
  468.  
  469. *MaxMediaWidth:  "612"
  470. *MaxMediaHeight: "1008"
  471. *HWMargins:      16 16 16 16
  472. *CustomPageSize True: "
  473.   pop pop pop
  474.   <</DeferredMediaSelection true /PageSize [ 7 -2 roll ] /ImagingBBox null >>
  475.   setpagedevice
  476. "
  477. *End
  478.  
  479. *ParamCustomPageSize Width:        1 points 216 612
  480. *ParamCustomPageSize Height:       2 points 360 1008
  481. *ParamCustomPageSize WidthOffset:  3 points 0 0
  482. *ParamCustomPageSize HeightOffset: 4 points 0 0
  483. *ParamCustomPageSize Orientation:  5 int 1 1
  484.  
  485. *RequiresPageRegion All: True
  486.  
  487. *%=== Paper Sources ====================
  488. *OpenUI *InputSlot: PickOne
  489. *OrderDependency: 20 AnySetup *InputSlot
  490. *DefaultInputSlot: Middle
  491. *InputSlot Upper/Tray 1: "<</ManualFeed false /MediaPosition 3>> setpagedevice"
  492. *InputSlot ManualFeed/Tray 1 (Manual): "<</ManualFeed true /MediaPosition 3>> setpagedevice"
  493. *InputSlot Middle/Tray 2: "<</ManualFeed false /MediaPosition 0>> setpagedevice"
  494. *InputSlot Lower/Tray 3: "<</ManualFeed false /MediaPosition 1>> setpagedevice"
  495. *InputSlot LargeCapacity/Tray 4: "<</ManualFeed false /MediaPosition 4>> setpagedevice"
  496. *InputSlot Envelope/Envelope Feeder: "<</ManualFeed false /MediaPosition 2>> setpagedevice"
  497. *?InputSlot: "
  498.    save
  499.       currentpagedevice /InputAttributes get /Priority get
  500.       aload pop pop pop pop
  501.       [(Middle) (Lower) (Envelope) (Upper) (LargeCapacity)] exch get = flush
  502.    restore
  503. "
  504. *End
  505. *CloseUI: *InputSlot
  506.  
  507. *%=== Media Type ===========================
  508. *OpenUI *MediaType/Media Type: PickOne
  509. *OrderDependency: 50 AnySetup *MediaType
  510. *DefaultMediaType: None
  511. *MediaType None/None: ""
  512. *MediaType Plain/Plain: "<</MediaType (Plain)>> setpagedevice"
  513. *MediaType Preprinted/Preprinted: "<</MediaType (Preprinted)>> setpagedevice"
  514. *MediaType Letterhead/Letterhead: "<</MediaType (Letterhead)>> setpagedevice"
  515. *MediaType Transparency/Transparency: "<</MediaType (Transparency)>> setpagedevice"
  516. *MediaType Prepunched/Prepunched: "<</MediaType (Prepunched)>> setpagedevice"
  517. *MediaType Labels/Labels: "<</MediaType (Labels)>> setpagedevice"
  518. *MediaType Bond/Bond: "<</MediaType (Bond)>> setpagedevice"
  519. *MediaType Recycled/Recycled: "<</MediaType (Recycled)>> setpagedevice"
  520. *MediaType Color/Color: "<</MediaType (Color)>> setpagedevice"
  521. *MediaType Cardstock/Card Stock: "<</MediaType (Card Stock)>> setpagedevice"
  522. *MediaType Rough/Rough: "<</MediaType (Rough)>> setpagedevice"
  523. *?MediaType: "
  524.   save
  525.     currentpagedevice /InputAttributes get dup
  526.     /Priority get
  527.     0 get get
  528.     /MediaType get
  529.     (Rough) anchorsearch
  530.       {pop pop (Rough)} if  
  531.     = flush
  532.   restore
  533. "
  534. *End
  535. *CloseUI: *MediaType
  536.  
  537. *%=== Fit to Page =========================
  538. *OpenUI *HPPaperPolicy/Fit to Page: PickOne
  539. *OrderDependency: 10 AnySetup *HPPaperPolicy
  540. *DefaultHPPaperPolicy: PromptUser
  541. *HPPaperPolicy PromptUser/Prompt User: "
  542.    <</DeferredMediaSelection true>> setpagedevice"
  543. *End
  544. *HPPaperPolicy NearestSizeAdjust/Nearest Size and Scale: "
  545.    <</DeferredMediaSelection false /Policies << /PageSize 3 >> >> setpagedevice"
  546. *End
  547. *HPPaperPolicy NearestSizeNoAdjust/Nearest Size and Crop: "
  548.    <</DeferredMediaSelection false /Policies << /PageSize 5 >> >> setpagedevice"
  549. *End
  550. *CloseUI: *HPPaperPolicy
  551.  
  552. *%=== Halftone Information =================
  553. *ScreenFreq:  "106.0"
  554. *ScreenAngle: "45.0"
  555.  
  556. *ResScreenFreq 300dpi/300 dpi:  "60.0"
  557. *ResScreenAngle 300dpi/300 dpi: "45.0"
  558. *ResScreenFreq 600dpi/600 dpi:  "106.0"
  559. *ResScreenAngle 600dpi/600 dpi: "45.0"
  560. *ResScreenFreq 1200dpi/1200 dpi:  "180.0"
  561. *ResScreenAngle 1200dpi/1200 dpi: "45.0"
  562.  
  563. *DefaultScreenProc: Dot
  564. *ScreenProc HPEnhanced: "
  565.     { /EnhancedHalftone /Halftone findresource }"
  566. *End
  567. *ScreenProc Dot: "
  568. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  569. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  570. "
  571. *End
  572. *ScreenProc Line: "{ pop }"
  573. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  574.  
  575. *DefaultTransfer: Null
  576. *Transfer Null: "{ }"
  577. *Transfer Null.Inverse: "{ 1 exch sub }"
  578.  
  579. *DefaultHalftoneType:    9
  580. *AccurateScreensSupport: False
  581.  
  582. *OpenUI *HPHalftone/Levels of Gray: PickOne
  583. *OrderDependency: 10 DocumentSetup *HPHalftone
  584. *DefaultHPHalftone: PrinterDefault
  585. *HPHalftone PrinterDefault/Printer's Current Setting: ""
  586. *HPHalftone Enhanced/Enhanced: "
  587.    << /Install {
  588.      currentpagedevice /HWResolution get
  589.      dup 0 get 600 eq exch 1 get 600 eq and
  590.      { /EnhancedColorRendering600 } { /EnhancedColorRendering } ifelse
  591.      /ColorRendering findresource setcolorrendering
  592.      /EnhancedHalftone /Halftone findresource sethalftone
  593.      { } settransfer false setstrokeadjust
  594.    }
  595.    >> setpagedevice
  596.    currentpagedevice /HWResolution get dup 0 get 600 eq exch 1 get 600 eq and
  597.    {
  598.        << /PostRenderingEnhance true
  599.             /PostRenderingEnhanceDetails << /REValue 0 /Type 8 >>
  600.        >> setpagedevice
  601.    } if
  602.    /setscreen { pop pop pop } def
  603.    /setcolorscreen { pop pop pop pop pop pop pop pop pop pop pop pop } def
  604.    /sethalftone { pop } def 
  605. "
  606. *End
  607. *HPHalftone Standard/Standard: "
  608.      << /Install {
  609.      currentpagedevice /HWResolution get
  610.      dup 0 get 600 eq exch 1 get 600 eq and dup
  611.      currentpagedevice /PostRenderingEnhance get
  612.      currentpagedevice /PostRenderingEnhanceDetails get /REValue get 0 ne and
  613.      { {/DefaultColorRenderingRE600} {/DefaultColorRenderingRE} ifelse}
  614.      { {/DefaultColorRendering600} {/DefaultColorRendering} ifelse} ifelse
  615.      /ColorRendering findresource setcolorrendering
  616.      { /DefaultHalftone600 } {/DefaultHalftone} ifelse
  617.      /Halftone findresource sethalftone
  618.      {} settransfer false setstrokeadjust
  619.    } >> setpagedevice
  620.    currentpagedevice /HWResolution get dup 0 get 600 eq exch 1 get 600 eq and
  621.    {
  622.      << /PostRenderingEnhance true /PostRenderingEnhanceDetails
  623.      << /REValue 0 /Type 8 >> >> setpagedevice
  624.    } if
  625. "
  626. *End
  627. *?HPHalftone: "
  628.    save
  629.       currenthalftone /HalftoneType get 9 eq 
  630.      {(Enhanced)} {(Standard)} ifelse = flush
  631.    restore
  632. "
  633. *End
  634. *CloseUI: *HPHalftone
  635.  
  636. *%=== Duplex ====================================
  637. *OpenUI *Duplex/Duplex:  PickOne
  638. *OrderDependency: 50 AnySetup *Duplex
  639. *DefaultDuplex: None
  640. *Duplex None/Off (1-Sided): "
  641.   <</Duplex false>> setpagedevice"
  642. *End
  643. *Duplex DuplexNoTumble/Flip on Long Edge (Standard): "
  644.   <</Duplex true /Tumble false>> setpagedevice"
  645. *End
  646. *Duplex DuplexTumble/Flip on Short Edge: "
  647.   <</Duplex true /Tumble true>> setpagedevice"
  648. *End
  649. *?Duplex: "
  650.    save
  651.    currentpagedevice /Duplex known
  652.    false ne
  653.      { currentpagedevice /Duplex get
  654.         { currentpagedevice /Tumble get
  655.             {(DuplexTumble)}{(DuplexNoTumble)}ifelse
  656.         } { (None)}    ifelse 
  657.      }{(None)}  ifelse = flush
  658.    restore
  659. "
  660. *End 
  661. *CloseUI: *Duplex
  662.  
  663. *%=== Color Control ========================
  664. *DefaultColorSep: ProcessBlack.106lpi.600dpi/106 lpi / 600 dpi
  665.  
  666. *InkName: ProcessBlack/Process Black
  667. *InkName: CustomColor/Custom Color
  668. *InkName: ProcessCyan/Process Cyan
  669. *InkName: ProcessMagenta/Process Magenta
  670. *InkName: ProcessYellow/Process Yellow
  671.  
  672. *%  For 60 lpi / 300 dpi  =========================
  673. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  674. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  675. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  676. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  677. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  678.  
  679. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  680. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  681. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  682. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  683. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  684.  
  685. *%  For 85 lpi / 600 dpi  (5,5,2,6,6,2,20/3,0) ====
  686. *ColorSepScreenAngle ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  687. *ColorSepScreenAngle CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  688. *ColorSepScreenAngle ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "71.5651"
  689. *ColorSepScreenAngle ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "18.4349"
  690. *ColorSepScreenAngle ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "0.0"
  691.  
  692. *ColorSepScreenFreq ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  693. *ColorSepScreenFreq CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  694. *ColorSepScreenFreq ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  695. *ColorSepScreenFreq ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  696. *ColorSepScreenFreq ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "30.0"
  697. *ColorSepScreenProc ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "
  698. {1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  699. 1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch
  700. abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  701. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  702. *End
  703.  
  704. *%  For 106 lpi / 300 dpi  =========================
  705. *ColorSepScreenAngle ProcessBlack.106lpi.300dpi/106 lpi / 300 dpi: "45.0"
  706. *ColorSepScreenAngle CustomColor.106lpi.300dpi/106 lpi / 300 dpi: "45.0"
  707. *ColorSepScreenAngle ProcessCyan.106lpi.300dpi/106 lpi / 300 dpi: "71.5651"
  708. *ColorSepScreenAngle ProcessMagenta.106lpi.300dpi/106 lpi / 300 dpi: "18.4349"
  709. *ColorSepScreenAngle ProcessYellow.106lpi.300dpi/106 lpi / 300 dpi: "0.0"
  710.      
  711. *ColorSepScreenFreq ProcessBlack.106lpi.300dpi/106 lpi / 300 dpi: "106.066"
  712. *ColorSepScreenFreq CustomColor.106lpi.300dpi/106 lpi / 300 dpi: "106.066"
  713. *ColorSepScreenFreq ProcessCyan.106lpi.300dpi/106 lpi / 300 dpi: "94.8683"
  714. *ColorSepScreenFreq ProcessMagenta.106lpi.300dpi/106 lpi / 300 dpi: "94.8683"
  715. *ColorSepScreenFreq ProcessYellow.106lpi.300dpi/106 lpi / 300 dpi: "100.0"
  716.  
  717. *%  For 106 lpi / 600 dpi  =========================
  718. *ColorSepScreenAngle ProcessBlack.106lpi.600dpi/106 lpi / 600 dpi: "45.0"
  719. *ColorSepScreenAngle CustomColor.106lpi.600dpi/106 lpi / 600 dpi: "45.0"
  720. *ColorSepScreenAngle ProcessCyan.106lpi.600dpi/106 lpi / 600 dpi: "71.5651"
  721. *ColorSepScreenAngle ProcessMagenta.106lpi.600dpi/106 lpi / 600 dpi: "18.4349"
  722. *ColorSepScreenAngle ProcessYellow.106lpi.600dpi/106 lpi / 600 dpi: "0.0"
  723.      
  724. *ColorSepScreenFreq ProcessBlack.106lpi.600dpi/106 lpi / 600 dpi: "106.066"
  725. *ColorSepScreenFreq CustomColor.106lpi.600dpi/106 lpi / 600 dpi: "106.066"
  726. *ColorSepScreenFreq ProcessCyan.106lpi.600dpi/106 lpi / 600 dpi: "94.8683"
  727. *ColorSepScreenFreq ProcessMagenta.106lpi.600dpi/106 lpi / 600 dpi: "94.8683"
  728. *ColorSepScreenFreq ProcessYellow.106lpi.600dpi/106 lpi / 600 dpi: "100.0"
  729.  
  730. *%  For 180 lpi / 1200 dpi  =========================
  731. *ColorSepScreenAngle ProcessBlack.180lpi.1200dpi/180 lpi / 1200 dpi: "45.0"
  732. *ColorSepScreenAngle CustomColor.180lpi.1200dpi/180 lpi / 1200 dpi: "45.0"
  733. *ColorSepScreenAngle ProcessCyan.180lpi.1200dpi/180 lpi / 1200 dpi: "71.5651"
  734. *ColorSepScreenAngle ProcessMagenta.180lpi.1200dpi/180 lpi / 1200 dpi: "18.4349"
  735. *ColorSepScreenAngle ProcessYellow.180lpi.1200dpi/180 lpi / 1200 dpi: "0.0"
  736.      
  737. *ColorSepScreenFreq ProcessBlack.180lpi.1200dpi/180 lpi / 1200 dpi: "180"
  738. *ColorSepScreenFreq CustomColor.180lpi.1200dpi/180 lpi / 1200 dpi: "180"
  739. *ColorSepScreenFreq ProcessCyan.180lpi.1200dpi/180 lpi / 1200 dpi: "161"
  740. *ColorSepScreenFreq ProcessMagenta.180lpi.1200dpi/180 lpi / 1200 dpi: "161"
  741. *ColorSepScreenFreq ProcessYellow.180lpi.1200dpi/180 lpi / 1200 dpi: "170"
  742.  
  743. *% Patch for downloading Ture Type font as Outline.
  744. *ADORequiresEExec: True
  745.  
  746. *%=== Font Information =====================
  747. *DefaultFont: Courier
  748. *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
  749. *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
  750. *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
  751. *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
  752. *Font Bookman-Demi: Standard "(001.004S)" Standard ROM
  753. *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
  754. *Font Bookman-Light: Standard "(001.004S)" Standard ROM
  755. *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
  756. *Font Courier: Standard "(002.004S)" Standard ROM
  757. *Font Courier-Bold: Standard "(002.004S)" Standard ROM
  758. *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
  759. *Font Courier-Oblique: Standard "(002.004S)" Standard ROM
  760. *Font Helvetica: Standard "(001.006S)" Standard ROM
  761. *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
  762. *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
  763. *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
  764. *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
  765. *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
  766. *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
  767. *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
  768. *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
  769. *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
  770. *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
  771. *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
  772. *Font Palatino-Bold: Standard "(001.005S)" Standard ROM
  773. *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
  774. *Font Palatino-Italic: Standard "(001.005S)" Standard ROM
  775. *Font Palatino-Roman: Standard "(001.005S)" Standard ROM
  776. *Font Symbol: Special "(001.007S)" Special ROM
  777. *Font Times-Bold: Standard "(001.007S)" Standard ROM
  778. *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
  779. *Font Times-Italic: Standard "(001.007S)" Standard ROM
  780. *Font Times-Roman: Standard "(001.007S)" Standard ROM
  781. *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
  782. *Font ZapfDingbats: Special "(001.004S)" Special ROM
  783. *?FontQuery: "
  784.    save
  785.    { count 1 gt
  786.       { exch dup 127 string cvs (/) print print (:) print
  787.       /Font resourcestatus {pop pop (Yes)} {(No)} ifelse =
  788.       } { exit } ifelse
  789.    } bind loop
  790.    (*) = flush
  791.    restore
  792. "
  793. *End
  794.  
  795. *?FontList: "
  796.    save
  797.      (*) {cvn ==} 128 string /Font resourceforall
  798.      (*) = flush
  799.    restore
  800. "
  801. *End
  802.  
  803. *%=== Printer Messages (verbatim from printer): ================
  804. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  805. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  806. *Message: "\FontName\ not found, using Courier"
  807.  
  808. *% Status (format: %%[ status: <one of these> ] %%)
  809. *Status: "warming up"/warming up
  810. *Status: "idle"/idle
  811. *Status: "busy"/busy
  812. *Status: "waiting"/waiting
  813. *Status: "printing"/printing
  814. *Status: "initializing"/initializing
  815. *Status: "printing test page"/printing test page
  816. *Status: "PrinterError: cover open or no toner cartridge"/cover open or no toner cartridge
  817. *Status: "PrinterError: cover open"/cover open
  818. *Status: "PrinterError: needs attention"/needs attention
  819. *Status: "PrinterError: no toner cartridge"/no toner cartridge
  820. *Status: "PrinterError: warming up"/warming up
  821. *Status: "PrinterError: manual feed"/manual feed
  822. *Status: "PrinterError: out of paper"/out of paper
  823. *Status: "PrinterError: Paper Jam"/Paper Jam
  824. *Status: "PrinterError: paper jam"/paper jam
  825. *Status: "PrinterError: page protect needed"/page protect needed
  826. *Status: "PrinterError: out of memory"/out of memory
  827. *Status: "PrinterError: output bin full"/output bin full
  828. *Status: "PrinterError: resetting printer"/resetting printer
  829. *Status: "PrinterError: toner is low"/toner is low
  830. *Status: "PrinterError: off line"/off line
  831.  
  832. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  833. *PrinterError: "cover open or no toner cartridge"/cover open or no toner cartridge
  834. *PrinterError: "cover open"/cover open
  835. *PrinterError: "needs attention"/needs attention
  836. *PrinterError: "no toner cartridge"/no toner cartridge
  837. *PrinterError: "warming up"/warming up
  838. *PrinterError: "manual feed"/manual feed
  839. *PrinterError: "out of paper"/out of paper
  840. *PrinterError: "Paper Jam"/Paper Jam
  841. *PrinterError: "paper jam"/paper jam
  842. *PrinterError: "page protect needed"/page protect needed
  843. *PrinterError: "out of memory"/out of memory
  844. *PrinterError: "output bin full"/output bin full
  845. *PrinterError: "resetting printer"/resetting printer
  846. *PrinterError: "toner is low"/toner is low
  847. *PrinterError: "off line"/off line
  848.  
  849. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  850. *Source: "BiTronics"/BiTronics
  851. *Source: "other I/O"/other I/O
  852. *Source: "AppleTalk"/AppleTalk
  853. *Source: "APPLETALK"/AppleTalk
  854. *Source: "ATALK"/AppleTalk
  855. *Source: "LocalTalk"/LocalTalk
  856. *Source: "Parallel"/Parallel
  857. *Source: "EtherTalk"/EtherTalk
  858. *Source: "NOVELL"/NOVELL
  859. *Source: "DLC/LLC"/DLC/LLC
  860. *Source: "ETALK"/EtherTalk
  861. *Source: "TCP/IP"/TCP/IP
  862.  
  863. *Password: "()"
  864. *ExitServer: "
  865.  count 0 eq
  866.  { false } { true exch startjob } ifelse
  867.  not {
  868.      (WARNING: Cannot modify initial VM.) =
  869.      (Missing or invalid password.) =
  870.      (Please contact the author of this software.) = flush quit
  871.      } if
  872. "
  873. *End
  874. *Reset: "
  875.   count 0 eq { false } { true exch startjob } ifelse
  876.   not {
  877.     (WARNING: Cannot reset printer.) =
  878.     (Missing or invalid password.) =
  879.     (Please contact the author of this software.) = flush quit
  880.     } if
  881.   systemdict /quit get exec
  882.   (WARNING : Printer Reset Failed.) = flush
  883. "
  884. *End
  885.  
  886. *% =======================================
  887. *% For "HP LaserJet 4000 Series" version 2014.108
  888. *% =======================================
  889.