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.

432 lines
15 KiB

  1. *PPD-Adobe: "4.1"
  2. *% Printer Description File
  3. *% For "Sharp JX-9660PS Laser Printer" ROM version 66PF or later
  4. *% Date: 1/5/94 - G. Andersen
  5. *FormatVersion: "4.1"
  6. *FileVersion: "2.0"
  7. *LanguageEncoding: ISOLatin1
  8. *LanguageVersion: English
  9. *Product: "(PhoenixPage v2.5)"
  10. *ModelName: "Sharp JX-9660PS.PPD"
  11. *PSVersion: "(1.0) 0"
  12. *NickName: "Sharp JX-9660PS 600DPI Laser Printer"
  13. *PCFileName: "JX9660PS.PPD"
  14. *% ===== Basic Capabilities ======================
  15. *LanguageLevel: "1"
  16. *DefaultColorSpace: Gray
  17. *FreeVM: "276500"
  18. *Throughput: "8"
  19. *Protocols: BCP
  20. *%==*ColorDevice: False
  21. *%==*VariablePaperSize: False
  22. *%==*FileSystem: False
  23. *Password: "0"
  24. *ExitServer: "
  25. count 0 eq { % is the password on the stack?
  26. true
  27. }{
  28. dup % potential password
  29. statusdict begin checkpassword end not
  30. } ifelse
  31. { % if no password or not valid
  32. (WARNING : Cannot perform the exitserver command.) =
  33. (Password supplied is not valid.) =
  34. (Please contact the author of this software.) = flush
  35. quit
  36. } if
  37. serverdict begin exitserver
  38. "
  39. *End
  40. *Reset: "
  41. count 0 eq { % is the password on the stack?
  42. true
  43. }{
  44. dup % potential password
  45. statusdict begin checkpassword end not
  46. } ifelse
  47. { % if no password or not valid
  48. (WARNING : Cannot reset printer.) =
  49. (Password supplied is not valid.) =
  50. (Please contact the author of this software.) = flush
  51. quit
  52. } if
  53. serverdict begin exitserver
  54. systemdict /quit get exec
  55. (WARNING : Printer Reset Failed.) = flush
  56. "
  57. *End
  58. *% ===== Resolution ========================
  59. *OpenUI *Resolution:PickOne
  60. *OrderDependency:10 AnySetup *Resolution
  61. *DefaultResolution: 600dpi
  62. *Resolution 600dpi: "
  63. statusdict begin 600 setresolution end"
  64. *End
  65. *Resolution 300dpi: "
  66. statusdict begin 300 setresolution end"
  67. *End
  68. *?Resolution: "
  69. statusdict begin resolution ( ) cvs print (dpi) = flush end"
  70. *End
  71. *CloseUI: *Resolution
  72. *% Halftone Information ===============
  73. *ScreenFreq: "85.0"
  74. *ScreenAngle: "45.0"
  75. *DefaultScreenProc: Dot
  76. *ScreenProc Dot: "
  77. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  78. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  79. "
  80. *End
  81. *ScreenProc Line: "{ pop }"
  82. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  83. *DefaultTransfer: Null
  84. *Transfer Null: "{ }"
  85. *Transfer Null.Inverse: "{ 1 exch sub }"
  86. *Transfer Normalized: "{ }"
  87. *Transfer Normalized.Inverse: "{ 1 exch sub }"
  88. *% Paper Handling ===================
  89. *OpenUI *PageSize: PickOne
  90. *OrderDependency: 20 AnySetup *PageSize
  91. *DefaultPageSize: Letter
  92. *PageSize Letter: "statusdict begin lettertray end"
  93. *PageSize Legal: "statusdict begin legaltray end"
  94. *PageSize A4: "statusdict begin a4tray end"
  95. *PageSize Com10/Com10 Envelope: "statusdict begin com10envelopetray end"
  96. *PageSize Monarch/Monarch Envelope: "statusdict begin monarcenvelopetray end"
  97. *PageSize DL/DL Envelope: "statusdict begin dlenvelopetray end"
  98. *PageSize C5/C5 Envelope: "statusdict begin c5envelopetray end"
  99. *?PageSize: "
  100. save statusdict begin
  101. /PageSize where{ pop
  102. 7 dict begin
  103. /lettertray (Letter) def
  104. /legaltray (Legal) def
  105. /a4tray (A4) def
  106. /com10envelope (Com10) def
  107. /monarcenvelope (Monarch) def
  108. /dlenvelope (DL) def
  109. /c5envelope (C5) def
  110. PageSize {
  111. {load exec} stopped not{= flush}if
  112. }{
  113. {load exec} stopped not{print (.Transverse) = flush}if
  114. }ifelse
  115. end
  116. }{
  117. /pagetype where{pop[(Letter)(Legal)]pagetype dup 1 gt{pop 1}if get = flush}if
  118. }ifelse
  119. end restore
  120. "
  121. *End
  122. *CloseUI: *PageSize
  123. *% These entries will set up the frame buffer. Usually used with manual feed.
  124. *DefaultPageRegion: Letter
  125. *PageRegion Letter: "letter"
  126. *PageRegion Legal: "legal"
  127. *PageRegion A4: "a4"
  128. *PageRegion Com10/Com10 Envelope: "com10envelope"
  129. *PageRegion Monarch/Monarch Envelope: "monarcenvelope"
  130. *PageRegion DL/DL Envelope: "dlenvelope"
  131. *PageRegion C5/C5 Envelope: "c5envelope"
  132. *% These entries will invoke a particular tray--error may occur if tray is not inserted.
  133. *% These errors should be trapped by software and a message displayed
  134. *OpenUI *PaperTray: PickOne
  135. *OrderDependency: 15 AnySetup *PaperTray
  136. *DefaultPaperTray: Letter
  137. *PaperTray Letter: "statusdict begin lettertray end"
  138. *PaperTray Legal: "statusdict begin legaltray end"
  139. *PaperTray A4: "statusdict begin a4tray end"
  140. *PaperTray Com10/Com10 Envelope: "statusdict begin com10envelopetray end"
  141. *PaperTray Monarch/Monarch Envelope: "statusdict begin monarcenvelopetray end"
  142. *PaperTray DL/DL Envelope: "statusdict begin dlenvelopetray end"
  143. *PaperTray C5/C5 Envelope: "statusdict begin c5envelopetray end"
  144. *?PaperTray: "
  145. save statusdict begin
  146. 7 dict begin
  147. /lettertray (Letter) def
  148. /legaltray (Legal) def
  149. /a4tray (A4) def
  150. /com10envelopetray (Com10/Com10 Envelope) def
  151. /monarcenvelopetray (Monarch/Monarch Envelope) def
  152. /dlenvelopetray (DL/DL Envelope) def
  153. /envelopetray (C5/C5 Envelope) def
  154. papersize {
  155. {load exec} stopped not{= flush}if
  156. }{
  157. {load exec} stopped not{print (.Transverse) = flush}if
  158. }ifelse
  159. end
  160. end restore
  161. "
  162. *End
  163. *CloseUI: *PaperTray
  164. *% The following entries provide information about specific paper keywords.
  165. *DefaultImageableArea: Letter
  166. *ImageableArea Letter: "15 8 597 784"
  167. *ImageableArea Legal: "15 8 597 1000"
  168. *ImageableArea A4: "13 10 577 832"
  169. *ImageableArea Com10/Com10 Envelope: "18 15 294 668"
  170. *ImageableArea Monarch/Monarch Envelope: "18 13 278 527"
  171. *ImageableArea DL/DL Envelope: "18 14 309 608"
  172. *ImageableArea C5/C5 Envelope: "18 13 455 634"
  173. *?ImageableArea: "
  174. save /cvp { cvi ( ) cvs print ( ) print } bind def
  175. newpath clippath pathbbox
  176. 4 -2 roll exch 2 {ceiling cvp} repeat
  177. exch 2 {floor cvp} repeat flush
  178. restore
  179. "
  180. *End
  181. *% These provide the physical dimensions of the paper (by keyword)
  182. *DefaultPaperDimension: Letter
  183. *PaperDimension Letter: "612 792"
  184. *PaperDimension Legal: "612 1008"
  185. *PaperDimension A4: "595 842"
  186. *%PaperDimension Com10/Com10 Envelope: "279 540"
  187. *%PaperDimension Monarch/Monarch Envelope: "297 684"
  188. *PaperDimension Com10/Com10 Envelope: "297 684"
  189. *PaperDimension Monarch/Monarch Envelope: "279 540"
  190. *PaperDimension DL/DL Envelope: "312 624"
  191. *PaperDimension C5/C5 Envelope: "459 649"
  192. *% Default Input Slots
  193. *DefaultOutputBin: Upper
  194. *DefaultInputSlot: Upper
  195. *InputSlot Upper: "statusdict begin 0 setpapertray end"
  196. *InputSlot Lower: "statusdict begin 1 setpapertray end"
  197. *InputSlot AutoSelect: "statusdict begin true settrayswitch end"
  198. *?InputSlot: "
  199. save statusdict begin
  200. 3 dict begin
  201. /0 (upper) def
  202. /1 (lower) def
  203. /true settrayswitch (autoselect) def
  204. papertray
  205. {( ) cvs cvn load exec} stopped not{= flush}if
  206. end
  207. end restore
  208. "
  209. *End
  210. *OpenUI *ManualFeed: Boolean
  211. *OrderDependency: 15 AnySetup *ManualFeed
  212. *DefaultManualFeed: False
  213. *?ManualFeed: "statusdict /manualfeed get
  214. {(True)}{(False)}ifelse = flush"
  215. *End
  216. *ManualFeed True: "statusdict begin /manualfeed true store end"
  217. *ManualFeed False: "statusdict begin /manualfeed false store end"
  218. *CloseUI: *ManualFeed
  219. *DefaultOutputOrder: Normal
  220. *DefaultCollator: None
  221. *DefaultSorter: None
  222. *DefaultDuplex: None
  223. *% Font Information =====================
  224. *DefaultFont: Courier
  225. *Font AvantGarde-Book: Standard "(001.001)"
  226. *Font AvantGarde-BookOblique: Standard "(001.001)"
  227. *Font AvantGarde-Demi: Standard "(001.001)"
  228. *Font AvantGarde-DemiOblique: Standard "(001.001)"
  229. *Font Bookman-Demi: Standard "(001.001)"
  230. *Font Bookman-DemiItalic: Standard "(001.001)"
  231. *Font Bookman-Light: Standard "(001.001)"
  232. *Font Bookman-LightItalic: Standard "(001.001)"
  233. *Font Courier: Standard "(001.004)"
  234. *Font Courier-Bold: Standard "(001.004)"
  235. *Font Courier-BoldOblique: Standard "(001.004)"
  236. *Font Courier-Oblique: Standard "(001.004)"
  237. *Font Helvetica: Standard "(001.001)"
  238. *Font Helvetica-Bold: Standard "(001.001)"
  239. *Font Helvetica-BoldOblique: Standard "(001.001)"
  240. *Font Helvetica-Narrow: Standard "(001.000)"
  241. *Font Helvetica-Narrow-Bold: Standard "(001.000)"
  242. *Font Helvetica-Narrow-BoldOblique: Standard "(001.000)"
  243. *Font Helvetica-Narrow-Oblique: Standard "(001.000)"
  244. *Font Helvetica-Oblique: Standard "(001.001)"
  245. *Font NewCenturySchlbk-Bold: Standard "(001.002)"
  246. *Font NewCenturySchlbk-BoldItalic: Standard "(001.001)"
  247. *Font NewCenturySchlbk-Italic: Standard "(001.001)"
  248. *Font NewCenturySchlbk-Roman: Standard "(001.002)"
  249. *Font Palatino-Bold: Standard "(001.000)"
  250. *Font Palatino-BoldItalic: Standard "(001.000)"
  251. *Font Palatino-Italic: Standard "(001.000)"
  252. *Font Palatino-Roman: Standard "(001.000)"
  253. *Font Symbol: Special "(001.001)"
  254. *Font Times-Bold: Standard "(001.001)"
  255. *Font Times-BoldItalic: Standard "(001.001)"
  256. *Font Times-Italic: Standard "(001.001)"
  257. *Font Times-Roman: Standard "(001.001)"
  258. *Font ZapfChancery-MediumItalic: Standard "(001.002)"
  259. *Font ZapfDingbats: Special "(001.000)"
  260. *?FontQuery: "
  261. save 4 dict begin /sv exch def
  262. /str (fonts/ ) def
  263. /st2 30 string def
  264. {
  265. count 0 gt {
  266. dup FontDirectory exch known {pop 1}{
  267. str exch st2 cvs dup length /len exch def
  268. 6 exch putinterval str 0 len 6 add getinterval mark exch
  269. { } st2 filenameforall counttomark 0 gt {
  270. cleartomark 1}{cleartomark 0}ifelse
  271. }ifelse = flush
  272. }{ exit } ifelse
  273. } bind loop sv end restore
  274. "
  275. *End
  276. *?FontList: "
  277. FontDirectory { pop == flush } forall
  278. /filenameforall where {
  279. pop save (fonts/*) {
  280. dup length 6 sub 6 exch getinterval == flush
  281. } 128 string filenameforall restore
  282. } if
  283. (*) = flush
  284. "
  285. *End
  286. *% Printer Messages (verbatim from printer):
  287. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  288. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  289. *Message: "\FontName\ not found, using Courier"
  290. *% Status (format: %%[ status: <one of these> ]%% )
  291. *Status: "idle"
  292. *Status: "busy"
  293. *Status: "waiting"
  294. *Status: "printing"
  295. *Status: "warming up"
  296. *Status: "PrinterError: timeout, clearing printer"
  297. *Status: "PrinterError: warming up"
  298. *Status: "PrinterError: service call"
  299. *Status: "PrinterError: paper entry misfeed"
  300. *Status: "PrinterError: no toner cartridge"
  301. *Status: "PrinterError: paper entry misfeed"
  302. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  303. *Source: "serial25"
  304. *Source: "AppleTalk"
  305. *Source: "Centronics"
  306. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  307. *PrinterError: "timeout, clearing printer"
  308. *PrinterError: "warming up"
  309. *PrinterError: "service call"
  310. *PrinterError: "paper entry misfeed"
  311. *PrinterError: "no toner cartridge"
  312. *PrinterError: "paper entry misfeed"
  313. *% Color Separation Information =====================
  314. *DefaultColorSep: ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi
  315. *InkName: ProcessBlack/Process Black
  316. *InkName: CustomColor/Custom Color
  317. *InkName: ProcessCyan/Process Cyan
  318. *InkName: ProcessMagenta/Process Magenta
  319. *InkName: ProcessYellow/Process Yellow
  320. *% For 60 lpi / 300 dpi ===============================
  321. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  322. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  323. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  324. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  325. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  326. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  327. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  328. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  329. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  330. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  331. *% For 53 lpi / 300 dpi ===============================
  332. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  333. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  334. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  335. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  336. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  337. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  338. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  339. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  340. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  341. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  342. *% For 85 lpi / 600 dpi 5,5,2,6,6,2,20/3,0) =====================
  343. *ColorSepScreenAngle ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  344. *ColorSepScreenAngle CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "45.0"
  345. *ColorSepScreenAngle ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "71.5651"
  346. *ColorSepScreenAngle ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "18.4349"
  347. *ColorSepScreenAngle ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "0.0"
  348. *ColorSepScreenFreq ProcessBlack.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  349. *ColorSepScreenFreq CustomColor.85lpi.600dpi/85 lpi / 600 dpi: "84.8528"
  350. *ColorSepScreenFreq ProcessCyan.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  351. *ColorSepScreenFreq ProcessMagenta.85lpi.600dpi/85 lpi / 600 dpi: "94.8683"
  352. *ColorSepScreenFreq ProcessYellow.85lpi.600dpi/85 lpi / 600 dpi: "30.0"
  353. *ColorSepScreenProc ProcessBlack.60lpi/60 lpi: "
  354. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  355. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  356. *End
  357. *ColorSepScreenProc CustomColor.60lpi/60 lpi: "
  358. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  359. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  360. *End
  361. *ColorSepScreenProc ProcessCyan.60lpi/60 lpi: "
  362. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  363. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  364. *End
  365. *ColorSepScreenProc ProcessMagenta.60lpi/60 lpi: "
  366. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  367. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  368. *End
  369. *ColorSepScreenProc ProcessYellow.60lpi/60 lpi: "
  370. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  371. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  372. *End
  373. *% For 71 lpi / 600 dpi ===============================
  374. *ColorSepScreenAngle ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  375. *ColorSepScreenAngle CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "45.0"
  376. *ColorSepScreenAngle ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "71.5651"
  377. *ColorSepScreenAngle ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "18.4349"
  378. *ColorSepScreenAngle ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "0.0"
  379. *ColorSepScreenFreq ProcessBlack.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  380. *ColorSepScreenFreq CustomColor.71lpi.600dpi/71 lpi / 600 dpi: "70.7107"
  381. *ColorSepScreenFreq ProcessCyan.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  382. *ColorSepScreenFreq ProcessMagenta.71lpi.600dpi/71 lpi / 600 dpi: "63.2456"
  383. *ColorSepScreenFreq ProcessYellow.71lpi.600dpi/71 lpi / 600 dpi: "66.6667"
  384. *% end of PPD file for Sharp JX-9660.PS Series