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.

888 lines
33 KiB

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