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.

390 lines
15 KiB

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1992 Adobe Systems Incorporated.
  4. *% All Rights Reserved.
  5. *% Permission is granted for redistribution of this file as
  6. *% long as this copyright notice is intact and the contents
  7. *% of the file is not altered in any way from its original form.
  8. *% End of Copyright statement
  9. *FormatVersion: "4.0"
  10. *FileVersion: "2.3"
  11. *PCFileName: "CNLBP4_1.PPD"
  12. *LanguageVersion: English
  13. *Product: "(ScriptCard PS-2)"
  14. *PSVersion: "(51.4) 2"
  15. *ModelName: "Canon LBP-4 PS-2"
  16. *NickName: "Canon LBP-4 PS-2 v51.4"
  17. *% General Information and Defaults ===============
  18. *FreeVM: "857844"
  19. *LanguageLevel: "1"
  20. *ColorDevice: False
  21. *DefaultColorSpace: Gray
  22. *VariablePaperSize: False
  23. *FileSystem: False
  24. *Throughput: "4"
  25. *Password: "0"
  26. *ExitServer: "
  27. count 0 eq { % is the password on the stack?
  28. true
  29. }{
  30. dup % potential password
  31. statusdict begin checkpassword end not
  32. } ifelse
  33. { % if no password or not valid
  34. (WARNING : Cannot perform the exitserver command.) =
  35. (Password supplied is not valid.) =
  36. (Please contact the author of this software.) = flush
  37. quit
  38. } if
  39. serverdict /exitserver get exec
  40. "
  41. *End
  42. *Reset: "
  43. count 0 eq { % is the password on the stack?
  44. true
  45. }{
  46. dup % potential password
  47. statusdict begin checkpassword end not
  48. } ifelse
  49. { % if no password or not valid
  50. (WARNING : Cannot reset printer.) =
  51. (Password supplied is not valid.) =
  52. (Please contact the author of this software.) = flush
  53. quit
  54. } if
  55. serverdict /exitserver get exec
  56. systemdict /quit get exec
  57. (WARNING : Printer Reset Failed.) = flush
  58. "
  59. *End
  60. *DefaultResolution: 300dpi
  61. *?Resolution: "
  62. save
  63. initgraphics
  64. 0 0 moveto currentpoint matrix defaultmatrix transform
  65. 0 72 lineto currentpoint matrix defaultmatrix transform
  66. 3 -1 roll sub dup mul
  67. 3 1 roll exch sub dup mul
  68. add sqrt round cvi
  69. ( ) cvs print (dpi) = flush
  70. restore
  71. "
  72. *End
  73. *% Halftone Information ===============
  74. *ScreenFreq: "60.0"
  75. *ScreenAngle: "45.0"
  76. *DefaultScreenProc: Dot
  77. *ScreenProc Dot: "
  78. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  79. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  80. "
  81. *End
  82. *ScreenProc Line: "{ pop }"
  83. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  84. *DefaultTransfer: Null
  85. *Transfer Null: "{ }"
  86. *Transfer Null.Inverse: "{ 1 exch sub }"
  87. *% Paper Handling ===================
  88. *% Use these entries to set paper size most of the time, unless there is
  89. *% specific reason to use PageRegion.
  90. *OpenUI *PageSize: PickOne
  91. *OrderDependency: 30 AnySetup *PageSize
  92. *DefaultPageSize: Letter
  93. *PageSize Letter: "statusdict begin lettertray end"
  94. *PageSize Legal: "statusdict begin legaltray end"
  95. *PageSize Executive: "statusdict begin executivetray end"
  96. *PageSize A4: "statusdict begin a4tray end"
  97. *PageSize LetterSmall: "statusdict begin lettertray end lettersmall"
  98. *PageSize LegalSmall: "statusdict begin legaltray end legalsmall"
  99. *PageSize A4Small: "statusdict begin a4tray end a4small"
  100. *?PageSize: "
  101. save
  102. 10 dict
  103. dup /letter (Letter) put
  104. dup /legal (Legal) put
  105. dup /note (Note) put
  106. dup /executivepage (Executive) put
  107. dup /a4small (A4Small) put
  108. dup /a4 (A4) put
  109. dup /lettersmall (LetterSmall) put
  110. dup /legalsmall (LegalSmall) put
  111. statusdict begin papersize end
  112. 3 1 roll {get} stopped {(Unknown)}if
  113. exch not { print (.Transverse) }if
  114. = flush
  115. restore
  116. "
  117. *End
  118. *CloseUI: *PageSize
  119. *% These entries will set up the frame buffer. Usually used with manual feed.
  120. *OpenUI *PageRegion: PickOne
  121. *OrderDependency: 40 AnySetup *PageRegion
  122. *DefaultPageRegion: Letter
  123. *PageRegion Letter: "letter"
  124. *PageRegion Legal: "legal"
  125. *PageRegion A4: "a4"
  126. *PageRegion LetterSmall: "lettersmall"
  127. *PageRegion A4Small: "a4small"
  128. *PageRegion LegalSmall: "legalsmall"
  129. *PageRegion Executive: "executivepage"
  130. *CloseUI: *PageRegion
  131. *% The following entries provide information about specific paper keywords.
  132. *DefaultImageableArea: Letter
  133. *ImageableArea Letter: "15 8 597 784 "
  134. *ImageableArea Legal: "15 8 597 1000 "
  135. *ImageableArea A4: "13 10 577 832 "
  136. *ImageableArea LetterSmall: "31 31 583 761 "
  137. *ImageableArea A4Small: "27 31 567 811 "
  138. *ImageableArea Executive: "11 9 509 749"
  139. *ImageableArea LegalSmall: "63 43 546 966"
  140. *?ImageableArea: "
  141. save
  142. /cvp {( ) cvs print ( ) print } bind def
  143. /upperright {10000 mul floor 10000 div} bind def
  144. /lowerleft {10000 mul ceiling 10000 div} bind def
  145. newpath clippath pathbbox
  146. 4 -2 roll exch 2 {lowerleft cvp} repeat
  147. exch 2 {upperright cvp} repeat flush
  148. restore
  149. "
  150. *End
  151. *% These provide the physical dimensions of the paper (by keyword)
  152. *DefaultPaperDimension: Letter
  153. *PaperDimension Letter: "612 792"
  154. *PaperDimension Legal: "612 1008"
  155. *PaperDimension A4: "595 842"
  156. *PaperDimension LetterSmall: "612 792"
  157. *PaperDimension A4Small: "595 842"
  158. *PaperDimension LegalSmall: "482 925"
  159. *PaperDimension Executive: "522 756"
  160. *RequiresPageRegion All: True
  161. *OpenUI *InputSlot: PickOne
  162. *OrderDependency: 20 AnySetup *InputSlot
  163. *DefaultInputSlot: Upper
  164. *InputSlot Upper: "0 statusdict begin setpapertray end"
  165. *InputSlot Lower: "1 statusdict begin setpapertray end"
  166. *?InputSlot: "
  167. save
  168. [ (Upper) (Lower) ] statusdict begin papertray end
  169. {get exec} stopped { pop pop (Unknown)} if = flush
  170. restore
  171. "
  172. *End
  173. *CloseUI: *InputSlot
  174. *OpenUI *ManualFeed: Boolean
  175. *OrderDependency: 20 AnySetup *ManualFeed
  176. *DefaultManualFeed: False
  177. *ManualFeed True: "statusdict /manualfeed true put"
  178. *ManualFeed False: "statusdict /manualfeed false put"
  179. *?ManualFeed: "
  180. save
  181. statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  182. restore
  183. "
  184. *End
  185. *CloseUI: *ManualFeed
  186. *DefaultOutputOrder: Normal
  187. *% Font Information =====================
  188. *DefaultFont: Courier
  189. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  190. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  191. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  192. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  193. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  194. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  195. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  196. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  197. *Font Courier: Standard "(002.003)" Standard ROM
  198. *Font Courier-Bold: Standard "(002.003)" Standard ROM
  199. *Font Courier-BoldOblique: Standard "(002.003)" Standard ROM
  200. *Font Courier-Oblique: Standard "(002.003)" Standard ROM
  201. *Font Helvetica: Standard "(001.002)" Standard ROM
  202. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  203. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  204. *Font Helvetica-Condensed: Standard "(001.001)" Standard ROM
  205. *Font Helvetica-Condensed-Bold: Standard "(001.002)" Standard ROM
  206. *Font Helvetica-Condensed-BoldObl: Standard "(001.002)" Standard ROM
  207. *Font Helvetica-Condensed-Oblique: Standard "(001.001)" Standard ROM
  208. *Font Helvetica-Narrow: Standard "(001.002)" Standard ROM
  209. *Font Helvetica-Narrow-Bold: Standard "(001.002)" Standard ROM
  210. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)" Standard ROM
  211. *Font Helvetica-Narrow-Oblique: Standard "(001.002)" Standard ROM
  212. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  213. *Font NewCenturySchlbk-Bold: Standard "(001.006)" Standard ROM
  214. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)" Standard ROM
  215. *Font NewCenturySchlbk-Italic: Standard "(001.003)" Standard ROM
  216. *Font NewCenturySchlbk-Roman: Standard "(001.004)" Standard ROM
  217. *Font Palatino-Bold: Standard "(001.002)" Standard ROM
  218. *Font Palatino-BoldItalic: Standard "(001.002)" Standard ROM
  219. *Font Palatino-Italic: Standard "(001.002)" Standard ROM
  220. *Font Palatino-Roman: Standard "(001.001)" Standard ROM
  221. *Font Symbol: Special "(001.003)" Special ROM
  222. *Font Times-Bold: Standard "(001.002)" Standard ROM
  223. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  224. *Font Times-Italic: Standard "(001.002)" Standard ROM
  225. *Font Times-Roman: Standard "(001.002)" Standard ROM
  226. *Font ZapfChancery-MediumItalic: Standard "(001.003)" Standard ROM
  227. *Font ZapfDingbats: Special "(001.002)" Special ROM
  228. *?FontQuery: "
  229. save
  230. /str 100 string dup 0 (fonts/) putinterval def
  231. {
  232. count 1 gt
  233. {
  234. exch dup str 6 94 getinterval cvs
  235. (/) print print (:) print
  236. FontDirectory exch known
  237. {(Yes)}{(No)} ifelse =
  238. }
  239. {exit} ifelse
  240. }bind loop
  241. (*) = flush
  242. restore
  243. "
  244. *End
  245. *?FontList: "
  246. save
  247. FontDirectory { pop == } bind forall flush
  248. /filenameforall where
  249. {
  250. pop (fonts/*)
  251. { dup length 6 sub 6 exch getinterval cvn == } bind
  252. 128 string filenameforall flush
  253. } if
  254. (*) = flush
  255. 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: "warming up"
  268. *Status: "PrinterError: resetting printer"
  269. *Status: "PrinterError: timeout, clearing printer"
  270. *Status: "PrinterError: beam detect error"
  271. *Status: "PrinterError: warming up"
  272. *Status: "PrinterError: printing engine test"
  273. *Status: "PrinterError: Operator Call - paper entry misfeed"
  274. *Status: "PrinterError: Operator Call - paper entry misfeed, xx pages may be lost"
  275. *Status: "PrinterError: Operator Call - paper exit misfeed"
  276. *Status: "PrinterError: Operator Call - paper exit misfeed, xx pages may be lost"
  277. *Status: "PrinterError: Operator Call - 10 check paper, page will be reprinted"
  278. *Status: "PrinterError: Operator Call - load option tray"
  279. *Status: "PrinterError: Operator Call - request manual feed of letter paper"
  280. *Status: "PrinterError: Operator Call - request manual feed of a4 paper"
  281. *Status: "PrinterError: Operator Call - request manual feed of legal paper"
  282. *Status: "PrinterError: Operator Call - request manual feed of executive paper"
  283. *Status: "PrinterError: Operator Call - request tray feed of letter paper"
  284. *Status: "PrinterError: Operator Call - request tray feed of a4 paper"
  285. *Status: "PrinterError: Operator Call - request tray feed of legal paper"
  286. *Status: "PrinterError: Operator Call - request tray feed of executive paper"
  287. *Status: "PrinterError: Operator Call - paper path 1"
  288. *Status: "PrinterError: Operator Call - paper path 3"
  289. *Status: "PrinterError: Operator Call - manual feed timeout"
  290. *Status: "PrinterError: Operator Call - out of envelopes"
  291. *Status: "PrinterError: Operator Call - no paper tray"
  292. *Status: "PrinterError: Operator Call - out of paper"
  293. *Status: "PrinterError: Operator Call - door open or no toner cartridge"
  294. *Status: "PrinterError: Operator Call - no toner cartridge"
  295. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  296. *Source: "serial25"
  297. *Source: "Centronics"
  298. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  299. *PrinterError: "resetting printer"
  300. *PrinterError: "timeout, clearing printer"
  301. *PrinterError: "beam detect error"
  302. *PrinterError: "warming up"
  303. *PrinterError: "printing engine test"
  304. *PrinterError: "Operator Call - paper entry misfeed"
  305. *PrinterError: "Operator Call - paper entry misfeed, xx pages may be lost"
  306. *PrinterError: "Operator Call - paper exit misfeed"
  307. *PrinterError: "Operator Call - paper exit misfeed, xx pages may be lost"
  308. *PrinterError: "Operator Call - 10 check paper, page will be reprinted"
  309. *PrinterError: "Operator Call - load option tray"
  310. *PrinterError: "Operator Call - request manual feed of letter paper"
  311. *PrinterError: "Operator Call - request manual feed of a4 paper"
  312. *PrinterError: "Operator Call - request manual feed of legal paper"
  313. *PrinterError: "Operator Call - request manual feed of executive paper"
  314. *PrinterError: "Operator Call - request tray feed of letter paper"
  315. *PrinterError: "Operator Call - request tray feed of a4 paper"
  316. *PrinterError: "Operator Call - request tray feed of legal paper"
  317. *PrinterError: "Operator Call - request tray feed of executive paper"
  318. *PrinterError: "Operator Call - paper path 1"
  319. *PrinterError: "Operator Call - paper path 3"
  320. *PrinterError: "Operator Call - manual feed timeout"
  321. *PrinterError: "Operator Call - out of envelopes"
  322. *PrinterError: "Operator Call - no paper tray"
  323. *PrinterError: "Operator Call - out of paper"
  324. *PrinterError: "Operator Call - door open or no toner cartridge"
  325. *PrinterError: "Operator Call - no toner cartridge"
  326. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  327. *% Color Separation Information =====================
  328. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  329. *InkName: ProcessBlack/Process Black
  330. *InkName: CustomColor/Custom Color
  331. *InkName: ProcessCyan/Process Cyan
  332. *InkName: ProcessMagenta/Process Magenta
  333. *InkName: ProcessYellow/Process Yellow
  334. *% For 60 lpi / 300 dpi =====================================================
  335. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  336. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  337. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  338. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  339. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  340. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  341. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  342. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  343. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  344. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  345. *% For 53 lpi / 300 dpi =====================================================
  346. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  347. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  348. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  349. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  350. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  351. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  352. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  353. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  354. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  355. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  356. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  357. *% Converted to meet 4.0 specification
  358. *% Last Edit Date: Sep 15 1992
  359. *% The byte count of this file should be exactly 014551 or 014941
  360. *% depending on the filesystem it resides in.
  361. *% end of PPD file for ScriptCard PS-2