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.

359 lines
11 KiB

  1. *PPD-Adobe: "4.1"
  2. *% Printer Description File
  3. *% For "Sharp JX-9600PS Laser Printer"
  4. *% Date: 12/20/93 - G. Andersen
  5. *FormatVersion: "4.1"
  6. *FileVersion: "2.0"
  7. *LanguageEncoding: ISOLatin1
  8. *LanguageVersion: English
  9. *Product: "(PhoenixPage)"
  10. *ModelName: "Sharp JX-9600PS"
  11. *PSVersion: "(1.0) 1"
  12. *NickName: "Sharp JX-9600PS"
  13. *PCFileName: "JX9600PS.PPD"
  14. *% ===== Basic Capabilities ======================
  15. *LanguageLevel: "1"
  16. *DefaultColorSpace: Gray
  17. *FreeVM: "434204"
  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. *DefaultResolution: 300dpi
  60. *?Resolution:"
  61. save
  62. initgraphics
  63. 0 0 moveto currentpoint matrix defaultmatrix transform
  64. 0 72 lineto currentpoint matrix defaultmatrix transform
  65. 3 -1 roll sub dup mul
  66. 3 1 rol exch sxub dup mul
  67. add sqrt round cvi
  68. ( ) cvs print (dpi) = flush
  69. restore
  70. "
  71. *End
  72. *% Halftone Information ===============
  73. *ScreenFreq: "60.0"
  74. *ScreenAngle: "45.0"
  75. *DefaultScreenProc: Dot
  76. *ScreenProc Dot: "
  77. {dup mul exch dup mul add 1.0 exch sub }
  78. "
  79. *End
  80. *ScreenProc Line: "{ pop }"
  81. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  82. *DefaultTransfer: Null
  83. *Transfer Null: "{ }"
  84. *Transfer Null.Inverse: "{ 1 exch sub }"
  85. *Transfer Normalized: "{ }"
  86. *Transfer Normalized.Inverse: "{ 1 exch sub }"
  87. *% Paper Handling ===================
  88. *OpenUI *PageSize: PickOne
  89. *OrderDependency:20 AnySetup *PageSize
  90. *DefaultPageSize: Unknown
  91. *PageSize Letter: "statusdict begin lettertray end"
  92. *PageSize Legal: "statusdict begin legaltray end"
  93. *PageSize A4: "statusdict begin a4tray end"
  94. *?PageSize: "
  95. save statusdict begin
  96. /papersize where{ pop
  97. 3 dict begin
  98. /lettertray (Letter) def
  99. /legaltray (Legal) def
  100. /a4tray (A4) def
  101. papersize {
  102. {load exec} stopped not{= flush}if
  103. }{
  104. {load exec} stopped not{print (.Transverse) = flush}if
  105. }ifelse
  106. end
  107. }{
  108. /pagetype where{pop[(Letter)(Legal)]pagetype dup 1 gt{pop 1}if get = flush}if
  109. }ifelse
  110. end restore
  111. "
  112. *End
  113. *CloseUI: *PageSize
  114. *% These entries will set up the frame buffer. Usually used with manual feed.
  115. *DefaultPageRegion: Letter
  116. *PageRegion Letter: "letter"
  117. *PageRegion Legal: "legal"
  118. *PageRegion A4: "a4"
  119. *% These entries will invoke a particular tray--error may occur if tray is not inserted.
  120. *% These errors should be trapped by software and a message displayed
  121. *OpenUI *PaperTray: PickOne
  122. *OrderDependency: 15 AnySetup *PaperTray
  123. *DefaultPaperTray: Letter
  124. *PaperTray Letter: "statusdict begin lettertray end"
  125. *PaperTray Legal: "statusdict begin legaltray end"
  126. *PaperTray A4: "statusdict begin a4tray end"
  127. *?PaperTray: "
  128. save statusdict begin
  129. 3 dict begin
  130. /lettertray (Letter) def /legaltray (Legal) def
  131. /a4tray (A4) def
  132. papersize {
  133. {load exec} stopped not{= flush}if
  134. }{
  135. {load exec} stopped not{print (.Transverse) = flush}if
  136. }ifelse
  137. end
  138. end restore
  139. "
  140. *End
  141. *CloseUI: *PaperTray
  142. *% The following entries provide information about specific paper keywords.
  143. *DefaultImageableArea: Letter
  144. *ImageableArea Letter: "15 8 597 784 "
  145. *ImageableArea Legal: "15 8 597 1000 "
  146. *ImageableArea A4: "13 10 577 832 "
  147. *?ImageableArea: "
  148. save /cvp { cvi ( ) cvs print ( ) print } bind def
  149. newpath clippath pathbbox
  150. 4 -2 roll exch 2 {ceiling cvp} repeat
  151. exch 2 {floor cvp} repeat flush
  152. restore
  153. "
  154. *End
  155. *% These provide the physical dimensions of the paper (by keyword)
  156. *DefaultPaperDimension: Letter
  157. *PaperDimension Letter: "612 792"
  158. *PaperDimension Legal: "612 1008"
  159. *PaperDimension A4: "595 842"
  160. *% Default Input Slots
  161. *DefaultOutputBin: Upper
  162. *DefaultInputSlot: Upper
  163. *InputSlot Upper: "statusdict begin 0 setpapertray end"
  164. *InputSlot Lower: "statusdict begin 1 setpapertray end"
  165. *?InputSlot: "
  166. save statusdict begin
  167. 2 dict begin
  168. /0 (Upper) def
  169. /1 (Lower) def
  170. papertray
  171. {( ) cvs cvn load exec} stopped not{= flush}if
  172. end
  173. end restore
  174. "
  175. *%
  176. *OpenUI *ManualFeed: Boolean
  177. *OrderDepencency: 15 AnySetup *ManualFeed
  178. *DefaultManualFeed: False
  179. *?ManualFeed: "statusdict /manualfeed get
  180. {(True)}{(False)}ifelse = flush"
  181. *End
  182. *ManualFeed True: "statusdict begin /manualfeed true store end"
  183. *ManualFeed False: "statusdict begin /manualfeed false store end"
  184. *CLoseUI: *ManualFeed
  185. *DefaultOutputOrder: Normal
  186. *DefaultCollator: None
  187. *DefaultSorter: None
  188. *DefaultDuplex: None
  189. *% Font Information =====================
  190. *DefaultFont: Courier
  191. *Font AvantGarde-Book: Standard "(001.001)"
  192. *Font AvantGarde-BookOblique: Standard "(001.001)"
  193. *Font AvantGarde-Demi: Standard "(001.001)"
  194. *Font AvantGarde-DemiOblique: Standard "(001.001)"
  195. *Font Bookman-Demi: Standard "(001.001)"
  196. *Font Bookman-DemiItalic: Standard "(001.001)"
  197. *Font Bookman-Light: Standard "(001.001)"
  198. *Font Bookman-LightItalic: Standard "(001.001)"
  199. *Font Courier: Standard "(001.004)"
  200. *Font Courier-Bold: Standard "(001.004)"
  201. *Font Courier-BoldOblique: Standard "(001.004)"
  202. *Font Courier-Oblique: Standard "(001.004)"
  203. *Font Helvetica: Standard "(001.001)"
  204. *Font Helvetica-Bold: Standard "(001.001)"
  205. *Font Helvetica-BoldOblique: Standard "(001.001)"
  206. *Font Helvetica-Narrow: Standard "(001.000)"
  207. *Font Helvetica-Narrow-Bold: Standard "(001.000)"
  208. *Font Helvetica-Narrow-BoldOblique: Standard "(001.000)"
  209. *Font Helvetica-Narrow-Oblique: Standard "(001.000)"
  210. *Font Helvetica-Oblique: Standard "(001.001)"
  211. *Font NewCenturySchlbk-Bold: Standard "(001.002)"
  212. *Font NewCenturySchlbk-BoldItalic: Standard "(001.001)"
  213. *Font NewCenturySchlbk-Italic: Standard "(001.001)"
  214. *Font NewCenturySchlbk-Roman: Standard "(001.002)"
  215. *Font Palatino-Bold: Standard "(001.000)"
  216. *Font Palatino-BoldItalic: Standard "(001.000)"
  217. *Font Palatino-Italic: Standard "(001.000)"
  218. *Font Palatino-Roman: Standard "(001.000)"
  219. *Font Symbol: Special "(001.001)"
  220. *Font Times-Bold: Standard "(001.001)"
  221. *Font Times-BoldItalic: Standard "(001.001)"
  222. *Font Times-Italic: Standard "(001.001)"
  223. *Font Times-Roman: Standard "(001.001)"
  224. *Font ZapfChancery-MediumItalic: Standard "(001.002)"
  225. *Font ZapfDingbats: Special "(001.000)"
  226. *?FontQuery: "
  227. save 4 dict begin /sv exch def
  228. /str (fonts/ ) def
  229. /st2 30 string def
  230. {
  231. count 0 gt {
  232. dup FontDirectory exch known {pop 1}{
  233. str exch st2 cvs dup length /len exch def
  234. 6 exch putinterval str 0 len 6 add getinterval mark exch
  235. { } st2 filenameforall counttomark 0 gt {
  236. cleartomark 1}{cleartomark 0}ifelse
  237. }ifelse = flush
  238. }{ exit } ifelse
  239. } bind loop sv end restore
  240. "
  241. *End
  242. *?FontList: "
  243. FontDirectory { pop == flush } forall
  244. /filenameforall where {
  245. pop save (fonts/*) {
  246. dup length 6 sub 6 exch getinterval == flush
  247. } 128 string filenameforall restore
  248. } if
  249. (*) = flush
  250. "
  251. *End
  252. *% Printer Messages (verbatim from printer):
  253. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  254. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  255. *Message: "\FontName\ not found, using Courier"
  256. *% Status (format: %%[ status: <one of these> ]%% )
  257. *Status: "idle"
  258. *Status: "busy"
  259. *Status: "waiting"
  260. *Status: "printing"
  261. *Status: "warming up"
  262. *Status: "PrinterError: timeout, clearing printer"
  263. *Status: "PrinterError: warming up"
  264. *Status: "PrinterError: service call"
  265. *Status: "PrinterError: paper entry misfeed"
  266. *Status: "PrinterError: no toner cartridge"
  267. *Status: "PrinterError: paper entry misfeed"
  268. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  269. *Source: "serial9"
  270. *Source: "serial25"
  271. *Source: "AppleTalk"
  272. *Source: "Centronics"
  273. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  274. *PrinterError: "timeout, clearing printer"
  275. *PrinterError: "warming up"
  276. *PrinterError: "service call"
  277. *PrinterError: "paper entry misfeed"
  278. *PrinterError: "no toner cartridge"
  279. *PrinterError: "paper entry misfeed"
  280. *% Color Separation Information =====================
  281. *DefaultColorSep: ProcessCyan.60lpi/60 lpi
  282. *InkName: ProcessCyan/Process Cyan
  283. *InkName: ProcessMagenta/Process Magenta
  284. *InkName: ProcessYellow/Process Yellow
  285. *InkName: ProcessBlack/Process Black
  286. *InkName: CustomColor/Custom Color
  287. *ColorSepScreenAngle ProcessCyan.60lpi/60 lpi: "15"
  288. *ColorSepScreenAngle ProcessMagenta.60lpi/60 lpi: "75"
  289. *ColorSepScreenAngle ProcessYellow.60lpi/60 lpi: "0"
  290. *ColorSepScreenAngle ProcessBlack.60lpi/60 lpi: "45"
  291. *ColorSepScreenAngle CustomColor.60lpi/60 lpi: "45"
  292. *ColorSepScreenFreq ProcessCyan.60lpi/60 lpi: "60"
  293. *ColorSepScreenFreq ProcessMagenta.60lpi/60 lpi: "60"
  294. *ColorSepScreenFreq ProcessYellow.60lpi/60 lpi: "60"
  295. *ColorSepScreenFreq ProcessBlack.60lpi/60 lpi: "60"
  296. *ColorSepScreenFreq CustomColor.60lpi/60 lpi: "60"
  297. *ColorSepScreenProc ProcessCyan.60lpi/60 lpi: "
  298. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  299. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  300. *End
  301. *ColorSepScreenProc ProcessMagenta.60lpi/60 lpi: "
  302. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  303. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  304. *End
  305. *ColorSepScreenProc ProcessYellow.60lpi/60 lpi: "
  306. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  307. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  308. *End
  309. *ColorSepScreenProc ProcessBlack.60lpi/60 lpi: "
  310. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  311. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  312. *End
  313. *ColorSepScreenProc CustomColor.60lpi/60 lpi: "
  314. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  315. sub }{dup mul exch dup mul add 1 exch sub }ifelse }"
  316. *End
  317. *ColorSepTransfer ProcessCyan.60lpi/60 lpi: "{ }"
  318. *ColorSepTransfer ProcessMagenta.60lpi/60 lpi: "{ }"
  319. *ColorSepTransfer ProcessYellow.60lpi/60 lpi: "{ }"
  320. *ColorSepTransfer ProcessBlack.60lpi/60 lpi: "{ }"
  321. *ColorSepTransfer CustomColor.60lpi/60 lpi: "{ }"
  322. *% end of PPD file for Sharp JX-9600.PS Series