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.

314 lines
10 KiB

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