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.

904 lines
27 KiB

  1. *PPD-Adobe: "4.3"
  2. *%================================================
  3. *% Copyright(C) 1997 Brother Industries, Ltd.
  4. *% "Brother HS-5300 series BR-Script2"
  5. *%================================================
  6. *%==== General Information Keywords ========================
  7. *FormatVersion: "4.3"
  8. *FileVersion: "0.07"
  9. *LanguageEncoding: ISOLatin1
  10. *LanguageVersion: English
  11. *PCFileName: "BROHS53.PPD"
  12. *Product: "(Brother HS-5000 series)"
  13. *PSVersion: "(2011.110) 2"
  14. *ModelName: "Brother HS-5300 BR-Script2"
  15. *NickName: "Brother HS-5300 BR-Script2"
  16. *%==== Basic Device Capabilities =============
  17. *LanguageLevel: "2"
  18. *TTRasterizer: Type42
  19. *Protocols: TBCP PJL
  20. *ColorDevice: True
  21. *DefaultColorSpace: CMYK
  22. *FileSystem: True
  23. *?FileSystem:"
  24. save
  25. false
  26. (%disk?%) {
  27. currentdevparams dup /Writeable known
  28. {/Writeable get {pop true} if} {pop} ifelse
  29. } 10 string /IODevice resourceforall
  30. {(True)}{(False)} ifelse = flush
  31. restore
  32. "
  33. *End
  34. *Throughput: "4"
  35. *%==== Installable Options ===================
  36. *OpenGroup: InstallableOptions/Options Installed
  37. *OpenUI *InstalledMemory/Printer Memory: PickOne
  38. *DefaultInstalledMemory: 24Meg
  39. *InstalledMemory 24Meg/24 MB: ""
  40. *InstalledMemory 32Meg/32 MB: ""
  41. *InstalledMemory 48Meg/48 MB: ""
  42. *InstalledMemory 64Meg/64 MB: ""
  43. *InstalledMemory 80Meg/80 MB: ""
  44. *InstalledMemory 96Meg/96 MB: ""
  45. *InstalledMemory 112Meg/112 MB: ""
  46. *CloseUI: *InstalledMemory
  47. *CloseGroup: InstallableOptions
  48. *%==== JCL Features ==========================
  49. *JCLBegin: "<1B>%-12345X@PJL JOB<0A>"
  50. *JCLToPSInterpreter: "@PJL ENTER LANGUAGE = POSTSCRIPT <0A>"
  51. *JCLEnd: "<1B>%-12345X@PJL EOJ <0A><1B>%-12345X"
  52. *JCLOpenUI *JCLSleep1/Econo Power Save [min.]: PickOne
  53. *DefaultJCLSleep1: PrinterDefault
  54. *OrderDependency: 10 JCLSetup *JCLSleep1
  55. *JCLSleep1 PrinterDefault/Printer Default: ""
  56. *JCLSleep1 2minutes/2: "@PJL SET ECONOPWTIME = 2<0A>"
  57. *JCLSleep1 10minutes/10: "@PJL SET ECONOPWTIME = 10<0A>"
  58. *JCLSleep1 30minutes/30: "@PJL SET ECONOPWTIME = 30<0A>"
  59. *JCLCloseUI: *JCLSleep1
  60. *JCLOpenUI *JCLSleep2/Power Save [min.]: PickOne
  61. *DefaultJCLSleep2: PrinterDefault
  62. *OrderDependency: 20 JCLSetup *JCLSleep2
  63. *JCLSleep2 PrinterDefault/Printer Default: ""
  64. *JCLSleep2 2minutes/2: "@PJL SET TIMEOUTSLEEP = 2<0A>"
  65. *JCLSleep2 10minutes/10: "@PJL SET TIMEOUTSLEEP = 10<0A>"
  66. *JCLSleep2 30minutes/30: "@PJL SET TIMEOUTSLEEP = 30<0A>"
  67. *JCLCloseUI: *JCLSleep2
  68. *%==== Media Selection ======================
  69. *OpenUI *PageSize: PickOne
  70. *OrderDependency: 70 AnySetup *PageSize
  71. *DefaultPageSize: Letter
  72. *PageSize Letter/Letter: "<< /PageSize [612 792] /ImagingBBox null >> setpagedevice"
  73. *PageSize Legal/Legal: "<< /PageSize [612 1008] /ImagingBBox null >> setpagedevice"
  74. *PageSize A4/A4: "<< /PageSize [595 842] /ImagingBBox null >> setpagedevice"
  75. *PageSize Envelope.297.684/Comm #10: "<< /PageSize [297 684] /ImagingBBox null >> setpagedevice"
  76. *PageSize Envelope.312.624/DL: "<< /PageSize [312 624] /ImagingBBox null >> setpagedevice"
  77. *PageSize Envelope.459.649/C5: "<< /PageSize [459 649] /ImagingBBox null >> setpagedevice"
  78. *?PageSize: "/sr save def
  79. statusdict begin
  80. mark
  81. [612 792](Letter)
  82. [612 1008](Legal)
  83. [595 842](A4)
  84. [297 684](Envelope.297.684/Com #10)
  85. [312 624](Envelope.312.624/DL)
  86. [459 649](Envelope.459.649/C5)
  87. currentpagedevice begin PageSize
  88. 0 1 49
  89. { pop dup 4 -1 roll dup 0 get dup 3 -1 roll 1 get dup
  90. 5 -1 roll dup 0 get dup 3 -1 roll 1 get dup
  91. 1 add exch 1 sub
  92. 5 -1 roll le exch 5 -1 roll ge and
  93. 5 1 roll
  94. 1 add exch 1 sub
  95. 4 -1 roll le exch 3 -1 roll ge and
  96. and
  97. { pop
  98. 1 dict begin
  99. /a exch def
  100. a = flush
  101. end exit
  102. }
  103. { exch pop
  104. }ifelse
  105. }for
  106. cleartomark end sr restore
  107. "
  108. *End
  109. *CloseUI: *PageSize
  110. *OpenUI *PageRegion: PickOne
  111. *OrderDependency: 80 AnySetup *PageRegion
  112. *DefaultPageRegion: Letter
  113. *PageRegion Letter/Letter: "<< /PageSize [612 792] /ImagingBBox null >> setpagedevice"
  114. *PageRegion Legal/Legal: "<< /PageSize [612 1008] /ImagingBBox null >> setpagedevice"
  115. *PageRegion A4/A4: "<< /PageSize [595 842] /ImagingBBox null >> setpagedevice"
  116. *PageRegion Envelope.297.684/Comm #10: "<< /PageSize [297 684] /ImagingBBox null >> setpagedevice"
  117. *PageRegion Envelope.312.624/DL: "<< /PageSize [312 624] /ImagingBBox null >> setpagedevice"
  118. *PageRegion Envelope.459.649/C5: "<< /PageSize [459 649] /ImagingBBox null >> setpagedevice"
  119. *CloseUI: *PageRegion
  120. *DefaultImageableArea: Letter
  121. *ImageableArea Letter/Letter: "12.0 17.88 599.88 774.0"
  122. *ImageableArea Legal/Legal: "12.0 17.88 599.88 990.0"
  123. *ImageableArea A4/A4: "12.0 17.88 582.88 824.0"
  124. *ImageableArea Envelope.297.684/Comm #10: "12.0 17.88 284.88 612.0"
  125. *ImageableArea Envelope.312.624/DL: "12.0 17.88 299.88 552.0"
  126. *ImageableArea Envelope.459.649/C5: "12.0 17.88 446.88 577.0"
  127. *?ImageableArea: "
  128. /sr save def
  129. /pr
  130. {{ceiling exch ceiling}
  131. {floor exch floor}ifelse
  132. psub psub
  133. }def
  134. /psub {cvi =string cvs print ( ) print} def
  135. initgraphics clippath pathbbox
  136. 4 2 roll true pr false pr flush
  137. sr restore
  138. "
  139. *End
  140. *%==== Information About Media Sizes ========
  141. *DefaultPaperDimension: Letter
  142. *PaperDimension Letter/Letter: "612 792"
  143. *PaperDimension Legal/Legal: "612 1008"
  144. *PaperDimension A4/A4: "595 842"
  145. *PaperDimension Envelope.297.684/Comm #10: "297 684"
  146. *PaperDimension Envelope.312.624/DL: "312 624"
  147. *PaperDimension Envelope.459.649/C5: "459 649"
  148. *End
  149. *MaxMediaWidth: "612"
  150. *HWMargins: 18 18 18 18
  151. *%==== Custom Page SIzes ====================
  152. *CustomPageSize True: "
  153. pop
  154. pop
  155. pop
  156. 3 dict begin
  157. /DeferredMediaSelection true def
  158. 2 array astore /PageSize exch def
  159. /ImagingBBox null def
  160. currentdict end setpagedevice
  161. "
  162. *End
  163. *ParamCustomPageSize Width: 1 points 198 612
  164. *ParamCustomPageSize Height: 2 points 360 1008
  165. *ParamCustomPageSize WidthOffset: 3 points 0 0
  166. *ParamCustomPageSize HeightOffset: 4 points 0 0
  167. *ParamCustomPageSize Orientation: 5 int 0 0
  168. *%==== 5.13 Media Handling Features ============================
  169. *OpenUI *BRMediaType/Media Type: PickOne
  170. *OrderDependency: 90 AnySetup *BRMediaType
  171. *DefaultBRMediaType: Plain
  172. *BRMediaType Recommended/Recommended Paper: "
  173. currentpagedevice /InputAttributes get 0 get
  174. begin /MediaType(Regular)store end
  175. currentpagedevice /InputAttributes get 1 known{
  176. currentpagedevice /InputAttributes get 1 get
  177. begin /MediaType(Regular)store end
  178. }if
  179. "
  180. *End
  181. *BRMediaType Plain/Plain Paper: "
  182. currentpagedevice /InputAttributes get 0 get
  183. begin /MediaType(Other)store end
  184. currentpagedevice /InputAttributes get 1 known{
  185. currentpagedevice /InputAttributes get 1 get
  186. begin /MediaType(Other)store end
  187. }if
  188. "
  189. *End
  190. *BRMediaType Thick/Thick Paper: "
  191. currentpagedevice /InputAttributes get 0 get
  192. begin /MediaType(Thick)store end
  193. currentpagedevice /InputAttributes get 1 known{
  194. currentpagedevice /InputAttributes get 1 get
  195. begin /MediaType(Thick)store end
  196. }if
  197. "
  198. *End
  199. *BRMediaType Transparency/Transparency: "
  200. currentpagedevice /InputAttributes get 0 get
  201. begin /MediaType(Transparency)store end
  202. currentpagedevice /InputAttributes get 1 known{
  203. currentpagedevice /InputAttributes get 1 get
  204. begin /MediaType(Transparency)store end
  205. }if
  206. "
  207. *End
  208. *?BRMediaType: "save (Unknown) = flush restore"
  209. *End
  210. *CloseUI: *BRMediaType
  211. *OpenUI *InputSlot: PickOne
  212. *OrderDependency: 50 AnySetup *InputSlot
  213. *DefaultInputSlot: AutoSelect
  214. *InputSlot AutoSelect/Auto: "<</BRTraysw true >> setpagedevice"
  215. *InputSlot Upper/Feeder1: "<</BRTraysw false /BRFeeder 0>> setpagedevice"
  216. *InputSlot Lower/Feeder2: "<</BRTraysw false /BRFeeder 1>> setpagedevice"
  217. *?InputSlot: "
  218. (Unknown) = flush
  219. "
  220. *End
  221. *CloseUI: *InputSlot
  222. *RequiresPageRegion All:True
  223. *DefaultOutputBin: OnlyOne
  224. *OpenUI *ManualFeed: Boolean
  225. *OrderDependency: 60 AnySetup *ManualFeed
  226. *DefaultManualFeed: False
  227. *ManualFeed True: "
  228. <</ManualFeed true>> setpagedevice
  229. "
  230. *End
  231. *ManualFeed False: "
  232. <</ManualFeed false>> setpagedevice
  233. "
  234. *End
  235. *?ManualFeed: "save
  236. currentpagedevice /ManualFeed get
  237. {(True)}{(False)}ifelse = flush
  238. restore"
  239. *End
  240. *CloseUI: *ManualFeed
  241. *%==== 5.17 Gray Levels and Halftoninig ========================
  242. *AccurateScreenSupport: False
  243. *ScreenFreq: "60.0"
  244. *ScreenAngle: "0.0"
  245. *DefaultScreenProc: Dot
  246. *ScreenProc Dot: "{1.0 add 180 mul 1 add sin 0.001 add exch 1.0 add 180 mul 2 add sin mul}"
  247. *DefaultTransfer: Null
  248. *Transfer Null: "{}"
  249. *Transfer Null.Inverse: "{1 exch sub}"
  250. *%==== 5.18 Color Issues =======================================
  251. *% BlackSubstitution -> Original UI
  252. *%==== 5.19 Color Separation Keywords ==========================
  253. *DefaultColorSep: ProcessBlack
  254. *ColorSepScreenFreq ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  255. *ColorSepScreenFreq CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  256. *ColorSepScreenFreq ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  257. *ColorSepScreenFreq ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  258. *ColorSepScreenFreq ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "66.6667"
  259. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  260. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  261. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  262. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  263. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  264. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  265. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  266. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  267. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi:"47.4342"
  268. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  269. *ColorSepScreenAngle ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  270. *ColorSepScreenAngle CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  271. *ColorSepScreenAngle ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "71.5651"
  272. *ColorSepScreenAngle ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "18.4349"
  273. *ColorSepScreenAngle ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "0.0"
  274. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  275. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  276. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  277. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  278. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  279. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  280. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  281. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  282. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  283. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  284. *End
  285. *InkName: ProcessBlack/Process Black
  286. *InkName: CustomColor/Custom Color
  287. *InkName: ProcessCyan/Process Cyan
  288. *InkName: ProcessMagenta/Process Magenta
  289. *InkName: ProcessYellow/Process Yellow
  290. *%==== 5.20 Font Related Keywords ==============================
  291. *DefaultFont: Courier
  292. *Font Times-Bold: Standard "(001.007S)" Standard ROM
  293. *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
  294. *Font Times-Italic: Standard "(001.007S)" Standard ROM
  295. *Font Times-Roman: Standard "(001.007S)" Standard ROM
  296. *Font Helvetica: Standard "(001.006S)" Standard ROM
  297. *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
  298. *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
  299. *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
  300. *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
  301. *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
  302. *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
  303. *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
  304. *Font Courier: Standard "(002.004S)" Standard ROM
  305. *Font Courier-Bold: Standard "(002.004S)" Standard ROM
  306. *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
  307. *Font Courier-Oblique: Standard "(002.004S)" Standard ROM
  308. *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
  309. *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
  310. *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
  311. *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
  312. *Font Bookman-Demi: Standard "(001.004S)" Standard ROM
  313. *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
  314. *Font Bookman-Light: Standard "(001.004S)" Standard ROM
  315. *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
  316. *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
  317. *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
  318. *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
  319. *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
  320. *Font Palatino-Bold: Standard "(001.005S)" Standard ROM
  321. *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
  322. *Font Palatino-Italic: Standard "(001.005S)" Standard ROM
  323. *Font Palatino-Roman: Standard "(001.005S)" Standard ROM
  324. *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
  325. *Font ZapfDingbats: Special "(001.004S)" Special ROM
  326. *Font Symbol: Special "(001.007S)" Special ROM
  327. *Font Alaska: Standard "(001.005)" Standard ROM
  328. *Font AlaskaExtrabold: Standard "(001.005)" Standard ROM
  329. *Font AntiqueOakland: Standard "(001.005)" Standard ROM
  330. *Font AntiqueOakland-Bold: Standard "(001.005)" Standard ROM
  331. *Font AntiqueOakland-Oblique: Standard "(001.005)" Standard ROM
  332. *Font ClevelandCondensed: Standard "(001.005)" Standard ROM
  333. *Font Connecticut: Standard "(001.005)" Standard ROM
  334. *Font Guatemala-Antique: Standard "(001.005)" Standard ROM
  335. *Font Guatemala-Bold: Standard "(001.005)" Standard ROM
  336. *Font Guatemala-Italic: Standard "(001.005)" Standard ROM
  337. *Font Guatemala-BoldItalic: Standard "(001.005)" Standard ROM
  338. *Font LetterGothic: Standard "(001.005)" Standard ROM
  339. *Font LetterGothic-Bold: Standard "(001.005)" Standard ROM
  340. *Font LetterGothic-Oblique: Standard "(001.005)" Standard ROM
  341. *Font Maryland: Standard "(001.005)" Standard ROM
  342. *Font Oklahoma: Standard "(001.005)" Standard ROM
  343. *Font Oklahoma-Bold: Standard "(001.005)" Standard ROM
  344. *Font Oklahoma-Oblique: Standard "(001.005)" Standard ROM
  345. *Font Oklahoma-BoldOblique: Standard "(001.005)" Standard ROM
  346. *Font Utah: Standard "(001.005)" Standard ROM
  347. *Font Utah-Bold: Standard "(001.005)" Standard ROM
  348. *Font Utah-Oblique: Standard "(001.005)" Standard ROM
  349. *Font Utah-BoldOblique: Standard "(001.005)" Standard ROM
  350. *Font UtahCondensed: Standard "(001.005)" Standard ROM
  351. *Font UtahCondensed-Bold: Standard "(001.005)" Standard ROM
  352. *Font UtahCondensed-Oblique: Standard "(001.004)" Standard ROM
  353. *Font UtahCondensed-BoldOblique: Standard "(001.005)" Standard ROM
  354. *Font BermudaScript: Standard "(001.005)" Standard ROM
  355. *Font Germany: Standard "(001.005)" Standard ROM
  356. *Font SanDiego: Standard "(001.005)" Standard ROM
  357. *Font US-Roman: Standard "(001.005)" Standard ROM
  358. *?FontQuery: "
  359. save
  360. count 1 gt
  361. {exch dup dup
  362. =string cvs (/) print print (:) print
  363. FontDirectory exch known
  364. {pop(Yes)}
  365. {(fonts/)AppendName exch pop mark exch
  366. {}=string filenameforall counttomark
  367. 0 gt
  368. {cleartomark(Yes)}
  369. {cleartomark(No)}ifelse
  370. }ifelse
  371. =
  372. }if
  373. (*) = flush
  374. restore
  375. "
  376. *End
  377. *?FontList: "
  378. save
  379. FontDirectory{pop ==}forall
  380. (fonts/*)
  381. {dup length 6 sub 6 exch getinterval cvn ==
  382. }=string filenameforall
  383. (*) = flush
  384. restore
  385. "
  386. *End
  387. *%==== 5.21 Printer Messages ===================================
  388. *%
  389. *% Printer Message
  390. *%
  391. *PrinterError: "service call"
  392. *PrinterError: "cover open"
  393. *PrinterError: "end of ink"
  394. *PrinterError: "out of maintenance paper"
  395. *PrinterError: "out of paper"
  396. *PrinterError: "paper jam"
  397. *PrinterError: "manual feed time out"
  398. *PrinterError: "load paper letter size"
  399. *PrinterError: "load paper legal size"
  400. *PrinterError: "load paper B5 size"
  401. *PrinterError: "load paper A4 size"
  402. *PrinterError: "offline"
  403. *Status: "idle"
  404. *Status: "busy"
  405. *Status: "waiting"
  406. *Status: "printing"
  407. *Status: "warming up"
  408. *Status: "PrinterError: service call"
  409. *Status: "PrinterError: cover open"
  410. *Status: "PrinterError: end of ink"
  411. *Status: "PrinterError: out of paper"
  412. *Status: "PrinterError: paper jam"
  413. *Status: "PrinterError: manual feed time out"
  414. *Status: "PrinterError: load paper letter size"
  415. *Status: "PrinterError: load paper legal size"
  416. *Status: "PrinterError: load paper B5 size"
  417. *Status: "PrinterError: load paper A4 size"
  418. *Status: "PrinterError: offline"
  419. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  420. *Source: "Serial"
  421. *Source: "Parallel"
  422. *Source: "EtherTalk"
  423. *Source: "LPR"
  424. *Source: "PrintServer"
  425. *Source: "Internal"
  426. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  427. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  428. *Message: "\FontName\ not found, using BR-03B."
  429. *%==== 5.22 System Management ==================================
  430. *FreeVM: "2700000"
  431. *VMOption 24Meg/24 MB: "2700000"
  432. *VMOption 32Meg/32 MB: "3500000"
  433. *VMOption 48Meg/48 MB: "6000000"
  434. *VMOption 64Meg/64 MB: "10000000"
  435. *VMOption 80Meg/80 MB: "16000000"
  436. *VMOption 96Meg/96 MB: "20000000"
  437. *VMOption 112Meg/112 MB: "24000000"
  438. *Password: "0"
  439. *ExitServer: "
  440. serverdict begin 0 exitserver
  441. "
  442. *End
  443. *Reset: "
  444. clear cleardictstack
  445. serverdict begin 0 exitserver
  446. systemdict /quit get exec
  447. "
  448. *End
  449. *%==== BR-Script Original UI ==================================
  450. *OpenUI *BRProcessColor/Color/Mono: PickOne
  451. *OrderDependency: 40 AnySetup *BRProcessColor
  452. *DefaultBRProcessColor: Color
  453. *BRProcessColor Color/Color: "<</BRProcessColor 3>>setpagedevice"
  454. *BRProcessColor Black/Mono: "<</BRProcessColor 1>>setpagedevice"
  455. *?BRProcessColor: "
  456. save
  457. currentpagedevice /BRProcessColor get 1 eq
  458. {(Black)}{(Color)}ifelse
  459. = flush
  460. restore
  461. "
  462. *End
  463. *CloseUI: *BRProcessColor
  464. *OpenUI *ColorAdjust/Color Matching: PickOne
  465. *OrderDependency: 110 DocumentSetup *ColorAdjust
  466. *DefaultColorAdjust: VIVID
  467. *ColorAdjust NONE/Off: "
  468. %ColorAdjust NONE
  469. <<
  470. /EndPage
  471. [ currentpagedevice /EndPage get aload pop 0 /setgray cvx ] cvx bind
  472. /BRLut 0
  473. >> setpagedevice
  474. "
  475. *End
  476. *ColorAdjust VIVID/Graph/Text(Vivid): "
  477. %ColorAdjust VIVID
  478. <<
  479. /EndPage
  480. [ currentpagedevice /EndPage get aload pop 0 /setgray cvx ] cvx bind
  481. /BRLut 1
  482. >> setpagedevice
  483. "
  484. *End
  485. *ColorAdjust PHOTO/Photo(Match Monitor): "
  486. userdict begin
  487. <<
  488. /EndPage
  489. [ currentpagedevice /EndPage get aload pop 0 /setgray cvx ] cvx bind
  490. /BRLut 2
  491. >> setpagedevice
  492. /bd{
  493. bind def
  494. } bind def
  495. /ld{load def}bd
  496. %/DefaultColorRendering /ColorRendering findresource setcolorrendering
  497. /HS1PS2DispCMMSpace
  498. [/CIEBasedABC 3 dict begin
  499. /DecodeLMN [ {1.8 exp}bind dup dup ] def
  500. /MatrixLMN [
  501. 0.3870 0.2074 0.0125
  502. 0.3251 0.6806 0.0838
  503. 0.2521 0.112 0.7286
  504. ] def
  505. /WhitePoint [0.9642 1 0.8249] def
  506. currentdict end
  507. ] def
  508. /$c HS1PS2DispCMMSpace def
  509. /setrgbcolor { currentcolorspace 0 get /CIEBasedABC eq
  510. {}
  511. {HS1PS2DispCMMSpace setcolorspace} ifelse
  512. setcolor
  513. } bd
  514. /minimumINK {
  515. 2 copy gt { exch pop } { pop } ifelse
  516. } bd
  517. /$$$___setcmykcolor {
  518. /hs1ps2K exch def /hs1ps2Y exch def /hs1ps2M exch def /hs1ps2C exch def
  519. currentcolorspace 0 get /CIEBasedABC eq
  520. {}
  521. {HS1PS2DispCMMSpace setcolorspace} ifelse
  522. 1 1 hs1ps2K hs1ps2C add minimumINK sub
  523. 1 1 hs1ps2K hs1ps2M add minimumINK sub
  524. 1 1 hs1ps2K hs1ps2Y add minimumINK sub setcolor
  525. } bd
  526. /currentrgbcolor
  527. {
  528. currentcolorspace $c eq
  529. { currentcolor }
  530. { systemdict /currentrgbcolor get exec } ifelse
  531. }
  532. bd
  533. /$$$___currentcmykcolor
  534. {
  535. currentcolorspace $c eq {
  536. currentcolor
  537. 1 sub neg 3 1 roll
  538. 1 sub neg 3 1 roll
  539. 1 sub neg 3 1 roll
  540. 3 copy add add 3 eq { 1 } { 0 } ifelse
  541. }{
  542. systemdict /currentcmykcolor get exec
  543. } ifelse
  544. } bd
  545. /sethsbcolor{
  546. /DeviceRGB setcolorspace systemdict /sethsbcolor get exec
  547. } bd
  548. /currenthsbcolor{
  549. currentcolorspace 0 get /CIEBasedABC eq {
  550. currentcolor systemdict /setrgbcolor get exec
  551. systemdict /currenthsbcolor get exec
  552. }{
  553. systemdict /currenthsbcolor get exec
  554. } ifelse
  555. }bd
  556. /colorimage {
  557. dup 3 eq{
  558. save
  559. /hs1ps2imagedict 12 dict def
  560. hs1ps2imagedict begin
  561. /save exch def
  562. /ImageType 1 def
  563. /nComp exch def
  564. /MultipleDataSources 1 index def
  565. { nComp array astore } if
  566. /DataSource exch def
  567. /ImageMatrix exch def
  568. /BitsPerComponent exch def
  569. /Height exch def
  570. /Width exch def
  571. /Decode [ 0 1 0 1 0 1 ] def
  572. /Interpolate false def
  573. end
  574. currentcolorspace 0 get /CIEBasedABC eq
  575. {}
  576. {HS1PS2DispCMMSpace setcolorspace} ifelse
  577. hs1ps2imagedict systemdict /image get exec
  578. hs1ps2imagedict /save get
  579. restore
  580. }
  581. {
  582. dup 999 eq
  583. 2 index {8}{5}ifelse index 8 eq and
  584. { % cmyk
  585. pop
  586. save
  587. /hs1ps2imagedict 19 dict def
  588. hs1ps2imagedict begin
  589. /save exch def
  590. /ImageType 1 def
  591. /nComp 3 def
  592. /MultipleOriginalDataSources 1 index def
  593. {
  594. dup type /arraytype eq
  595. {
  596. /MultipleDataSources true def
  597. /DataSource
  598. [
  599. {
  600. hs1ps2imagedict begin
  601. DataOriginalSource 0 get exec
  602. /DataR exch def
  603. DataOriginalSource 1 get exec
  604. /DataG exch def
  605. DataOriginalSource 2 get exec
  606. /DataB exch def
  607. DataOriginalSource 3 get exec
  608. dup length 1 sub
  609. [ DataR DataG DataB ]
  610. {
  611. 0 1 3 index
  612. {
  613. 1 index 1 index get
  614. 4 index 2 index get
  615. add 255 exch sub dup 0 lt
  616. {pop 0} if
  617. 2 index 3 1 roll put
  618. }for
  619. pop
  620. } forall
  621. pop pop
  622. DataR
  623. end
  624. } bind
  625. {
  626. hs1ps2imagedict /DataG get
  627. }
  628. {
  629. hs1ps2imagedict /DataB get
  630. }
  631. ] bind def
  632. }
  633. {
  634. dup type /stringtype eq
  635. {
  636. 4 { 0 () /SubFileDecode filter 4 1 roll } repeat
  637. }if
  638. /MultipleDataSources false def
  639. /DataRetBuf 3 string def
  640. /DataSource
  641. {
  642. hs1ps2imagedict /DataOriginalSource get
  643. dup 0 get read not {0} if
  644. exch dup 1 get read not {0} if
  645. exch dup 2 get read not {0} if
  646. exch 3 get read not {0} if
  647. 4 1 roll % k c m y
  648. 3 { 3 index add 255 exch sub dup 0 lt
  649. {pop 0} if 3 1 roll } repeat
  650. hs1ps2imagedict /DataRetBuf get
  651. dup 2 4 -1 roll put
  652. dup 1 4 -1 roll put
  653. dup 0 4 -1 roll put
  654. exch pop
  655. } bind def
  656. }ifelse
  657. 4 array astore
  658. }
  659. {
  660. dup type /arraytype eq
  661. {
  662. /MultipleDataSources false def
  663. /DataSource
  664. {
  665. hs1ps2imagedict /DataOriginalSource get exec
  666. dup length 1 sub
  667. 0 4 3 -1 roll
  668. {
  669. 1 index 1 index get %() i c
  670. 2 index 2 index 3 add get %() i c k
  671. pstack
  672. add 255 exch sub dup 0 lt
  673. {pop 0} if %() i r
  674. 2 index 2 index 4 idiv 3 mul
  675. 3 -1 roll put %() i r () i
  676. 1 index 1 index 1 add get %() i m
  677. 2 index 2 index 3 add get %() i m k
  678. add 255 exch sub dup 0 lt
  679. {pop 0} if %() i g
  680. 2 index 2 index 4 idiv 3 mul 1 add
  681. 3 -1 roll put %() i g () i
  682. 1 index 1 index 2 add get %() i y
  683. 2 index 2 index 3 add get %() i y k
  684. add 255 exch sub dup 0 lt
  685. {pop 0} if %() i b
  686. exch 4 idiv 3 mul 2 add exch 2 index
  687. 3 1 roll put %() b i ()
  688. }for
  689. dup length 4 idiv 3 mul 0 exch getinterval
  690. } bind def
  691. }
  692. {
  693. dup type /stringtype eq
  694. {
  695. 0 () /SubFileDecode filter
  696. }if
  697. /MultipleDataSources false def
  698. /DataRetBuf 3 string def
  699. /DataSource
  700. {
  701. hs1ps2imagedict /DataOriginalSource get
  702. dup read not {0} if
  703. exch dup read not {0} if
  704. exch dup read not {0} if
  705. exch read not {0} if
  706. 4 1 roll % k c m y
  707. 3 { 3 index add 255 exch sub dup 0 lt
  708. {pop 0} if 3 1 roll } repeat
  709. hs1ps2imagedict /DataRetBuf get
  710. dup 2 4 -1 roll put
  711. dup 1 4 -1 roll put
  712. dup 0 4 -1 roll put
  713. exch pop
  714. } bind def
  715. }ifelse
  716. }ifelse
  717. /DataOriginalSource exch def
  718. /ImageMatrix exch def
  719. /BitsPerComponent exch def
  720. /Height exch def
  721. /Width exch def
  722. /Decode [ 0 1 0 1 0 1 ] def
  723. /Interpolate false def
  724. end
  725. currentcolorspace 0 get /CIEBasedABC eq
  726. {}
  727. {HS1PS2DispCMMSpace setcolorspace} ifelse
  728. hs1ps2imagedict systemdict /image get exec
  729. hs1ps2imagedict /save get
  730. restore
  731. }
  732. {
  733. systemdict /colorimage get exec
  734. } ifelse
  735. } ifelse
  736. }bd
  737. /image {
  738. dup type /dicttype eq {
  739. dup /Decode get length 2 idiv dup 3 eq {
  740. pop
  741. currentcolorspace 0 get /CIEBasedABC eq
  742. {}
  743. {HS1PS2DispCMMSpace setcolorspace} ifelse
  744. systemdict /image get exec
  745. }
  746. {
  747. 999 eq {
  748. currentcolorspace 0 get /CIEBasedABC eq
  749. {}
  750. {HS1PS2DispCMMSpace setcolorspace} ifelse
  751. dup /Width get exch
  752. dup /Height get exch
  753. dup /BitsPerComponent get exch
  754. dup /ImageMatrix get exch
  755. dup /DataSource get exch
  756. /MultipleDataSources get
  757. {
  758. aload pop
  759. true
  760. }
  761. {
  762. false
  763. }ifelse
  764. 4
  765. colorimage
  766. }
  767. {
  768. systemdict /image get exec
  769. }ifelse
  770. }ifelse
  771. }
  772. {
  773. systemdict /image get exec
  774. }ifelse
  775. } bd
  776. end
  777. "
  778. *End
  779. *?ColorAdjust: ""
  780. *End
  781. *CloseUI: *ColorAdjust
  782. *OpenUI *ScreenLock/Halftone Screen Lock: Boolean
  783. *OrderDependency: 100 AnySetup *ScreenLock
  784. *DefaultScreenLock: True
  785. *ScreenLock True/On: "
  786. <</BRScreenLock true >> setpagedevice
  787. "
  788. *End
  789. *ScreenLock False/Off: "
  790. <</BRScreenLock false >> setpagedevice
  791. "
  792. *End
  793. *?ScreenLock: "
  794. save currentpagedevice /BRScreenLock get
  795. {(True)}{(False)} ifelse
  796. = flush
  797. restore
  798. "
  799. *End
  800. *CloseUI: *ScreenLock
  801. *OpenUI *Enhancement/Enhancement: Boolean
  802. *OrderDependency: 120 AnySetup *Enhancement
  803. *DefaultEnhancement: False
  804. *Enhancement True/On: "
  805. currentpagedevice /InputAttributes get 0 get /MediaType get(Transparency)eq{
  806. <</BRPrintQuality 0>>setpagedevice
  807. }
  808. {
  809. currentpagedevice /HWResolution get 0 get cvi 300 eq{
  810. <</BRPrintQuality 5 >> setpagedevice
  811. }
  812. {
  813. <</BRPrintQuality 2 >> setpagedevice
  814. }ifelse
  815. }ifelse
  816. "
  817. *End
  818. *Enhancement False/Off: "
  819. currentpagedevice /InputAttributes get 0 get /MediaType get(Transparency)eq{
  820. <</BRPrintQuality 2>>setpagedevice
  821. }
  822. {
  823. <</BRPrintQuality 0 >> setpagedevice
  824. }ifelse
  825. "
  826. *End
  827. *?Enhancement: "save (Unknown) = flush restore"
  828. *CloseUI: *Enhancement
  829. *%==== 5.14 Finishing Features =================================
  830. *OpenUI *Resolution: PickOne
  831. *OrderDependency: 30 AnySetup *Resolution
  832. *DefaultResolution: 300dpi
  833. *Resolution 300dpi: "<</HWResolution [300 300] >> setpagedevice"
  834. *Resolution 600dpi: "<</HWResolution [600 600] >> setpagedevice"
  835. *?Resolution: "
  836. /sr save def
  837. initgraphics
  838. matrix defaultmatrix 0 get 72 mul round cvi
  839. =string cvs print (dpi)= flush
  840. sr restore
  841. "
  842. *End
  843. *CloseUI: *Resolution