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.

450 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "CN200EX.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Canon Bubble-Jet BJ-200ex"
  10. *MasterUnits: PAIR(720, 720)
  11. *ResourceDLL: "cnbjcres.dll"
  12. *PrinterType: SERIAL
  13. *PrintRate: 248
  14. *PrintRateUnit: CPS
  15. *OutputOrderReversed?: TRUE
  16. *Feature: Orientation
  17. {
  18. *rcNameID: =ORIENTATION_DISPLAY
  19. *DefaultOption: PORTRAIT
  20. *Option: PORTRAIT
  21. {
  22. *rcNameID: =PORTRAIT_DISPLAY
  23. }
  24. *Option: LANDSCAPE_CC270
  25. {
  26. *rcNameID: =LANDSCAPE_DISPLAY
  27. }
  28. }
  29. *Feature: InputBin
  30. {
  31. *rcNameID: =PAPER_SOURCE_DISPLAY
  32. *DefaultOption: AUTO
  33. *Option: MANUAL
  34. {
  35. *% Last byte of Input Bin selection command
  36. *% depends on MediaType selected.
  37. *rcNameID: =MANUAL_FEED_DISPLAY
  38. *switch: MediaType
  39. {
  40. *case: Option1
  41. {
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.4
  45. *Cmd: "<1B>(l<02001100>"
  46. }
  47. } *% Normal
  48. *case: TRANSPARENCY
  49. {
  50. *Command: CmdSelect
  51. {
  52. *Order: DOC_SETUP.4
  53. *Cmd: "<1B>(l<02001120>"
  54. }
  55. } *% Transparency
  56. *case: Option3
  57. {
  58. *Command: CmdSelect
  59. {
  60. *Order: DOC_SETUP.4
  61. *Cmd: "<1B>(l<02001180>"
  62. }
  63. } *% Envelope
  64. }
  65. }
  66. *Option: AUTO
  67. {
  68. *rcNameID: =AUTO_DISPLAY
  69. *switch: MediaType
  70. {
  71. *case: Option1
  72. {
  73. *Command: CmdSelect
  74. {
  75. *Order: DOC_SETUP.4
  76. *Cmd: "<1B>(l<02001400>"
  77. }
  78. } *% Normal
  79. *case: TRANSPARENCY
  80. {
  81. *Command: CmdSelect
  82. {
  83. *Order: DOC_SETUP.4
  84. *Cmd: "<1B>(l<02001420>"
  85. }
  86. } *% Transparency
  87. *case: Option3
  88. {
  89. *Command: CmdSelect
  90. {
  91. *Order: DOC_SETUP.4
  92. *Cmd: "<1B>(l<02001480>"
  93. }
  94. } *% Envelope
  95. }
  96. }
  97. }
  98. *Feature: PaperSize
  99. {
  100. *rcNameID: =PAPER_SIZE_DISPLAY
  101. *DefaultOption: LETTER
  102. *Option: LETTER
  103. {
  104. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  105. *PrintableArea: PAIR(5760, 7468)
  106. *PrintableOrigin: PAIR(92, 48)
  107. *Command: CmdSelect
  108. {
  109. *Order: DOC_SETUP.2
  110. *Cmd: "<1B>(g<0300>n<01>r"
  111. }
  112. }
  113. *Option: LEGAL
  114. {
  115. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  116. *PrintableArea: PAIR(5760, 9628)
  117. *PrintableOrigin: PAIR(92, 48)
  118. *Command: CmdSelect
  119. {
  120. *Order: DOC_SETUP.2
  121. *Cmd: "<1B>(g<03008C01>r"
  122. }
  123. }
  124. *Option: EXECUTIVE
  125. {
  126. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  127. *PrintableArea: PAIR(4960, 7108)
  128. *PrintableOrigin: PAIR(92, 48)
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.2
  132. *Cmd: "<1B>(g<0300>i<01>r"
  133. }
  134. }
  135. *Option: FOLIO
  136. {
  137. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  138. *PrintableArea: PAIR(5760, 8908)
  139. *PrintableOrigin: PAIR(92, 48)
  140. *Command: CmdSelect
  141. {
  142. *Order: DOC_SETUP.2
  143. *Cmd: "<1B>(g<03008201>r"
  144. }
  145. }
  146. *Option: A4
  147. {
  148. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  149. *PrintableArea: PAIR(5696, 7968)
  150. *PrintableOrigin: PAIR(92, 48)
  151. *Command: CmdSelect
  152. {
  153. *Order: DOC_SETUP.2
  154. *Cmd: "<1B>(g<0300>u<01>r"
  155. }
  156. }
  157. *Option: A5
  158. {
  159. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  160. *PrintableArea: PAIR(3940, 5504)
  161. *PrintableOrigin: PAIR(92, 48)
  162. *Command: CmdSelect
  163. {
  164. *Order: DOC_SETUP.2
  165. *Cmd: "<1B>(g<0300>S<01>r"
  166. }
  167. }
  168. *Option: B5
  169. {
  170. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  171. *PrintableArea: PAIR(4904, 6836)
  172. *PrintableOrigin: PAIR(92, 48)
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.2
  176. *Cmd: "<1B>(g<0300>e<01>r"
  177. }
  178. }
  179. *Option: Option9
  180. {
  181. *rcNameID: 261
  182. *PageDimensions: PAIR(5760, 4320)
  183. *PrintableArea: PAIR(5500, 3870)
  184. *PrintableOrigin: PAIR(130, 90)
  185. *switch: Resolution
  186. {
  187. *case: Option2
  188. {
  189. *PrintableArea: PAIR(5500, 3868)
  190. *PrintableOrigin: PAIR(130, 92)
  191. }
  192. }
  193. *Command: CmdSelect
  194. {
  195. *Order: DOC_SETUP.2
  196. *Cmd: "<1B>(g<0300>%<<01>r"
  197. }
  198. }
  199. *Option: ENV_9
  200. {
  201. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  202. *RotateSize? : TRUE
  203. *PrintableArea: PAIR(5760, 2424)
  204. *PrintableOrigin: PAIR(180, 180)
  205. *Command: CmdSelect
  206. {
  207. *Order: DOC_SETUP.2
  208. *Cmd: "<1B>(g<0300>'<01>r"
  209. }
  210. }
  211. *Option: ENV_10
  212. {
  213. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  214. *RotateSize? : TRUE
  215. *PrintableArea: PAIR(5760, 2664)
  216. *PrintableOrigin: PAIR(180, 180)
  217. *Command: CmdSelect
  218. {
  219. *Order: DOC_SETUP.2
  220. *Cmd: "<1B>(g<0300>)<01>r"
  221. }
  222. }
  223. *Option: ENV_DL
  224. {
  225. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  226. *RotateSize? : TRUE
  227. *PrintableArea: PAIR(5760, 2760)
  228. *PrintableOrigin: PAIR(180, 180)
  229. *Command: CmdSelect
  230. {
  231. *Order: DOC_SETUP.2
  232. *Cmd: "<1B>(g<0300>+<01>r"
  233. }
  234. }
  235. *Option: ENV_C5
  236. {
  237. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  238. *RotateSize? : TRUE
  239. *PrintableArea: PAIR(5760, 4276)
  240. *PrintableOrigin: PAIR(180, 180)
  241. *Command: CmdSelect
  242. {
  243. *Order: DOC_SETUP.2
  244. *Cmd: "<1B>(g<0300>@<01>r"
  245. }
  246. }
  247. *Option: ENV_MONARCH
  248. {
  249. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  250. *RotateSize? : TRUE
  251. *PrintableArea: PAIR(4980, 2344)
  252. *PrintableOrigin: PAIR(180, 92)
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.2
  256. *Cmd: "<1B>(g<0300>'<01>r"
  257. }
  258. }
  259. *Option: CUSTOMSIZE
  260. {
  261. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  262. *MinSize: PAIR(2520, 2520)
  263. *MaxSize: PAIR(6480, 12240)
  264. *MaxPrintableWidth: 5760
  265. *MinLeftMargin: 180
  266. *CenterPrintable?: FALSE
  267. *TopMargin: 92
  268. *BottomMargin: 360
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.2
  272. *Cmd: "<1B>(g<0300>" %c{(PhysPaperLength / 72) }"<01>r"
  273. }
  274. }
  275. }
  276. *Feature: Resolution
  277. {
  278. *rcNameID: =RESOLUTION_DISPLAY
  279. *DefaultOption: Option1
  280. *Option: Option1
  281. {
  282. *Name: "360 x 360 " =DOTS_PER_INCH
  283. *DPI: PAIR(360, 360)
  284. *TextDPI: PAIR(360, 360)
  285. *PinsPerLogPass: 1
  286. *PinsPerPhysPass: 1
  287. *MinStripBlankPixels: 0
  288. EXTERN_GLOBAL: *SendMultipleRows?: FALSE
  289. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  290. *SpotDiameter: 100
  291. *Command: CmdSendBlockData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"K" }
  292. *Command: CmdSelect
  293. {
  294. *Order: DOC_SETUP.3
  295. *Cmd: "<1B>(d<020001>h"
  296. }
  297. }
  298. *Option: Option2
  299. {
  300. *Name: "180 x 180 " =DOTS_PER_INCH
  301. *DPI: PAIR(180, 180)
  302. *TextDPI: PAIR(180, 180)
  303. *PinsPerLogPass: 1
  304. *PinsPerPhysPass: 1
  305. *MinStripBlankPixels: 0
  306. EXTERN_GLOBAL: *SendMultipleRows?: FALSE
  307. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  308. *SpotDiameter: 100
  309. *Command: CmdSendBlockData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"K" }
  310. *Command: CmdSelect
  311. {
  312. *Order: DOC_SETUP.3
  313. *Cmd: "<1B>(d<020000B4>"
  314. }
  315. }
  316. }
  317. *Feature: MediaType
  318. {
  319. *rcNameID: =MEDIA_TYPE_DISPLAY
  320. *DefaultOption: Option1
  321. *Option: Option1
  322. {
  323. *rcNameID: 262
  324. *switch: TextQuality
  325. {
  326. *case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
  327. *Cmd: "<1B>(c<02001100>"} } *% Normal
  328. *case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
  329. *Cmd: "<1B>(c<02001101>"} } *% High Quality
  330. *case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
  331. *Cmd: "<1B>(c<02001102>"} } *% Draft Quality
  332. }
  333. }
  334. *Option: TRANSPARENCY
  335. {
  336. *Name: "Transparency"
  337. *switch: TextQuality
  338. {
  339. *case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
  340. *Cmd: "<1B>(c<02001120>"} } *% Normal
  341. *case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
  342. *Cmd: "<1B>(c<02001121>"} } *% High Quality
  343. *case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
  344. *Cmd: "<1B>(c<02001122>"} } *% Draft Quality
  345. }
  346. }
  347. *Option: Option3
  348. {
  349. *rcNameID: 265
  350. *switch: TextQuality
  351. {
  352. *case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
  353. *Cmd: "<1B>(c<02001100>"} } *% Normal
  354. *case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
  355. *Cmd: "<1B>(c<02001101>"} } *% High Quality
  356. *case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
  357. *Cmd: "<1B>(c<02001102>"} } *% Draft Quality
  358. }
  359. }
  360. }
  361. *Feature: TextQuality
  362. {
  363. *rcNameID: =TEXT_QUALITY_DISPLAY
  364. *DefaultOption: Option1
  365. *Option: Option1
  366. {
  367. *rcNameID: 262
  368. }
  369. *Option: Option2
  370. {
  371. *rcNameID: 276
  372. }
  373. *Option: Option3
  374. {
  375. *rcNameID: 277
  376. }
  377. }
  378. *Feature: Halftone
  379. {
  380. *rcNameID: =HALFTONING_DISPLAY
  381. *DefaultOption: HT_PATSIZE_AUTO
  382. *Option: HT_PATSIZE_AUTO
  383. {
  384. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  385. }
  386. *Ifdef: WINNT_50
  387. *Option: HT_PATSIZE_SUPERCELL_M
  388. {
  389. *rcNameID: =HT_SUPERCELL_DISPLAY
  390. }
  391. *Endif:
  392. *Option: HT_PATSIZE_6x6_M
  393. {
  394. *rcNameID: =HT_DITHER6X6_DISPLAY
  395. }
  396. *Option: HT_PATSIZE_8x8_M
  397. {
  398. *rcNameID: =HT_DITHER8X8_DISPLAY
  399. }
  400. }
  401. *Command: CmdStartDoc
  402. {
  403. *Order: DOC_SETUP.1
  404. *Cmd: "<1B>[K<0200000F1B>(a<010001>"
  405. }
  406. *Command: CmdEndJob
  407. {
  408. *Order: JOB_FINISH.1
  409. *Cmd: "<1B>(b<0100001B>(a<0100001B>(b<0100001B>@"
  410. }
  411. *RotateCoordinate?: FALSE
  412. *RotateRaster?: FALSE
  413. *RotateFont?: FALSE
  414. *TextCaps: LIST(TC_RA_ABLE)
  415. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  416. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE)
  417. *YMoveThreshold: *
  418. *switch: Resolution
  419. {
  420. *case: Option1
  421. {
  422. *YMoveUnit: 360
  423. *Command: CmdYMoveRelDown
  424. {
  425. *Cmd: "<1B>(e<0200>" %m{DestYRel / 2 }
  426. }
  427. }
  428. *case: Option2
  429. {
  430. *YMoveUnit: 180
  431. *Command: CmdYMoveRelDown
  432. {
  433. *Cmd: "<1B>(e<0200>" %m{DestYRel / 4 }
  434. }
  435. }
  436. }
  437. *Command: CmdCR { *Cmd : "<0D>" }
  438. *Command: CmdLF { *Cmd : "<0A>" }
  439. *Command: CmdFF { *Cmd : "<0C>" }
  440. *EjectPageWithFF?: TRUE
  441. *Command: CmdEnableTIFF4 { *Cmd : "<1B>(b<010001>" }
  442. *Command: CmdDisableCompression { *Cmd : "<1B>(b<010000>" }
  443. *OutputDataFormat: H_BYTE
  444. *OptimizeLeftBound?: FALSE
  445. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  446. *CursorYAfterSendBlockData: NO_MOVE