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.

349 lines
11 KiB

  1. *% Adobe Systems PostScript(R) Printer Description File
  2. *% For "OceColor PostScript Printer" version 50.3
  3. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  4. *%
  5. *% Copyright 1988, 1989, 1990 Adobe Systems Incorporated.
  6. *% All Rights Reserved.
  7. *% Permission is granted for redistribution of this file as
  8. *% long as this copyright notice is intact and the contents
  9. *% of the file is not altered in any way from its original form.
  10. *%
  11. *% The byte count of this file should be exactly 010787 or 011135
  12. *% depending on the filesystem it resides in.
  13. *%
  14. *% Date: 4 June 1990
  15. *FormatVersion: "3.0"
  16. *FileVersion: "1.0"
  17. *LanguageVersion: English
  18. *LanguageLevel: "1"
  19. *Product: "(OceColor)"
  20. *PSVersion: "(50.3) 0"
  21. *NickName: "OceColor G5241 PS"
  22. *% General Information and Defaults ===============
  23. *FreeVM: "4282918"
  24. *ColorDevice: True
  25. *VariablePaperSize: False
  26. *FileSystem: True
  27. *?FileSystem: "/initializedisk where{pop(True)}{(False)} ifelse = flush"
  28. *Throughput: "1"
  29. *Password: "0"
  30. *ExitServer: "
  31. count 0 eq { % is the password on the stack?
  32. true
  33. }{
  34. dup % potential password
  35. statusdict begin checkpassword end not
  36. } ifelse
  37. { % if no password or not valid
  38. (WARNING : Cannot perform the exitserver command.) =
  39. (Password supplied is not valid.) =
  40. (Please contact the author of this software.) = flush
  41. quit
  42. } if
  43. serverdict begin exitserver
  44. "
  45. *End
  46. *Reset: "
  47. count 0 eq { % is the password on the stack?
  48. true
  49. }{
  50. dup % potential password
  51. statusdict begin checkpassword end not
  52. } ifelse
  53. { % if no password or not valid
  54. (WARNING : Cannot reset printer.) =
  55. (Password supplied is not valid.) =
  56. (Please contact the author of this software.) = flush
  57. quit
  58. } if
  59. serverdict begin exitserver
  60. systemdict /quit get exec
  61. (WARNING : Printer Reset Failed.) = flush
  62. "
  63. *End
  64. *DefaultResolution: 300dpi
  65. *?Resolution: "
  66. save
  67. initgraphics
  68. 0 0 moveto currentpoint matrix defaultmatrix transform
  69. 0 72 lineto currentpoint matrix defaultmatrix transform
  70. 3 -1 roll sub dup mul
  71. 3 1 roll exch sub dup mul
  72. add sqrt round cvi
  73. ( ) cvs print (dpi) = flush
  74. restore
  75. "
  76. *End
  77. *% Halftone Information ===============
  78. *ScreenFreq: "50.0"
  79. *ScreenAngle: "24.0"
  80. *DefaultScreenProc: Dot
  81. *ScreenProc Dot: "
  82. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  83. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  84. "
  85. *End
  86. *ScreenProc Line: "{ pop }"
  87. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  88. *DefaultTransfer: Normalized
  89. *Transfer Null: "{ }"
  90. *Transfer Null.Inverse: "{ 1 exch sub }"
  91. *% Paper Handling ===================
  92. *% Use these entries to set paper size most of the time, unless there is
  93. *% specific reason to use PageRegion or PaperTray.
  94. *DefaultPageSize: Letter
  95. *PageSize Letter: "statusdict begin lettertray end"
  96. *PageSize LetterPlus: "
  97. statusdict begin
  98. pagetype 1 ne
  99. {(Letter+ paper selection) cvn errordict /rangecheck get exec} if
  100. letterplus
  101. end
  102. "
  103. *End
  104. *PageSize A4: "statusdict begin a4tray end"
  105. *PageSize A4Plus: "
  106. statusdict begin
  107. pagetype 3 ne
  108. {(A4+ paper selection) cvn errordict /rangecheck get exec} if
  109. a4plus
  110. end
  111. "
  112. *End
  113. *?PageSize: "
  114. save statusdict begin
  115. [(Letter)(Letter+)(A4)(A4+)(Unknown)]
  116. pagetype dup 3 gt { pop 4 } if
  117. get = flush
  118. end restore
  119. "
  120. *End
  121. *% These entries will set up the frame buffer. Usually used with manual feed.
  122. *DefaultPageRegion: Letter
  123. *PageRegion Letter: "letter"
  124. *PageRegion LetterPlus: "letterplus"
  125. *PageRegion A4: "a4"
  126. *PageRegion A4Plus: "a4plus"
  127. *% These entries will invoke a particular tray--error may occur if tray is not inserted.
  128. *% These errors should be trapped by software and a message displayed
  129. *DefaultPaperTray: None
  130. *PaperTray Letter: "statusdict begin lettertray end"
  131. *PaperTray LetterPlus: "
  132. statusdict begin
  133. 0 traytype 1 ne
  134. {(Letter+ tray selection) cvn errordict /rangecheck get exec} if
  135. letterplus
  136. end
  137. "
  138. *End
  139. *PaperTray A4: "statusdict begin a4tray end"
  140. *PaperTray A4Plus: "
  141. statusdict begin
  142. 0 traytype 3 ne
  143. {(A4+ tray selection) cvn errordict /rangecheck get exec} if
  144. a4plus
  145. end
  146. "
  147. *End
  148. *?PaperTray: "
  149. save statusdict begin
  150. [(Letter)(Letter+)(A4)(A4+)(Unknown)]
  151. 0 traytype dup 3 gt { pop 4 } if
  152. get = flush
  153. end restore
  154. "
  155. *End
  156. *% The following entries provide information about specific paper keywords.
  157. *DefaultImageableArea: Letter
  158. *ImageableArea Letter: "11 77 601 746 "
  159. *ImageableArea LetterPlus: "11 77 601 868 "
  160. *ImageableArea A4: "11 77 586 796 "
  161. *ImageableArea A4Plus: "11 77 586 918 "
  162. *?ImageableArea: "
  163. save /cvp { cvi ( ) cvs print ( ) print } bind def
  164. newpath clippath pathbbox
  165. 4 -2 roll exch 2 {ceiling cvp} repeat
  166. exch 2 {floor cvp} repeat flush
  167. restore
  168. "
  169. *End
  170. *% These provide the physical dimensions of the paper (by keyword)
  171. *DefaultPaperDimension: Letter
  172. *PaperDimension Letter: "612 792"
  173. *PaperDimension LetterPlus: "612 914"
  174. *PaperDimension A4: "595 842"
  175. *PaperDimension A4Plus: "595 936"
  176. *DefaultOutputBin: OnlyOne
  177. *DefaultInputSlot: None
  178. *DefaultManualFeed: False
  179. *?ManualFeed: "
  180. statusdict /manualfeed get
  181. {(True)}{(False)}ifelse = flush"
  182. *End
  183. *ManualFeed True: "statusdict begin /manualfeed true store end"
  184. *ManualFeed False: "statusdict begin /manualfeed false store end"
  185. *DefaultOutputOrder: Reverse
  186. *DefaultCollator: None
  187. *DefaultSorter: None
  188. *DefaultDuplex: None
  189. *% Font Information =====================
  190. *DefaultFont: Courier
  191. *Font AvantGarde-Book: Standard "(001.002)"
  192. *Font AvantGarde-BookOblique: Standard "(001.002)"
  193. *Font AvantGarde-Demi: Standard "(001.003)"
  194. *Font AvantGarde-DemiOblique: Standard "(001.003)"
  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.002)"
  204. *Font Helvetica-Bold: Standard "(001.002)"
  205. *Font Helvetica-BoldOblique: Standard "(001.002)"
  206. *Font Helvetica-Condensed: Standard "(001.001)"
  207. *Font Helvetica-Condensed-Bold: Standard "(001.002)"
  208. *Font Helvetica-Condensed-BoldObl: Standard "(001.002)"
  209. *Font Helvetica-Condensed-Oblique: Standard "(001.001)"
  210. *Font Helvetica-Oblique: Standard "(001.002)"
  211. *Font NewCenturySchlbk-Bold: Standard "(001.006)"
  212. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)"
  213. *Font NewCenturySchlbk-Italic: Standard "(001.003)"
  214. *Font NewCenturySchlbk-Roman: Standard "(001.004)"
  215. *Font Palatino-Bold: Standard "(001.002)"
  216. *Font Palatino-BoldItalic: Standard "(001.002)"
  217. *Font Palatino-Italic: Standard "(001.002)"
  218. *Font Palatino-Roman: Standard "(001.001)"
  219. *Font Symbol: Special "(001.003)"
  220. *Font Times-Bold: Standard "(001.002)"
  221. *Font Times-BoldItalic: Standard "(001.004)"
  222. *Font Times-Italic: Standard "(001.002)"
  223. *Font Times-Roman: Standard "(001.002)"
  224. *Font ZapfChancery-MediumItalic: Standard "(001.003)"
  225. *Font ZapfDingbats: Special "(001.002)"
  226. *?FontQuery: "
  227. save 4 dict begin /sv exch def
  228. /str (fonts/ ) def
  229. /st2 128 string def
  230. {
  231. count 0 gt {
  232. dup st2 cvs (/) print print (:) print
  233. dup FontDirectory exch known {pop (Yes)}{
  234. str exch st2 cvs dup length /len exch def
  235. 6 exch putinterval str 0 len 6 add getinterval mark exch
  236. { } st2 filenameforall counttomark 0 gt {
  237. cleartomark (Yes)}{cleartomark (No)}ifelse
  238. }ifelse = flush
  239. }{ exit } ifelse
  240. } bind loop
  241. (*) = flush
  242. sv end restore
  243. "
  244. *End
  245. *?FontList: "
  246. save 2 dict begin /sv exch def
  247. /str 128 string def
  248. FontDirectory { pop == } bind forall flush
  249. /filenameforall where {
  250. pop save (fonts/*) {
  251. dup length 6 sub 6 exch getinterval cvn ==
  252. } bind str filenameforall flush restore
  253. } if
  254. (*) = flush
  255. sv end restore
  256. "
  257. *End
  258. *% Printer Messages (verbatim from printer):
  259. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  260. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  261. *Message: "\FontName\ not found, using Courier"
  262. *% Status (format: %%[ status: <one of these> ]%% )
  263. *Status: "idle"
  264. *Status: "busy"
  265. *Status: "waiting"
  266. *Status: "printing"
  267. *Status: "initializing"
  268. *Status: "printing test page"
  269. *Status: "PrinterError: out of paper or end of ribbon"
  270. *Status: "PrinterError: end of ribbon"
  271. *Status: "PrinterError: out of paper"
  272. *Status: "PrinterError: printer fault"
  273. *Status: "PrinterError: printer offline"
  274. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  275. *Source: "serial9"
  276. *Source: "serial25"
  277. *Source: "AppleTalk"
  278. *Source: "Centronics"
  279. *Source: "other"
  280. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  281. *PrinterError: "out of paper or end of ribbon"
  282. *PrinterError: "end of ribbon"
  283. *PrinterError: "out of paper"
  284. *PrinterError: "printer fault"
  285. *PrinterError: "printer offline"
  286. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  287. *% Color Separation Information =====================
  288. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  289. *InkName: ProcessBlack/Process Black
  290. *InkName: CustomColor/Custom Color
  291. *InkName: ProcessCyan/Process Cyan
  292. *InkName: ProcessMagenta/Process Magenta
  293. *InkName: ProcessYellow/Process Yellow
  294. *% For 60 lpi / 300 dpi ===============================
  295. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  296. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  297. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  298. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  299. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  300. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  301. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  302. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  303. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  304. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  305. *% For 53 lpi / 300 dpi ===============================
  306. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  307. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  308. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  309. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  310. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  311. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  312. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  313. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  314. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  315. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  316. *% end of PPD file for OceColor