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.

558 lines
14 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "CNBJ230.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Canon Bubble-Jet BJ-230"
  10. *MasterUnits: PAIR(720, 720)
  11. *ResourceDLL: "cnbjcres.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: AUTO
  30. *Option: MANUAL
  31. {
  32. *rcNameID: =MANUAL_FEED_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.4
  36. *Cmd: "<1B>(l<010010>"
  37. }
  38. }
  39. *Option: AUTO
  40. {
  41. *rcNameID: =AUTO_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.4
  45. *Cmd: "<1B>(l<010014>"
  46. }
  47. }
  48. }
  49. *Feature: Resolution
  50. {
  51. *rcNameID: =RESOLUTION_DISPLAY
  52. *DefaultOption: Option1
  53. *Option: Option1
  54. {
  55. *Name: "360 x 360 " =DOTS_PER_INCH
  56. *DPI: PAIR(360, 360)
  57. *TextDPI: PAIR(360, 360)
  58. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  59. *SpotDiameter: 100
  60. *Command: CmdSendBlockData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"K" }
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.6
  64. *Cmd: "<1B>(d<020001>h"
  65. }
  66. }
  67. *Option: Option2
  68. {
  69. *Name: "180 x 180 " =DOTS_PER_INCH
  70. *DPI: PAIR(180, 180)
  71. *TextDPI: PAIR(180, 180)
  72. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  73. EXTERN_GLOBAL: *TextYOffset: 1
  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(5860, 7470)
  91. *PrintableOrigin: PAIR(180, 90)
  92. *switch: Resolution
  93. {
  94. *case: Option2
  95. {
  96. *PrintableArea: PAIR(5860, 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: Option2
  107. {
  108. *rcNameID: 259
  109. *PageDimensions: PAIR(7920, 6120)
  110. *PrintableArea: PAIR(7660, 5670)
  111. *PrintableOrigin: PAIR(180, 90)
  112. *switch: Resolution
  113. {
  114. *case: Option2
  115. {
  116. *PrintableArea: PAIR(7660, 5668)
  117. *PrintableOrigin: PAIR(180, 92)
  118. }
  119. }
  120. *Command: CmdSelect
  121. {
  122. *Order: DOC_SETUP.5
  123. *Cmd: "<1B>(g<0300>P<01>r"
  124. }
  125. }
  126. *Option: LEGAL
  127. {
  128. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  129. *PrintableArea: PAIR(5860, 9630)
  130. *PrintableOrigin: PAIR(180, 90)
  131. *switch: Resolution
  132. {
  133. *case: Option2
  134. {
  135. *PrintableArea: PAIR(5860, 9628)
  136. *PrintableOrigin: PAIR(180, 92)
  137. }
  138. }
  139. *Command: CmdSelect
  140. {
  141. *Order: DOC_SETUP.5
  142. *Cmd: "<1B>(g<03008C01>r"
  143. }
  144. }
  145. *Option: EXECUTIVE
  146. {
  147. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  148. *PrintableArea: PAIR(4960, 7110)
  149. *PrintableOrigin: PAIR(180, 90)
  150. *switch: Resolution
  151. {
  152. *case: Option2
  153. {
  154. *PrintableArea: PAIR(4960, 7108)
  155. *PrintableOrigin: PAIR(180, 92)
  156. }
  157. }
  158. *Command: CmdSelect
  159. {
  160. *Order: DOC_SETUP.5
  161. *Cmd: "<1B>(g<0300>i<01>r"
  162. }
  163. }
  164. *Option: FOLIO
  165. {
  166. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  167. *PrintableArea: PAIR(5860, 8910)
  168. *PrintableOrigin: PAIR(180, 90)
  169. *switch: Resolution
  170. {
  171. *case: Option2
  172. {
  173. *PrintableArea: PAIR(5860, 8908)
  174. *PrintableOrigin: PAIR(180, 92)
  175. }
  176. }
  177. *Command: CmdSelect
  178. {
  179. *Order: DOC_SETUP.5
  180. *Cmd: "<1B>(g<03008201>r"
  181. }
  182. }
  183. *Option: TABLOID
  184. {
  185. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  186. *PrintableArea: PAIR(7660, 11790)
  187. *PrintableOrigin: PAIR(180, 90)
  188. *switch: Resolution
  189. {
  190. *case: Option2
  191. {
  192. *PrintableArea: PAIR(7660, 11788)
  193. *PrintableOrigin: PAIR(180, 92)
  194. }
  195. }
  196. *Command: CmdSelect
  197. {
  198. *Order: DOC_SETUP.5
  199. *Cmd: "<1B>(g<0300AA01>r"
  200. }
  201. }
  202. *Option: A3
  203. {
  204. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  205. *PrintableArea: PAIR(8157, 11459)
  206. *PrintableOrigin: PAIR(180, 90)
  207. *switch: Resolution
  208. {
  209. *case: Option1
  210. {
  211. *PrintableArea: PAIR(8156, 11458)
  212. }
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(8156, 11456)
  216. *PrintableOrigin: PAIR(180, 92)
  217. }
  218. }
  219. *Command: CmdSelect
  220. {
  221. *Order: DOC_SETUP.5
  222. *Cmd: "<1B>(g<0300A501>r"
  223. }
  224. }
  225. *Option: A4
  226. {
  227. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  228. *PrintableArea: PAIR(5694, 7967)
  229. *PrintableOrigin: PAIR(180, 90)
  230. *switch: Resolution
  231. {
  232. *case: Option1
  233. {
  234. *PrintableArea: PAIR(5694, 7966)
  235. }
  236. *case: Option2
  237. {
  238. *PrintableArea: PAIR(5692, 7964)
  239. *PrintableOrigin: PAIR(180, 92)
  240. }
  241. }
  242. *Command: CmdSelect
  243. {
  244. *Order: DOC_SETUP.5
  245. *Cmd: "<1B>(g<0300>u<01>r"
  246. }
  247. }
  248. *Option: Option9
  249. {
  250. *rcNameID: 260
  251. *PageDimensions: PAIR(8416, 5954)
  252. *PrintableArea: PAIR(8156, 5504)
  253. *PrintableOrigin: PAIR(180, 90)
  254. *switch: Resolution
  255. {
  256. *case: Option2
  257. {
  258. *PrintableArea: PAIR(8156, 5500)
  259. *PrintableOrigin: PAIR(180, 92)
  260. }
  261. }
  262. *Command: CmdSelect
  263. {
  264. *Order: DOC_SETUP.5
  265. *Cmd: "<1B>(g<0300>Q<01>r"
  266. }
  267. }
  268. *Option: A5
  269. {
  270. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  271. *PrintableArea: PAIR(3938, 5504)
  272. *PrintableOrigin: PAIR(180, 90)
  273. *switch: Resolution
  274. {
  275. *case: Option2
  276. {
  277. *PrintableArea: PAIR(3936, 5500)
  278. *PrintableOrigin: PAIR(180, 92)
  279. }
  280. }
  281. *Command: CmdSelect
  282. {
  283. *Order: DOC_SETUP.5
  284. *Cmd: "<1B>(g<0300>S<01>r"
  285. }
  286. }
  287. *Option: B4
  288. {
  289. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  290. *PrintableArea: PAIR(7026, 9868)
  291. *PrintableOrigin: PAIR(180, 90)
  292. *switch: Resolution
  293. {
  294. *case: Option2
  295. {
  296. *PrintableArea: PAIR(7024, 9864)
  297. *PrintableOrigin: PAIR(180, 92)
  298. }
  299. }
  300. *Command: CmdSelect
  301. {
  302. *Order: DOC_SETUP.5
  303. *Cmd: "<1B>(g<03008B01>r"
  304. }
  305. }
  306. *Option: B5
  307. {
  308. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  309. *PrintableArea: PAIR(4902, 6836)
  310. *PrintableOrigin: PAIR(180, 90)
  311. *switch: Resolution
  312. {
  313. *case: Option2
  314. {
  315. *PrintableArea: PAIR(4900, 6832)
  316. *PrintableOrigin: PAIR(180, 92)
  317. }
  318. }
  319. *Command: CmdSelect
  320. {
  321. *Order: DOC_SETUP.5
  322. *Cmd: "<1B>(g<0300>e<01>r"
  323. }
  324. }
  325. *Option: 10X14
  326. {
  327. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  328. *PrintableArea: PAIR(6940, 9630)
  329. *PrintableOrigin: PAIR(180, 90)
  330. *switch: Resolution
  331. {
  332. *case: Option2
  333. {
  334. *PrintableArea: PAIR(6940, 9628)
  335. *PrintableOrigin: PAIR(180, 92)
  336. }
  337. }
  338. *Command: CmdSelect
  339. {
  340. *Order: DOC_SETUP.5
  341. *Cmd: "<1B>(g<03008C01>r"
  342. }
  343. }
  344. *Option: Option14
  345. {
  346. *rcNameID: 261
  347. *PageDimensions: PAIR(5760, 4320)
  348. *PrintableArea: PAIR(5500, 3870)
  349. *PrintableOrigin: PAIR(180, 90)
  350. *switch: Resolution
  351. {
  352. *case: Option2
  353. {
  354. *PrintableArea: PAIR(5500, 3868)
  355. *PrintableOrigin: PAIR(180, 92)
  356. }
  357. }
  358. *Command: CmdSelect
  359. {
  360. *Order: DOC_SETUP.5
  361. *Cmd: "<1B>(g<0300>%<<01>r"
  362. }
  363. }
  364. *Option: ENV_9
  365. {
  366. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  367. *RotateSize? : TRUE
  368. *PrintableArea: PAIR(6134, 1984)
  369. *PrintableOrigin: PAIR(180, 450)
  370. *switch: Resolution
  371. {
  372. *case: Option2
  373. {
  374. *PrintableArea: PAIR(6132, 1980)
  375. *PrintableOrigin: PAIR(180, 452)
  376. }
  377. }
  378. *Command: CmdSelect
  379. {
  380. *Order: DOC_SETUP.5
  381. *Cmd: "<1B>(g<0300>'<01>r"
  382. }
  383. }
  384. *Option: ENV_10
  385. {
  386. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  387. *RotateSize? : TRUE
  388. *PrintableArea: PAIR(6580, 1814)
  389. *PrintableOrigin: PAIR(180, 800)
  390. *switch: Resolution
  391. {
  392. *case: Option2
  393. {
  394. *PrintableArea: PAIR(6580, 1812)
  395. }
  396. }
  397. *Command: CmdSelect
  398. {
  399. *Order: DOC_SETUP.5
  400. *Cmd: "<1B>(g<0300>)<01>r"
  401. }
  402. }
  403. *Option: ENV_DL
  404. {
  405. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  406. *RotateSize? : TRUE
  407. *PrintableArea: PAIR(5975, 1958)
  408. *PrintableOrigin: PAIR(180, 800)
  409. *switch: Resolution
  410. {
  411. *case: Option1
  412. {
  413. *PrintableArea: PAIR(5974, 1958)
  414. }
  415. *case: Option2
  416. {
  417. *PrintableArea: PAIR(5972, 1956)
  418. }
  419. }
  420. *Command: CmdSelect
  421. {
  422. *Order: DOC_SETUP.5
  423. *Cmd: "<1B>(g<0300>+<01>r"
  424. }
  425. }
  426. *Option: ENV_B5
  427. {
  428. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  429. *RotateSize? : TRUE
  430. *PrintableArea: PAIR(6825, 4540)
  431. *PrintableOrigin: PAIR(180, 90)
  432. *switch: Resolution
  433. {
  434. *case: Option1
  435. {
  436. *PrintableArea: PAIR(6824, 4540)
  437. }
  438. *case: Option2
  439. {
  440. *PrintableArea: PAIR(6824, 4536)
  441. *PrintableOrigin: PAIR(180, 92)
  442. }
  443. }
  444. *Command: CmdSelect
  445. {
  446. *Order: DOC_SETUP.5
  447. *Cmd: "<1B>(g<0300>E<01>r"
  448. }
  449. }
  450. *Option: ENV_C5
  451. {
  452. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  453. *RotateSize? : TRUE
  454. *PrintableArea: PAIR(6234, 3434)
  455. *PrintableOrigin: PAIR(180, 800)
  456. *switch: Resolution
  457. {
  458. *case: Option2
  459. {
  460. *PrintableArea: PAIR(6232, 3432)
  461. }
  462. }
  463. *Command: CmdSelect
  464. {
  465. *Order: DOC_SETUP.5
  466. *Cmd: "<1B>(g<0300>@<01>r"
  467. }
  468. }
  469. *Option: ENV_MONARCH
  470. {
  471. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  472. *RotateSize? : TRUE
  473. *PrintableArea: PAIR(5140, 2344)
  474. *PrintableOrigin: PAIR(180, 90)
  475. *switch: Resolution
  476. {
  477. *case: Option2
  478. {
  479. *PrintableArea: PAIR(5140, 2340)
  480. *PrintableOrigin: PAIR(180, 92)
  481. }
  482. }
  483. *Command: CmdSelect
  484. {
  485. *Order: DOC_SETUP.5
  486. *Cmd: "<1B>(g<0300>'<01>r"
  487. }
  488. }
  489. }
  490. *Feature: Halftone
  491. {
  492. *rcNameID: =HALFTONING_DISPLAY
  493. *DefaultOption: HT_PATSIZE_AUTO
  494. *Option: HT_PATSIZE_AUTO
  495. {
  496. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  497. }
  498. *Ifdef: WINNT_50
  499. *Option: HT_PATSIZE_SUPERCELL_M
  500. {
  501. *rcNameID: =HT_SUPERCELL_DISPLAY
  502. }
  503. *Endif:
  504. *Option: HT_PATSIZE_6x6_M
  505. {
  506. *rcNameID: =HT_DITHER6X6_DISPLAY
  507. }
  508. *Option: HT_PATSIZE_8x8_M
  509. {
  510. *rcNameID: =HT_DITHER8X8_DISPLAY
  511. }
  512. }
  513. *Command: CmdStartDoc
  514. {
  515. *Order: DOC_SETUP.1
  516. *Cmd: "<1B>[K<0200000F1B>(a<010001>"
  517. }
  518. *Command: CmdStartPage
  519. {
  520. *Order: PAGE_SETUP.1
  521. *Cmd: "<0D>"
  522. }
  523. *Command: CmdEndJob
  524. {
  525. *Order: JOB_FINISH.1
  526. *Cmd: "<1B>(a<0100001B>(b<0100001B>@"
  527. }
  528. *RotateCoordinate?: FALSE
  529. *RotateRaster?: FALSE
  530. *RotateFont?: FALSE
  531. *TextCaps: LIST(TC_RA_ABLE)
  532. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  533. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE)
  534. *YMoveThreshold: *
  535. *switch: Resolution
  536. {
  537. *case: Option1
  538. {
  539. *YMoveUnit: 360
  540. *Command: CmdYMoveRelDown { *Cmd : "<1B>(e<0200>" %m{DestYRel / 2 } }
  541. }
  542. *case: Option2
  543. {
  544. *YMoveUnit: 180
  545. *Command: CmdYMoveRelDown { *Cmd : "<1B>(e<0200>" %m{DestYRel / 4 } }
  546. }
  547. }
  548. *Command: CmdCR { *Cmd : "<0D>" }
  549. *Command: CmdLF { *Cmd : "<0A>" }
  550. *Command: CmdFF { *Cmd : "<0C>" }
  551. *EjectPageWithFF?: TRUE
  552. *Command: CmdEnableTIFF4 { *Cmd : "<1B>(b<010001>" }
  553. *Command: CmdDisableCompression { *Cmd : "<1B>(b<010000>" }
  554. *OutputDataFormat: H_BYTE
  555. *OptimizeLeftBound?: FALSE
  556. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  557. *CursorYAfterSendBlockData: NO_MOVE
  558. *DefaultCTT: 0