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.

445 lines
11 KiB

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