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.

654 lines
16 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "ATE740J.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "APTi PowerLaser E740"
  11. *MasterUnits: PAIR(1440, 1440)
  12. *ResourceDLL: "PAGESRES.DLL"
  13. *PrinterType: PAGE
  14. *MaxCopies: 255
  15. *PrintRate: 10
  16. *PrintRateUnit: PPM
  17. *rcInstalledOptionNameID: 400
  18. *rcNotInstalledOptionNameID: 401
  19. *% ========== Orientation ==========
  20. *Feature: Orientation
  21. {
  22. *rcNameID: =ORIENTATION_DISPLAY
  23. *DefaultOption: PORTRAIT
  24. *Option: PORTRAIT
  25. {
  26. *rcNameID: =PORTRAIT_DISPLAY
  27. *Command: CmdSelect
  28. {
  29. *Order: DOC_SETUP.3
  30. *Cmd: "<1B>~P<000100>"
  31. }
  32. }
  33. *Option: LANDSCAPE_CC270
  34. {
  35. *rcNameID: =LANDSCAPE_DISPLAY
  36. *Command: CmdSelect
  37. {
  38. *Order: DOC_SETUP.3
  39. *Cmd: "<1B>~P<000103>"
  40. }
  41. }
  42. }
  43. *% ========== InputBin ==========
  44. *Feature: InputBin
  45. {
  46. *rcNameID: =PAPER_SOURCE_DISPLAY
  47. *DefaultOption: Option1
  48. *Option: Option1
  49. {
  50. *rcNameID: 274
  51. *Command: CmdSelect
  52. {
  53. *Order: DOC_SETUP.2
  54. *Cmd: "<1B>~F<00050000000000>"
  55. }
  56. }
  57. *Option: Option2
  58. {
  59. *rcNameID: 275
  60. *Command: CmdSelect
  61. {
  62. *Order: DOC_SETUP.2
  63. *Cmd: "<1B>~F<00050000010000>"
  64. }
  65. }
  66. *Option: Option3
  67. {
  68. *rcNameID: 276
  69. *Installable?: TRUE
  70. *rcInstallableFeatureNameID: 276
  71. *Command: CmdSelect
  72. {
  73. *Order: DOC_SETUP.2
  74. *Cmd: "<1B>~F<00050000020000>"
  75. }
  76. }
  77. }
  78. *% ========== Resolution ==========
  79. *Feature: Resolution
  80. {
  81. *rcNameID: =RESOLUTION_DISPLAY
  82. *DefaultOption: Option1
  83. *Option: Option1
  84. {
  85. *Name: "360 x 360 dots per inch"
  86. *DPI: PAIR(360, 360)
  87. *TextDPI: PAIR(360, 360)
  88. *MinStripBlankPixels: 32
  89. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING)
  90. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  91. *SpotDiameter: 100
  92. *Command: CmdSendBlockData
  93. {
  94. *CallbackID: 20
  95. *Params: LIST(RasterDataHeightInPixels, RasterDataWidthInBytes)
  96. }
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.11
  100. *CallbackID: 13
  101. }
  102. }
  103. }
  104. *% ========== PaperSize ==========
  105. *Feature: PaperSize
  106. {
  107. *rcNameID: =PAPER_SIZE_DISPLAY
  108. *DefaultOption: A4
  109. *Option: A3
  110. {
  111. *rcNameID: =A3_DISPLAY
  112. *PrintableArea: PAIR(16264, 23248)
  113. *PrintableOrigin: PAIR(284, 284)
  114. *switch: Orientation
  115. {
  116. *case: PORTRAIT
  117. {
  118. *Command: CmdSelect
  119. {
  120. *Order: DOC_SETUP.5
  121. *Cmd: "<1B>~8<0009011C011C>?<8E>Z<CC02>"
  122. }
  123. }
  124. *case: LANDSCAPE_CC270
  125. {
  126. *Command: CmdSelect
  127. {
  128. *Order: DOC_SETUP.5
  129. *Cmd: "<1B>~8<0009011C011C>Z<CC>?<8E02>"
  130. }
  131. }
  132. }
  133. }
  134. *Option: A4
  135. {
  136. *rcNameID: =A4_DISPLAY
  137. *PrintableArea: PAIR(11340, 16264)
  138. *PrintableOrigin: PAIR(284, 284)
  139. *switch: Orientation
  140. {
  141. *case: PORTRAIT
  142. {
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.5
  146. *Cmd: "<1B>~8<0009011C011C>,J?<8E02>"
  147. }
  148. }
  149. *case: LANDSCAPE_CC270
  150. {
  151. *Command: CmdSelect
  152. {
  153. *Order: DOC_SETUP.5
  154. *Cmd: "<1B>~8<0009011C011C3F8E2C4A02>"
  155. }
  156. }
  157. }
  158. }
  159. *Option: A5
  160. {
  161. *rcNameID: =A5_DISPLAY
  162. *PrintableArea: PAIR(7828, 11340)
  163. *PrintableOrigin: PAIR(284, 284)
  164. *switch: Orientation
  165. {
  166. *case: PORTRAIT
  167. {
  168. *Command: CmdSelect
  169. {
  170. *Order: DOC_SETUP.5
  171. *Cmd: "<1B>~8<0009011C011C1E8F>,J<02>"
  172. }
  173. }
  174. *case: LANDSCAPE_CC270
  175. {
  176. *Command: CmdSelect
  177. {
  178. *Order: DOC_SETUP.5
  179. *Cmd: "<1B>~8<0009011C011C>,J<1E8F02>"
  180. }
  181. }
  182. }
  183. }
  184. *Option: B4
  185. {
  186. *rcNameID: =B4_DISPLAY
  187. *PrintableArea: PAIR(14004, 20068)
  188. *PrintableOrigin: PAIR(284, 284)
  189. *switch: Orientation
  190. {
  191. *case: PORTRAIT
  192. {
  193. *Command: CmdSelect
  194. {
  195. *Order: DOC_SETUP.5
  196. *Cmd: "<1B>~8<0009011C011C>6<B3>Ne<02>"
  197. }
  198. }
  199. *case: LANDSCAPE_CC270
  200. {
  201. *Command: CmdSelect
  202. {
  203. *Order: DOC_SETUP.5
  204. *Cmd: "<1B>~8<0009011C011C>Ne6<B302>"
  205. }
  206. }
  207. }
  208. }
  209. *Option: B5
  210. {
  211. *rcNameID: =B5_DISPLAY
  212. *PrintableArea: PAIR(9756, 14004)
  213. *PrintableOrigin: PAIR(284, 284)
  214. *switch: Orientation
  215. {
  216. *case: PORTRAIT
  217. {
  218. *Command: CmdSelect
  219. {
  220. *Order: DOC_SETUP.5
  221. *Cmd: "<1B>~8<0009011C011C>&<17>6<B302>"
  222. }
  223. }
  224. *case: LANDSCAPE_CC270
  225. {
  226. *Command: CmdSelect
  227. {
  228. *Order: DOC_SETUP.5
  229. *Cmd: "<1B>~8<0009011C011C>6<B3>&<1702>"
  230. }
  231. }
  232. }
  233. }
  234. *Option: LETTER
  235. {
  236. *rcNameID: =LETTER_DISPLAY
  237. *PrintableArea: PAIR(11672, 15272)
  238. *PrintableOrigin: PAIR(284, 284)
  239. *switch: Orientation
  240. {
  241. *case: PORTRAIT
  242. {
  243. *Command: CmdSelect
  244. {
  245. *Order: DOC_SETUP.5
  246. *Cmd: "<1B>~8<0009011C011C>-<99>;<A902>"
  247. }
  248. }
  249. *case: LANDSCAPE_CC270
  250. {
  251. *Command: CmdSelect
  252. {
  253. *Order: DOC_SETUP.5
  254. *Cmd: "<1B>~8<0009011C011C>;<A9>-<9902>"
  255. }
  256. }
  257. }
  258. }
  259. *Option: JAPANESE_POSTCARD
  260. {
  261. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  262. *Constraints: LIST(InputBin.Option1, InputBin.Option3)
  263. *PrintableArea: PAIR(5104, 7828)
  264. *PrintableOrigin: PAIR(284, 284)
  265. *switch: Orientation
  266. {
  267. *case: PORTRAIT
  268. {
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.5
  272. *Cmd: "<1b>~8<0009011c011c13ee1e8f02>"
  273. }
  274. }
  275. *case: LANDSCAPE_CC270
  276. {
  277. *Command: CmdSelect
  278. {
  279. *Order: DOC_SETUP.5
  280. *Cmd: "<1b>~8<0009011c011c1e8f13ee02>"
  281. }
  282. }
  283. }
  284. }
  285. *Option: LEGAL
  286. {
  287. *rcNameID: =LEGAL_DISPLAY
  288. *PrintableArea: PAIR(11672, 19592)
  289. *PrintableOrigin: PAIR(284, 284)
  290. *switch: Orientation
  291. {
  292. *case: PORTRAIT
  293. {
  294. *Command: CmdSelect
  295. {
  296. *Order: DOC_SETUP.5
  297. *Cmd: "<1B>~8<0009011C011C>-<99>L<8902>"
  298. }
  299. }
  300. *case: LANDSCAPE_CC270
  301. {
  302. *Command: CmdSelect
  303. {
  304. *Order: DOC_SETUP.5
  305. *Cmd: "<1B>~8<0009011C011C>L<89>-<9902>"
  306. }
  307. }
  308. }
  309. }
  310. *Option: Option9
  311. {
  312. *rcNameID: 260
  313. *PageDimensions: PAIR(14573, 20635)
  314. *PrintableArea: PAIR(14004, 20068)
  315. *PrintableOrigin: PAIR(284, 284)
  316. *switch: Orientation
  317. {
  318. *case: PORTRAIT
  319. {
  320. *Command: CmdSelect
  321. {
  322. *Order: DOC_SETUP.5
  323. *Cmd: "<1B>~Q<0001051B>~8<0009011C011C>6<B3>Ne<02>"
  324. }
  325. }
  326. *case: LANDSCAPE_CC270
  327. {
  328. *Command: CmdSelect
  329. {
  330. *Order: DOC_SETUP.5
  331. *Cmd: "<1B>~Q<0001051B>~8<0009011C011C>Ne6<B302>"
  332. }
  333. }
  334. }
  335. }
  336. *Option: Option10
  337. {
  338. *rcNameID: 261
  339. *PageDimensions: PAIR(16834, 23818)
  340. *PrintableArea: PAIR(16264, 23248)
  341. *PrintableOrigin: PAIR(284, 284)
  342. *switch: Orientation
  343. {
  344. *case: PORTRAIT
  345. {
  346. *Command: CmdSelect
  347. {
  348. *Order: DOC_SETUP.5
  349. *Cmd: "<1B>~Q<0001061B>~8<0009011C011C>?<8E>Z<CC02>"
  350. }
  351. }
  352. *case: LANDSCAPE_CC270
  353. {
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.5
  357. *Cmd: "<1B>~Q<0001061B>~8<0009011C011C>Z<CC>?<8E02>"
  358. }
  359. }
  360. }
  361. }
  362. *Option: Option11
  363. {
  364. *rcNameID: 262
  365. *PageDimensions: PAIR(11909, 16834)
  366. *PrintableArea: PAIR(11340, 16264)
  367. *PrintableOrigin: PAIR(284, 284)
  368. *switch: Orientation
  369. {
  370. *case: PORTRAIT
  371. {
  372. *Command: CmdSelect
  373. {
  374. *Order: DOC_SETUP.5
  375. *Cmd: "<1B>~Q<0001071B>~8<0009011C011C>,J?<8E02>"
  376. }
  377. }
  378. *case: LANDSCAPE_CC270
  379. {
  380. *Command: CmdSelect
  381. {
  382. *Order: DOC_SETUP.5
  383. *Cmd: "<1B>~Q<0001071B>~8<0009011C011C>?<8E>,J<02>"
  384. }
  385. }
  386. }
  387. }
  388. *Option: Option12
  389. {
  390. *rcNameID: 263
  391. *PageDimensions: PAIR(11909, 16834)
  392. *PrintableArea: PAIR(11340, 16264)
  393. *PrintableOrigin: PAIR(284, 284)
  394. *switch: Orientation
  395. {
  396. *case: PORTRAIT
  397. {
  398. *Command: CmdSelect
  399. {
  400. *Order: DOC_SETUP.5
  401. *Cmd: "<1B>~Q<0001081B>~8<0009011C011C>,J?<8E02>"
  402. }
  403. }
  404. *case: LANDSCAPE_CC270
  405. {
  406. *Command: CmdSelect
  407. {
  408. *Order: DOC_SETUP.5
  409. *Cmd: "<1B>~Q<0001081B>~8<0009011C011C>?<8E>,J<02>"
  410. }
  411. }
  412. }
  413. }
  414. *Option: CUSTOMSIZE
  415. {
  416. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  417. *MinSize: PAIR(5669, 8390)
  418. *MaxSize: PAIR(16837, 23811)
  419. *MaxPrintableWidth: 16269
  420. *CustPrintableSizeX: %d{PhysPaperWidth-568}
  421. *CustPrintableSizeY: %d{PhysPaperLength-568}
  422. *CustPrintableOriginX: %d{284}
  423. *CustPrintableOriginY: %d{284}
  424. *CustCursorOriginX: %d{284}
  425. *CustCursorOriginY: %d{284}
  426. *switch: Orientation
  427. {
  428. *case: PORTRAIT
  429. {
  430. *Command: CmdSelect
  431. {
  432. *Order: DOC_SETUP.5
  433. *Cmd: "<1B>~8<0009011C011C>"
  434. +%m{(PhysPaperWidth-568)}
  435. +%m{(PhysPaperLength-568)}
  436. +"<02>"
  437. }
  438. }
  439. *case: LANDSCAPE_CC270
  440. {
  441. *Command: CmdSelect
  442. {
  443. *Order: DOC_SETUP.5
  444. *Cmd: "<1B>~8<0009011C011C>"
  445. +%m{(PhysPaperLength-568)}
  446. +%m{(PhysPaperWidth-568)}
  447. +"<02>"
  448. }
  449. }
  450. }
  451. }
  452. }
  453. *% ========== ImageControl ==========
  454. *Feature: ImageControl
  455. {
  456. *rcNameID: =IMAGECONTROL_DISPLAY
  457. *DefaultOption: Option1
  458. *Option: Option1
  459. {
  460. *rcNameID: 283
  461. *Command: CmdSelect
  462. {
  463. *Order: DOC_SETUP.4
  464. *Cmd: "<1B>~Q<000100>"
  465. }
  466. }
  467. *Option: Option2
  468. {
  469. *rcNameID: 284
  470. *Command: CmdSelect
  471. {
  472. *Order: DOC_SETUP.4
  473. *Cmd: "<1B>~Q<000105>"
  474. }
  475. }
  476. *Option: Option3
  477. {
  478. *rcNameID: 285
  479. *Command: CmdSelect
  480. {
  481. *Order: DOC_SETUP.4
  482. *Cmd: "<1B>~Q<000101>"
  483. }
  484. }
  485. *Option: Option4
  486. {
  487. *rcNameID: 286
  488. *Command: CmdSelect
  489. {
  490. *Order: DOC_SETUP.4
  491. *Cmd: "<1B>~Q<000104>"
  492. }
  493. }
  494. *Option: Option5
  495. {
  496. *rcNameID: 287
  497. *Command: CmdSelect
  498. {
  499. *Order: DOC_SETUP.4
  500. *Cmd: "<1B>~Q<000107>"
  501. }
  502. }
  503. *Option: Option6
  504. {
  505. *rcNameID: 288
  506. *Command: CmdSelect
  507. {
  508. *Order: DOC_SETUP.4
  509. *Cmd: "<1B>~Q<000108>"
  510. }
  511. }
  512. }
  513. *% ========== Halftone ==========
  514. *Feature: Halftone
  515. {
  516. *rcNameID: =HALFTONING_DISPLAY
  517. *DefaultOption: HT_PATSIZE_AUTO
  518. *Option: HT_PATSIZE_AUTO
  519. {
  520. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  521. }
  522. *Option: HT_PATSIZE_SUPERCELL_M
  523. {
  524. *rcNameID: =HT_SUPERCELL_DISPLAY
  525. }
  526. *Option: HT_PATSIZE_6x6_M
  527. {
  528. *rcNameID: =HT_DITHER6X6_DISPLAY
  529. }
  530. *Option: HT_PATSIZE_8x8_M
  531. {
  532. *rcNameID: =HT_DITHER8X8_DISPLAY
  533. }
  534. }
  535. *% ========== Memory ==========
  536. *Feature: Memory
  537. {
  538. *rcNameID: =PRINTER_MEMORY_DISPLAY
  539. *DefaultOption: Option1
  540. *Option: Option1
  541. {
  542. *rcNameID: 410
  543. *MemoryConfigMB: PAIR(4, 3)
  544. }
  545. *Option: 8MB
  546. {
  547. *rcNameID: 413
  548. *MemoryConfigMB: PAIR(8, 7)
  549. }
  550. *Option: 12MB
  551. {
  552. *rcNameID: 414
  553. *MemoryConfigMB: PAIR(12, 10)
  554. }
  555. *Option: 20MB
  556. {
  557. *rcNameID: 415
  558. *MemoryConfigMB: PAIR(20, 18)
  559. }
  560. }
  561. *% ========== Job Control Command ==========
  562. *Command: CmdStartDoc
  563. {
  564. *Order: DOC_SETUP.1
  565. *Cmd: "<1B7E120001111B>~<010000>"
  566. }
  567. *Command: CmdEndJob
  568. {
  569. *Order: JOB_FINISH.1
  570. *Cmd: "<1B>~<0100001B7E12000100>"
  571. }
  572. *Command: CmdCopies
  573. {
  574. *Order: DOC_SETUP.6
  575. *Cmd: "<1B>~3<000201>" %c[1,255]{NumOfCopies}
  576. }
  577. *% ========== Printer Capabilities ==========
  578. *RotateCoordinate?: FALSE
  579. *RotateRaster?: TRUE
  580. *RotateFont?: TRUE
  581. *TextCaps: LIST(TC_OP_STROKE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  582. *MemoryUsage: LIST(FONT)
  583. *% ========== Cursor Control ==========
  584. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  585. *XMoveThreshold: 0
  586. *YMoveThreshold: 0
  587. *XMoveUnit: 1440
  588. *YMoveUnit: 1440
  589. *Command: CmdXMoveAbsolute { *Cmd : "<1B>~<1C000305>" %m{DestX } }
  590. *Command: CmdXMoveRelRight { *Cmd : "<1B>~<1C000306>" %m{DestXRel } }
  591. *Command: CmdYMoveAbsolute
  592. {
  593. *CallbackID: 2
  594. *Params: LIST(DestY)
  595. }
  596. *Command: CmdYMoveRelDown
  597. {
  598. *CallbackID: 3
  599. *Params: LIST(DestYRel)
  600. }
  601. *Command: CmdSetLineSpacing { *Cmd : "<1B>%%9" %m{(LinefeedSpacing / 12) } }
  602. *Command: CmdCR { *Cmd : "<0D>" }
  603. *Command: CmdLF { *Cmd : "<0A>" }
  604. *Command: CmdFF { *Cmd : "<0C>" }
  605. *Command: CmdBackSpace { *Cmd : "<08>" }
  606. *EjectPageWithFF?: TRUE
  607. *% ========== Raster Data Emission ==========
  608. *OutputDataFormat: H_BYTE
  609. *OptimizeLeftBound?: TRUE
  610. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  611. *CursorYAfterSendBlockData: AUTO_INCREMENT
  612. *% ========== Device Fonts ==========
  613. *DefaultFont: 1
  614. *DefaultCTT: 0
  615. *CharPosition: BASELINE
  616. *DeviceFonts: LIST(1,2,3,4)
  617. *% ========== Font Simulation ==========
  618. *Command: CmdBoldOn { *Cmd : "<1B>~<0E000117>" }
  619. *Command: CmdBoldOff { *Cmd : "<1B>~<0E000118>" }
  620. *Command: CmdItalicOn { *Cmd : "<1B>~v<000E1000000000000000000103000000>" }
  621. *Command: CmdItalicOff { *Cmd : "<1B>~v<000E0000000000000000000000000000>" }
  622. *Command: CmdUnderlineOn { *Cmd : "<1B>~<11000101>" }
  623. *Command: CmdUnderlineOff { *Cmd : "<1B>~<11000100>" }
  624. *%========== RectFill ==========
  625. *MinGrayFill: 1
  626. *MaxGrayFill: 1
  627. *% *MinGrayFill: 1
  628. *% *MaxGrayFill: 100
  629. *Command: CmdSetRectWidth
  630. {
  631. *CallbackID: 30
  632. *Params: LIST(RectXSize)
  633. }
  634. *Command: CmdSetRectHeight
  635. {
  636. *CallbackID: 31
  637. *Params: LIST(RectYSize)
  638. }
  639. *% *Command: CmdRectBlackFill { *CallbackID: 32 }
  640. *Command: CmdRectWhiteFill { *CallbackID: 33 }