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.

745 lines
19 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "GW6360PC.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.000"
  9. *CodePage: 1252
  10. *ModelName: "Great Wall 6360 plus"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "GW63CRES.DLL"
  13. *PrinterType: SERIAL
  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: TRACTOR
  31. *Option: TRACTOR
  32. {
  33. *rcNameID: =TRACTOR_DISPLAY
  34. }
  35. *Option: MANUAL
  36. {
  37. *rcNameID: =MANUAL_FEED_DISPLAY
  38. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  39. }
  40. }
  41. *Feature: Resolution
  42. {
  43. *rcNameID: =RESOLUTION_DISPLAY
  44. *DefaultOption: Option2
  45. *Option: Option1
  46. {
  47. *Name: "360 x 180 dots per inch"
  48. *DPI: PAIR(360, 180)
  49. *TextDPI: PAIR(360, 180)
  50. *PinsPerLogPass: 24
  51. *PinsPerPhysPass: 24
  52. *MinStripBlankPixels: 360
  53. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  54. *SpotDiameter: 170
  55. *Command: CmdSendBlockData { *Cmd : "<1B>%%I(" %m{(NumOfDataBytes / 3) } }
  56. }
  57. *Option: Option2
  58. {
  59. *Name: "180 x 180 dots per inch"
  60. *DPI: PAIR(180, 180)
  61. *TextDPI: PAIR(180, 180)
  62. *PinsPerLogPass: 24
  63. *PinsPerPhysPass: 24
  64. *MinStripBlankPixels: 180
  65. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  66. *SpotDiameter: 120
  67. *Command: CmdSendBlockData { *Cmd : "<1B>%%1" %m{(NumOfDataBytes / 3) } }
  68. }
  69. }
  70. *Feature: PaperSize
  71. {
  72. *rcNameID: =PAPER_SIZE_DISPLAY
  73. *DefaultOption: A4
  74. *Option: LETTER
  75. {
  76. *rcNameID: =LETTER_DISPLAY
  77. *switch: InputBin
  78. {
  79. *case: TRACTOR
  80. {
  81. *PrintableArea: PAIR(2820, 3800)
  82. *PrintableOrigin: PAIR(120, 0)
  83. }
  84. *case: MANUAL
  85. {
  86. *PrintableArea: PAIR(2820, 3616)
  87. *PrintableOrigin: PAIR(120, 120)
  88. }
  89. }
  90. }
  91. *Option: LEGAL
  92. {
  93. *rcNameID: =LEGAL_DISPLAY
  94. *switch: InputBin
  95. {
  96. *case: TRACTOR
  97. {
  98. *PrintableArea: PAIR(2820, 4880)
  99. *PrintableOrigin: PAIR(120, 0)
  100. }
  101. *case: MANUAL
  102. {
  103. *PrintableArea: PAIR(2820, 4696)
  104. *PrintableOrigin: PAIR(120, 120)
  105. }
  106. }
  107. }
  108. *Option: A3
  109. {
  110. *rcNameID: =A3_DISPLAY
  111. *switch: InputBin
  112. {
  113. *case: TRACTOR
  114. {
  115. *PrintableArea: PAIR(3816, 5794)
  116. *PrintableOrigin: PAIR(120, 0)
  117. }
  118. *case: MANUAL
  119. {
  120. *PrintableArea: PAIR(3816, 5610)
  121. *PrintableOrigin: PAIR(120, 120)
  122. }
  123. }
  124. }
  125. *Option: A4
  126. {
  127. *rcNameID: =A4_DISPLAY
  128. *switch: InputBin
  129. {
  130. *case: TRACTOR
  131. {
  132. *PrintableArea: PAIR(2737, 4048)
  133. *PrintableOrigin: PAIR(120, 0)
  134. *switch: Resolution
  135. {
  136. *case: Option2
  137. {
  138. *PrintableArea: PAIR(2736, 4048)
  139. }
  140. }
  141. }
  142. *case: MANUAL
  143. {
  144. *PrintableArea: PAIR(2737, 3864)
  145. *PrintableOrigin: PAIR(120, 120)
  146. *switch: Resolution
  147. {
  148. *case: Option2
  149. {
  150. *PrintableArea: PAIR(2736, 3864)
  151. }
  152. }
  153. }
  154. }
  155. }
  156. *Option: A5
  157. {
  158. *rcNameID: =A5_DISPLAY
  159. *switch: InputBin
  160. {
  161. *case: TRACTOR
  162. {
  163. *PrintableArea: PAIR(1859, 2817)
  164. *PrintableOrigin: PAIR(120, 0)
  165. *switch: Resolution
  166. {
  167. *case: Option1
  168. {
  169. *PrintableArea: PAIR(1859, 2816)
  170. }
  171. *case: Option2
  172. {
  173. *PrintableArea: PAIR(1858, 2816)
  174. }
  175. }
  176. }
  177. *case: MANUAL
  178. {
  179. *PrintableArea: PAIR(1859, 2633)
  180. *PrintableOrigin: PAIR(120, 120)
  181. *switch: Resolution
  182. {
  183. *case: Option1
  184. {
  185. *PrintableArea: PAIR(1859, 2632)
  186. }
  187. *case: Option2
  188. {
  189. *PrintableArea: PAIR(1858, 2632)
  190. }
  191. }
  192. }
  193. }
  194. }
  195. *Option: B4
  196. {
  197. *rcNameID: =B4_DISPLAY
  198. *switch: InputBin
  199. {
  200. *case: TRACTOR
  201. {
  202. *PrintableArea: PAIR(3403, 4999)
  203. *PrintableOrigin: PAIR(120, 0)
  204. *switch: Resolution
  205. {
  206. *case: Option1
  207. {
  208. *PrintableArea: PAIR(3403, 4998)
  209. }
  210. *case: Option2
  211. {
  212. *PrintableArea: PAIR(3402, 4998)
  213. }
  214. }
  215. }
  216. *case: MANUAL
  217. {
  218. *PrintableArea: PAIR(3403, 4815)
  219. *PrintableOrigin: PAIR(120, 120)
  220. *switch: Resolution
  221. {
  222. *case: Option1
  223. {
  224. *PrintableArea: PAIR(3403, 4814)
  225. }
  226. *case: Option2
  227. {
  228. *PrintableArea: PAIR(3402, 4814)
  229. }
  230. }
  231. }
  232. }
  233. }
  234. *Option: B5
  235. {
  236. *rcNameID: =B5_DISPLAY
  237. *switch: InputBin
  238. {
  239. *case: TRACTOR
  240. {
  241. *PrintableArea: PAIR(2341, 3483)
  242. *PrintableOrigin: PAIR(120, 0)
  243. *switch: Resolution
  244. {
  245. *case: Option1
  246. {
  247. *PrintableArea: PAIR(2341, 3482)
  248. }
  249. *case: Option2
  250. {
  251. *PrintableArea: PAIR(2340, 3482)
  252. }
  253. }
  254. }
  255. *case: MANUAL
  256. {
  257. *PrintableArea: PAIR(2341, 3299)
  258. *PrintableOrigin: PAIR(120, 120)
  259. *switch: Resolution
  260. {
  261. *case: Option1
  262. {
  263. *PrintableArea: PAIR(2341, 3298)
  264. }
  265. *case: Option2
  266. {
  267. *PrintableArea: PAIR(2340, 3298)
  268. }
  269. }
  270. }
  271. }
  272. }
  273. *Option: Option8
  274. {
  275. *rcNameID: 258
  276. *PageDimensions: PAIR(2340, 1446)
  277. *switch: InputBin
  278. {
  279. *case: TRACTOR
  280. {
  281. *PrintableArea: PAIR(2100, 1286)
  282. *PrintableOrigin: PAIR(120, 0)
  283. }
  284. *case: MANUAL
  285. {
  286. *PrintableArea: PAIR(2100, 1102)
  287. *PrintableOrigin: PAIR(120, 120)
  288. }
  289. }
  290. }
  291. *Option: Option9
  292. {
  293. *rcNameID: 259
  294. *PageDimensions: PAIR(2340, 1446)
  295. *switch: InputBin
  296. {
  297. *case: TRACTOR
  298. {
  299. *PrintableArea: PAIR(2100, 1286)
  300. *PrintableOrigin: PAIR(120, 0)
  301. }
  302. *case: MANUAL
  303. {
  304. *PrintableArea: PAIR(2100, 1102)
  305. *PrintableOrigin: PAIR(120, 120)
  306. }
  307. }
  308. }
  309. *Option: Option10
  310. {
  311. *rcNameID: 260
  312. *PageDimensions: PAIR(2496, 1560)
  313. *switch: InputBin
  314. {
  315. *case: TRACTOR
  316. {
  317. *PrintableArea: PAIR(2256, 1400)
  318. *PrintableOrigin: PAIR(120, 0)
  319. }
  320. *case: MANUAL
  321. {
  322. *PrintableArea: PAIR(2256, 1216)
  323. *PrintableOrigin: PAIR(120, 120)
  324. }
  325. }
  326. }
  327. *Option: Option11
  328. {
  329. *rcNameID: 261
  330. *PageDimensions: PAIR(2496, 1560)
  331. *switch: InputBin
  332. {
  333. *case: TRACTOR
  334. {
  335. *PrintableArea: PAIR(2256, 1400)
  336. *PrintableOrigin: PAIR(120, 0)
  337. }
  338. *case: MANUAL
  339. {
  340. *PrintableArea: PAIR(2256, 1216)
  341. *PrintableOrigin: PAIR(120, 120)
  342. }
  343. }
  344. }
  345. *Option: Option12
  346. {
  347. *rcNameID: 262
  348. *PageDimensions: PAIR(2496, 1774)
  349. *switch: InputBin
  350. {
  351. *case: TRACTOR
  352. {
  353. *PrintableArea: PAIR(2256, 1614)
  354. *PrintableOrigin: PAIR(120, 0)
  355. }
  356. *case: MANUAL
  357. {
  358. *PrintableArea: PAIR(2256, 1430)
  359. *PrintableOrigin: PAIR(120, 120)
  360. }
  361. }
  362. }
  363. *Option: Option13
  364. {
  365. *rcNameID: 263
  366. *PageDimensions: PAIR(2496, 1774)
  367. *switch: InputBin
  368. {
  369. *case: TRACTOR
  370. {
  371. *PrintableArea: PAIR(2256, 1614)
  372. *PrintableOrigin: PAIR(120, 0)
  373. }
  374. *case: MANUAL
  375. {
  376. *PrintableArea: PAIR(2256, 1430)
  377. *PrintableOrigin: PAIR(120, 120)
  378. }
  379. }
  380. }
  381. *Option: Option14
  382. {
  383. *rcNameID: 264
  384. *PageDimensions: PAIR(2950, 1560)
  385. *switch: InputBin
  386. {
  387. *case: TRACTOR
  388. {
  389. *PrintableArea: PAIR(2710, 1400)
  390. *PrintableOrigin: PAIR(120, 0)
  391. }
  392. *case: MANUAL
  393. {
  394. *PrintableArea: PAIR(2710, 1216)
  395. *PrintableOrigin: PAIR(120, 120)
  396. }
  397. }
  398. }
  399. *Option: Option15
  400. {
  401. *rcNameID: 265
  402. *PageDimensions: PAIR(2950, 1560)
  403. *switch: InputBin
  404. {
  405. *case: TRACTOR
  406. {
  407. *PrintableArea: PAIR(2710, 1400)
  408. *PrintableOrigin: PAIR(120, 0)
  409. }
  410. *case: MANUAL
  411. {
  412. *PrintableArea: PAIR(2710, 1216)
  413. *PrintableOrigin: PAIR(120, 120)
  414. }
  415. }
  416. }
  417. *Option: Option16
  418. {
  419. *rcNameID: 266
  420. *PageDimensions: PAIR(3120, 1560)
  421. *switch: InputBin
  422. {
  423. *case: TRACTOR
  424. {
  425. *PrintableArea: PAIR(2880, 1400)
  426. *PrintableOrigin: PAIR(120, 0)
  427. }
  428. *case: MANUAL
  429. {
  430. *PrintableArea: PAIR(2880, 1216)
  431. *PrintableOrigin: PAIR(120, 120)
  432. }
  433. }
  434. }
  435. *Option: Option17
  436. {
  437. *rcNameID: 267
  438. *PageDimensions: PAIR(3120, 1560)
  439. *switch: InputBin
  440. {
  441. *case: TRACTOR
  442. {
  443. *PrintableArea: PAIR(2880, 1400)
  444. *PrintableOrigin: PAIR(120, 0)
  445. }
  446. *case: MANUAL
  447. {
  448. *PrintableArea: PAIR(2880, 1216)
  449. *PrintableOrigin: PAIR(120, 120)
  450. }
  451. }
  452. }
  453. *Option: Option18
  454. {
  455. *rcNameID: 268
  456. *PageDimensions: PAIR(3120, 1560)
  457. *switch: InputBin
  458. {
  459. *case: TRACTOR
  460. {
  461. *PrintableArea: PAIR(2880, 1400)
  462. *PrintableOrigin: PAIR(120, 0)
  463. }
  464. *case: MANUAL
  465. {
  466. *PrintableArea: PAIR(2880, 1216)
  467. *PrintableOrigin: PAIR(120, 120)
  468. }
  469. }
  470. }
  471. *Option: Option19
  472. {
  473. *rcNameID: 269
  474. *PageDimensions: PAIR(3120, 1560)
  475. *switch: InputBin
  476. {
  477. *case: TRACTOR
  478. {
  479. *PrintableArea: PAIR(2880, 1400)
  480. *PrintableOrigin: PAIR(120, 0)
  481. }
  482. *case: MANUAL
  483. {
  484. *PrintableArea: PAIR(2880, 1216)
  485. *PrintableOrigin: PAIR(120, 120)
  486. }
  487. }
  488. }
  489. *Option: Option20
  490. {
  491. *rcNameID: 270
  492. *PageDimensions: PAIR(2496, 1560)
  493. *switch: InputBin
  494. {
  495. *case: TRACTOR
  496. {
  497. *PrintableArea: PAIR(2256, 1400)
  498. *PrintableOrigin: PAIR(120, 0)
  499. }
  500. *case: MANUAL
  501. {
  502. *PrintableArea: PAIR(2256, 1216)
  503. *PrintableOrigin: PAIR(120, 120)
  504. }
  505. }
  506. }
  507. *Option: Option21
  508. {
  509. *rcNameID: 271
  510. *PageDimensions: PAIR(2496, 1560)
  511. *switch: InputBin
  512. {
  513. *case: TRACTOR
  514. {
  515. *PrintableArea: PAIR(2256, 1400)
  516. *PrintableOrigin: PAIR(120, 0)
  517. }
  518. *case: MANUAL
  519. {
  520. *PrintableArea: PAIR(2256, 1216)
  521. *PrintableOrigin: PAIR(120, 120)
  522. }
  523. }
  524. }
  525. *Option: Option22
  526. {
  527. *rcNameID: 272
  528. *PageDimensions: PAIR(3262, 2270)
  529. *switch: InputBin
  530. {
  531. *case: TRACTOR
  532. {
  533. *PrintableArea: PAIR(3022, 2110)
  534. *PrintableOrigin: PAIR(120, 0)
  535. }
  536. *case: MANUAL
  537. {
  538. *PrintableArea: PAIR(3022, 1926)
  539. *PrintableOrigin: PAIR(120, 120)
  540. }
  541. }
  542. }
  543. *Option: Option23
  544. {
  545. *rcNameID: 273
  546. *PageDimensions: PAIR(3262, 2270)
  547. *switch: InputBin
  548. {
  549. *case: TRACTOR
  550. {
  551. *PrintableArea: PAIR(3022, 2110)
  552. *PrintableOrigin: PAIR(120, 0)
  553. }
  554. *case: MANUAL
  555. {
  556. *PrintableArea: PAIR(3022, 1926)
  557. *PrintableOrigin: PAIR(120, 120)
  558. }
  559. }
  560. }
  561. *Option: Option24
  562. {
  563. *rcNameID: 274
  564. *PageDimensions: PAIR(4382, 1702)
  565. *switch: InputBin
  566. {
  567. *case: TRACTOR
  568. {
  569. *PrintableArea: PAIR(3816, 1542)
  570. *PrintableOrigin: PAIR(120, 0)
  571. }
  572. *case: MANUAL
  573. {
  574. *PrintableArea: PAIR(3816, 1358)
  575. *PrintableOrigin: PAIR(120, 120)
  576. }
  577. }
  578. }
  579. *Option: Option25
  580. {
  581. *rcNameID: 275
  582. *PageDimensions: PAIR(4382, 1702)
  583. *switch: InputBin
  584. {
  585. *case: TRACTOR
  586. {
  587. *PrintableArea: PAIR(3816, 1542)
  588. *PrintableOrigin: PAIR(120, 0)
  589. }
  590. *case: MANUAL
  591. {
  592. *PrintableArea: PAIR(3816, 1358)
  593. *PrintableOrigin: PAIR(120, 120)
  594. }
  595. }
  596. }
  597. *Option: Option26
  598. {
  599. *rcNameID: 276
  600. *PageDimensions: PAIR(4595, 3248)
  601. *switch: InputBin
  602. {
  603. *case: TRACTOR
  604. {
  605. *PrintableArea: PAIR(3816, 3088)
  606. *PrintableOrigin: PAIR(120, 0)
  607. }
  608. *case: MANUAL
  609. {
  610. *PrintableArea: PAIR(3816, 2904)
  611. *PrintableOrigin: PAIR(120, 120)
  612. }
  613. }
  614. }
  615. *Option: Option27
  616. {
  617. *rcNameID: 277
  618. *PageDimensions: PAIR(4595, 3248)
  619. *switch: InputBin
  620. {
  621. *case: TRACTOR
  622. {
  623. *PrintableArea: PAIR(3816, 3088)
  624. *PrintableOrigin: PAIR(120, 0)
  625. }
  626. *case: MANUAL
  627. {
  628. *PrintableArea: PAIR(3816, 2904)
  629. *PrintableOrigin: PAIR(120, 120)
  630. }
  631. }
  632. }
  633. *Option: CUSTOMSIZE
  634. {
  635. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  636. *MinSize: PAIR(180, 180)
  637. *MaxSize: PAIR(3816, 32767)
  638. *MaxPrintableWidth: 3816
  639. *MinLeftMargin: 0
  640. *CenterPrintable?: FALSE
  641. *switch: InputBin
  642. {
  643. *case: TRACTOR
  644. {
  645. *TopMargin: 0
  646. *BottomMargin: 0
  647. }
  648. *case: MANUAL
  649. {
  650. *TopMargin: 120
  651. *BottomMargin: 224
  652. }
  653. }
  654. }
  655. }
  656. *Feature: PrintQuality
  657. {
  658. *rcNameID: =TEXT_QUALITY_DISPLAY
  659. *DefaultOption: LETTER_QUALITY
  660. *Option: LETTER_QUALITY
  661. {
  662. *rcNameID: =LETTER_QUALITY_DISPLAY
  663. }
  664. *Option: DRAFT_QUALITY
  665. {
  666. *rcNameID: =DRAFT_QUALITY_DISPLAY
  667. }
  668. }
  669. *Feature: Halftone
  670. {
  671. *rcNameID: =HALFTONING_DISPLAY
  672. *DefaultOption: HT_PATSIZE_AUTO
  673. *Option: HT_PATSIZE_AUTO
  674. {
  675. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  676. }
  677. *Option: HT_PATSIZE_SUPERCELL_M
  678. {
  679. *rcNameID: =HT_SUPERCELL_DISPLAY
  680. }
  681. *Option: HT_PATSIZE_6x6_M
  682. {
  683. *rcNameID: =HT_DITHER6X6_DISPLAY
  684. }
  685. *Option: HT_PATSIZE_8x8_M
  686. {
  687. *rcNameID: =HT_DITHER8X8_DISPLAY
  688. }
  689. }
  690. *Command: CmdStartPage
  691. {
  692. *Order: PAGE_SETUP.1
  693. *Cmd: "<0D>"
  694. }
  695. *Command: CmdEndJob
  696. {
  697. *Order: JOB_FINISH.1
  698. *Cmd: "<10>B"
  699. }
  700. *RotateCoordinate?: FALSE
  701. *RotateRaster?: FALSE
  702. *RotateFont?: TRUE
  703. *switch: Orientation
  704. {
  705. *case: PORTRAIT
  706. {
  707. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE,TC_RA_ABLE)
  708. }
  709. *case: LANDSCAPE_CC270
  710. {
  711. *TextCaps: LIST(TC_RA_ABLE)
  712. }
  713. }
  714. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  715. *YMoveAttributes: LIST(SEND_CR_FIRST)
  716. *MaxLineSpacing: 255
  717. *XMoveThreshold: *
  718. *YMoveThreshold: *
  719. *XMoveUnit: 180
  720. *YMoveUnit: 120
  721. *Command: CmdXMoveRelRight { *Cmd : "<1B>%%3" %m[1,1908]{(DestXRel / 2)} }
  722. *Command: CmdYMoveRelDown { *Cmd : "<1B>%%5" %c[0,255]{max_repeat(DestYRel / 3)} }
  723. *Command: CmdSetLineSpacing { *Cmd : "<1B>%%9<00>" %c[0,255]{(LinefeedSpacing / 3)} }
  724. *Command: CmdCR { *Cmd : "<0D>" }
  725. *Command: CmdLF { *Cmd : "<0A>" }
  726. *Command: CmdFF { *Cmd : "<0C>" }
  727. *Command: CmdBackSpace { *Cmd : "<08>" }
  728. *Command: CmdUniDirectionOn { *Cmd : "<1B>%%U" }
  729. *Command: CmdUniDirectionOff { *Cmd : "<1B>%%B" }
  730. *EjectPageWithFF?: TRUE
  731. *OutputDataFormat: V_BYTE
  732. *OptimizeLeftBound?: FALSE
  733. *CursorXAfterSendBlockData: AT_GRXDATA_END
  734. *CursorYAfterSendBlockData: NO_MOVE
  735. *DefaultFont: 13
  736. *DefaultCTT: 0
  737. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  738. + 17,20,23,26,29,32,35,38,41,44,47,50,53,56,59)
  739. *Command: CmdBoldOn { *Cmd : "<1B>m" }
  740. *Command: CmdBoldOff { *Cmd : "<1B>n" }
  741. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  742. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
  743. *Command: CmdVerticalPrintingOn { *Cmd : "<1C>J" }
  744. *Command: CmdVerticalPrintingOff { *Cmd : "<1C>K" }