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.

647 lines
16 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "CNBJC800.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Canon Bubble-Jet BJC-800"
  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 *% rcid 1000
  90. *PrintableArea: PAIR(5910, 7470)
  91. *PrintableOrigin: PAIR(130, 90)
  92. *switch: Resolution
  93. {
  94. *case: Option2
  95. {
  96. *PrintableArea: PAIR(5908, 7468)
  97. *PrintableOrigin: PAIR(132, 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(7710, 5670)
  111. *PrintableOrigin: PAIR(130, 90)
  112. *switch: Resolution
  113. {
  114. *case: Option2
  115. {
  116. *PrintableArea: PAIR(7708, 5668)
  117. *PrintableOrigin: PAIR(132, 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 *% rcid 1004
  129. *PrintableArea: PAIR(5910, 9630)
  130. *PrintableOrigin: PAIR(130, 90)
  131. *switch: Resolution
  132. {
  133. *case: Option2
  134. {
  135. *PrintableArea: PAIR(5908, 9628)
  136. *PrintableOrigin: PAIR(132, 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 *% rcid 1006
  148. *PrintableArea: PAIR(5010, 7110)
  149. *PrintableOrigin: PAIR(130, 90)
  150. *switch: Resolution
  151. {
  152. *case: Option2
  153. {
  154. *PrintableArea: PAIR(5008, 7108)
  155. *PrintableOrigin: PAIR(132, 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 *% rcid 1013
  167. *PrintableArea: PAIR(5910, 8910)
  168. *PrintableOrigin: PAIR(130, 90)
  169. *switch: Resolution
  170. {
  171. *case: Option2
  172. {
  173. *PrintableArea: PAIR(5908, 8908)
  174. *PrintableOrigin: PAIR(132, 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 *% rcid 1002
  186. *PrintableArea: PAIR(7710, 11790)
  187. *PrintableOrigin: PAIR(130, 90)
  188. *switch: Resolution
  189. {
  190. *case: Option2
  191. {
  192. *PrintableArea: PAIR(7708, 11788)
  193. *PrintableOrigin: PAIR(132, 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 *% rcid 1007
  205. *PrintableArea: PAIR(8207, 11459)
  206. *PrintableOrigin: PAIR(130, 90)
  207. *switch: Resolution
  208. {
  209. *case: Option1
  210. {
  211. *PrintableArea: PAIR(8206, 11458)
  212. }
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(8204, 11456)
  216. *PrintableOrigin: PAIR(132, 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 *% rcid 1008
  228. *PrintableArea: PAIR(5744, 7967)
  229. *PrintableOrigin: PAIR(130, 90)
  230. *switch: Resolution
  231. {
  232. *case: Option1
  233. {
  234. *PrintableArea: PAIR(5744, 7966)
  235. }
  236. *case: Option2
  237. {
  238. *PrintableArea: PAIR(5740, 7964)
  239. *PrintableOrigin: PAIR(132, 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(8206, 5504)
  253. *PrintableOrigin: PAIR(130, 90)
  254. *switch: Resolution
  255. {
  256. *case: Option2
  257. {
  258. *PrintableArea: PAIR(8204, 5500)
  259. *PrintableOrigin: PAIR(132, 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 *% rcid 1010
  271. *PrintableArea: PAIR(3988, 5504)
  272. *PrintableOrigin: PAIR(130, 90)
  273. *switch: Resolution
  274. {
  275. *case: Option2
  276. {
  277. *PrintableArea: PAIR(3984, 5500)
  278. *PrintableOrigin: PAIR(132, 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 *% rcid 1011
  290. *PrintableArea: PAIR(7076, 9868)
  291. *PrintableOrigin: PAIR(130, 90)
  292. *switch: Resolution
  293. {
  294. *case: Option2
  295. {
  296. *PrintableArea: PAIR(7072, 9864)
  297. *PrintableOrigin: PAIR(132, 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 *% rcid 1012
  309. *PrintableArea: PAIR(4952, 6836)
  310. *PrintableOrigin: PAIR(130, 90)
  311. *switch: Resolution
  312. {
  313. *case: Option2
  314. {
  315. *PrintableArea: PAIR(4948, 6832)
  316. *PrintableOrigin: PAIR(132, 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 *% rcid 1015
  328. *PrintableArea: PAIR(6990, 9630)
  329. *PrintableOrigin: PAIR(130, 90)
  330. *switch: Resolution
  331. {
  332. *case: Option2
  333. {
  334. *PrintableArea: PAIR(6988, 9628)
  335. *PrintableOrigin: PAIR(132, 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(5550, 3870)
  349. *PrintableOrigin: PAIR(130, 90)
  350. *switch: Resolution
  351. {
  352. *case: Option2
  353. {
  354. *PrintableArea: PAIR(5548, 3868)
  355. *PrintableOrigin: PAIR(132, 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 *% rcid 1018
  367. *RotateSize? : TRUE
  368. *PrintableArea: PAIR(6184, 2476)
  369. *PrintableOrigin: PAIR(130, 150)
  370. *switch: Resolution
  371. {
  372. *case: Option2
  373. {
  374. *PrintableArea: PAIR(6180, 2476)
  375. *PrintableOrigin: PAIR(132, 152)
  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 *% rcid 1019
  387. *RotateSize? : TRUE
  388. *PrintableArea: PAIR(6630, 2664)
  389. *PrintableOrigin: PAIR(130, 150)
  390. *switch: Resolution
  391. {
  392. *case: Option2
  393. {
  394. *PrintableArea: PAIR(6628, 2664)
  395. *PrintableOrigin: PAIR(132, 152)
  396. }
  397. }
  398. *Command: CmdSelect
  399. {
  400. *Order: DOC_SETUP.5
  401. *Cmd: "<1B>(g<0300>)<01>r"
  402. }
  403. }
  404. *Option: ENV_DL
  405. {
  406. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1026
  407. *RotateSize? : TRUE
  408. *PrintableArea: PAIR(6024, 2808)
  409. *PrintableOrigin: PAIR(130, 150)
  410. *switch: Resolution
  411. {
  412. *case: Option2
  413. {
  414. *PrintableArea: PAIR(6020, 2808)
  415. *PrintableOrigin: PAIR(132, 152)
  416. }
  417. }
  418. *Command: CmdSelect
  419. {
  420. *Order: DOC_SETUP.5
  421. *Cmd: "<1B>(g<0300>+<01>r"
  422. }
  423. }
  424. *Option: ENV_B5
  425. {
  426. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1033
  427. *RotateSize? : TRUE
  428. *PrintableArea: PAIR(6875, 4540)
  429. *PrintableOrigin: PAIR(130, 90)
  430. *switch: Resolution
  431. {
  432. *case: Option1
  433. {
  434. *PrintableArea: PAIR(6874, 4540)
  435. }
  436. *case: Option2
  437. {
  438. *PrintableArea: PAIR(6872, 4536)
  439. *PrintableOrigin: PAIR(132, 92)
  440. }
  441. }
  442. *Command: CmdSelect
  443. {
  444. *Order: DOC_SETUP.5
  445. *Cmd: "<1B>(g<0300>E<01>r"
  446. }
  447. }
  448. *Option: ENV_C5
  449. {
  450. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1027
  451. *RotateSize? : TRUE
  452. *PrintableArea: PAIR(6284, 4276)
  453. *PrintableOrigin: PAIR(130, 150)
  454. *switch: Resolution
  455. {
  456. *case: Option2
  457. {
  458. *PrintableArea: PAIR(6280, 4276)
  459. *PrintableOrigin: PAIR(132, 152)
  460. }
  461. }
  462. *Command: CmdSelect
  463. {
  464. *Order: DOC_SETUP.5
  465. *Cmd: "<1B>(g<0300>@<01>r"
  466. }
  467. }
  468. *Option: ENV_MONARCH
  469. {
  470. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1036
  471. *RotateSize? : TRUE
  472. *PrintableArea: PAIR(5190, 2344)
  473. *PrintableOrigin: PAIR(130, 90)
  474. *switch: Resolution
  475. {
  476. *case: Option2
  477. {
  478. *PrintableArea: PAIR(5188, 2340)
  479. *PrintableOrigin: PAIR(132, 92)
  480. }
  481. }
  482. *Command: CmdSelect
  483. {
  484. *Order: DOC_SETUP.5
  485. *Cmd: "<1B>(g<0300>'<01>r"
  486. }
  487. }
  488. *Option: CUSTOMSIZE
  489. {
  490. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1255
  491. *MinSize: PAIR(2520, 2520)
  492. *MaxSize: PAIR(8424, 15840)
  493. *MaxPrintableWidth: 8208
  494. *MinLeftMargin: 130
  495. *CenterPrintable?: FALSE
  496. *TopMargin: 90
  497. *BottomMargin: 360
  498. *Command: CmdSelect
  499. {
  500. *Order: DOC_SETUP.5
  501. *Cmd: "<1B>(g<0300>" %c{(PhysPaperLength / 72) }"<01>r"
  502. }
  503. }
  504. }
  505. *Feature: MediaType
  506. {
  507. *rcNameID: =MEDIA_TYPE_DISPLAY
  508. *DefaultOption: Option1
  509. *Option: Option1
  510. {
  511. *rcNameID: 271
  512. *Command: CmdSelect
  513. {
  514. *Order: DOC_SETUP.3
  515. *Cmd: "<1B>(c<010000>"
  516. }
  517. }
  518. *Option: Option2
  519. {
  520. *rcNameID: 272
  521. *Command: CmdSelect
  522. {
  523. *Order: DOC_SETUP.3
  524. *Cmd: "<1B>(c<010001>"
  525. }
  526. }
  527. *Option: Option3
  528. {
  529. *rcNameID: 273
  530. *Command: CmdSelect
  531. {
  532. *Order: DOC_SETUP.3
  533. *Cmd: "<1B>(c<010002>"
  534. }
  535. }
  536. *Option: Option4
  537. {
  538. *rcNameID: 274
  539. *Command: CmdSelect
  540. {
  541. *Order: DOC_SETUP.3
  542. *Cmd: "<1B>(c<010003>"
  543. }
  544. }
  545. *Option: Option5
  546. {
  547. *rcNameID: 275
  548. *Command: CmdSelect
  549. {
  550. *Order: DOC_SETUP.3
  551. *Cmd: "<1B>(c<010004>"
  552. }
  553. }
  554. }
  555. *Feature: ColorMode
  556. {
  557. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  558. *DefaultOption: Color
  559. *Option: Mono
  560. {
  561. *rcNameID: =MONO_DISPLAY
  562. *DevNumOfPlanes: 1
  563. *DevBPP: 1
  564. *Color? : FALSE
  565. }
  566. *Option: Color
  567. {
  568. *rcNameID: =COLOR_DISPLAY
  569. *DevNumOfPlanes: 4
  570. *DevBPP: 1
  571. *DrvBPP: 4
  572. *ColorPlaneOrder: LIST(BLACK, CYAN, MAGENTA, YELLOW)
  573. *Command: CmdSendBlackData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"K" }
  574. *Command: CmdSendCyanData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"C" }
  575. *Command: CmdSendMagentaData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"M" }
  576. *Command: CmdSendYellowData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"Y" }
  577. }
  578. }
  579. *Feature: Halftone
  580. {
  581. *rcNameID: =HALFTONING_DISPLAY
  582. *DefaultOption: HT_PATSIZE_AUTO
  583. *Option: HT_PATSIZE_AUTO
  584. {
  585. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  586. }
  587. *Ifdef: WINNT_50
  588. *Option: HT_PATSIZE_SUPERCELL_M
  589. {
  590. *rcNameID: =HT_SUPERCELL_DISPLAY
  591. }
  592. *Endif:
  593. *Option: HT_PATSIZE_6x6_M
  594. {
  595. *rcNameID: =HT_DITHER6X6_DISPLAY
  596. }
  597. *Option: HT_PATSIZE_8x8_M
  598. {
  599. *rcNameID: =HT_DITHER8X8_DISPLAY
  600. }
  601. }
  602. *Command: CmdStartDoc
  603. {
  604. *Order: DOC_SETUP.1
  605. *Cmd: "<1B>[K<0200000F1B>(a<010001>"
  606. }
  607. *Command: CmdStartPage
  608. {
  609. *Order: PAGE_SETUP.1
  610. *Cmd: "<0D>"
  611. }
  612. *Command: CmdEndJob
  613. {
  614. *Order: JOB_FINISH.1
  615. *Cmd: "<1B>(a<0100001B>(b<0100001B>@"
  616. }
  617. *RotateCoordinate?: FALSE
  618. *RotateRaster?: FALSE
  619. *RotateFont?: FALSE
  620. *TextCaps: LIST(TC_RA_ABLE)
  621. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  622. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE)
  623. *YMoveThreshold: *
  624. *switch: Resolution
  625. {
  626. *case: Option1
  627. {
  628. *YMoveUnit: 360
  629. *Command: CmdYMoveRelDown { *Cmd : "<1B>(e<0200>" %m{DestYRel / 2 } }
  630. }
  631. *case: Option2
  632. {
  633. *YMoveUnit: 180
  634. *Command: CmdYMoveRelDown { *Cmd : "<1B>(e<0200>" %m{DestYRel / 4 } }
  635. }
  636. }
  637. *Command: CmdCR { *Cmd : "<0D>" }
  638. *Command: CmdLF { *Cmd : "<0A>" }
  639. *Command: CmdFF { *Cmd : "<0C>" }
  640. *EjectPageWithFF?: TRUE
  641. *Command: CmdEnableTIFF4 { *Cmd : "<1B>(b<010001>" }
  642. *Command: CmdDisableCompression { *Cmd : "<1B>(b<010000>" }
  643. *OutputDataFormat: H_BYTE
  644. *OptimizeLeftBound?: FALSE
  645. *CursorXAfterSendBlockData: AT_GRXDATA_END
  646. *CursorYAfterSendBlockData: NO_MOVE
  647. *DefaultCTT: 0