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.

646 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: "ATE74HJ.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "APTi PowerLaser E740H"
  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: 16837
  420. *MinLeftMargin: 0
  421. *CenterPrintable?: FALSE
  422. *TopMargin: 282
  423. *BottomMargin: 282
  424. *switch: Orientation
  425. {
  426. *case: PORTRAIT
  427. {
  428. *Command: CmdSelect
  429. {
  430. *Order: DOC_SETUP.5
  431. *Cmd: "<1B>~8<0009011C011C>?<8E>Z<CC02>"
  432. }
  433. }
  434. *case: LANDSCAPE_CC270
  435. {
  436. *Command: CmdSelect
  437. {
  438. *Order: DOC_SETUP.5
  439. *Cmd: "<1B>~8<0009011C011C>Z<CC>?<8E02>"
  440. }
  441. }
  442. }
  443. }
  444. }
  445. *% ========== ImageControl ==========
  446. *Feature: ImageControl
  447. {
  448. *rcNameID: =IMAGECONTROL_DISPLAY
  449. *DefaultOption: Option1
  450. *Option: Option1
  451. {
  452. *rcNameID: 283
  453. *Command: CmdSelect
  454. {
  455. *Order: DOC_SETUP.4
  456. *Cmd: "<1B>~Q<000100>"
  457. }
  458. }
  459. *Option: Option2
  460. {
  461. *rcNameID: 284
  462. *Command: CmdSelect
  463. {
  464. *Order: DOC_SETUP.4
  465. *Cmd: "<1B>~Q<000105>"
  466. }
  467. }
  468. *Option: Option3
  469. {
  470. *rcNameID: 285
  471. *Command: CmdSelect
  472. {
  473. *Order: DOC_SETUP.4
  474. *Cmd: "<1B>~Q<000101>"
  475. }
  476. }
  477. *Option: Option4
  478. {
  479. *rcNameID: 286
  480. *Command: CmdSelect
  481. {
  482. *Order: DOC_SETUP.4
  483. *Cmd: "<1B>~Q<000104>"
  484. }
  485. }
  486. *Option: Option5
  487. {
  488. *rcNameID: 287
  489. *Command: CmdSelect
  490. {
  491. *Order: DOC_SETUP.4
  492. *Cmd: "<1B>~Q<000107>"
  493. }
  494. }
  495. *Option: Option6
  496. {
  497. *rcNameID: 288
  498. *Command: CmdSelect
  499. {
  500. *Order: DOC_SETUP.4
  501. *Cmd: "<1B>~Q<000108>"
  502. }
  503. }
  504. }
  505. *% ========== Halftone ==========
  506. *Feature: Halftone
  507. {
  508. *rcNameID: =HALFTONING_DISPLAY
  509. *DefaultOption: HT_PATSIZE_AUTO
  510. *Option: HT_PATSIZE_AUTO
  511. {
  512. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  513. }
  514. *Option: HT_PATSIZE_SUPERCELL_M
  515. {
  516. *rcNameID: =HT_SUPERCELL_DISPLAY
  517. }
  518. *Option: HT_PATSIZE_6x6_M
  519. {
  520. *rcNameID: =HT_DITHER6X6_DISPLAY
  521. }
  522. *Option: HT_PATSIZE_8x8_M
  523. {
  524. *rcNameID: =HT_DITHER8X8_DISPLAY
  525. }
  526. }
  527. *% ========== Memory ==========
  528. *Feature: Memory
  529. {
  530. *rcNameID: =PRINTER_MEMORY_DISPLAY
  531. *DefaultOption: Option1
  532. *Option: Option1
  533. {
  534. *rcNameID: 410
  535. *MemoryConfigMB: PAIR(4, 3)
  536. }
  537. *Option: 8MB
  538. {
  539. *rcNameID: 413
  540. *MemoryConfigMB: PAIR(8, 7)
  541. }
  542. *Option: 12MB
  543. {
  544. *rcNameID: 414
  545. *MemoryConfigMB: PAIR(12, 10)
  546. }
  547. *Option: 20MB
  548. {
  549. *rcNameID: 415
  550. *MemoryConfigMB: PAIR(20, 18)
  551. }
  552. }
  553. *% ========== Job Control Command ==========
  554. *Command: CmdStartDoc
  555. {
  556. *Order: DOC_SETUP.1
  557. *Cmd: "<1B7E120001111B>~<010000>"
  558. }
  559. *Command: CmdEndJob
  560. {
  561. *Order: JOB_FINISH.1
  562. *Cmd: "<1B>~<0100001B7E12000100>"
  563. }
  564. *Command: CmdCopies
  565. {
  566. *Order: DOC_SETUP.6
  567. *Cmd: "<1B>~3<000201>" %c[1,255]{NumOfCopies}
  568. }
  569. *% ========== Printer Capabilities ==========
  570. *RotateCoordinate?: FALSE
  571. *RotateRaster?: TRUE
  572. *RotateFont?: TRUE
  573. *TextCaps: LIST(TC_OP_STROKE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  574. *MemoryUsage: LIST(FONT)
  575. *% ========== Cursor Control ==========
  576. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  577. *XMoveThreshold: 0
  578. *YMoveThreshold: 0
  579. *XMoveUnit: 1440
  580. *YMoveUnit: 1440
  581. *Command: CmdXMoveAbsolute { *Cmd : "<1B>~<1C000305>" %m{DestX } }
  582. *Command: CmdXMoveRelRight { *Cmd : "<1B>~<1C000306>" %m{DestXRel } }
  583. *Command: CmdYMoveAbsolute
  584. {
  585. *CallbackID: 2
  586. *Params: LIST(DestY)
  587. }
  588. *Command: CmdYMoveRelDown
  589. {
  590. *CallbackID: 3
  591. *Params: LIST(DestYRel)
  592. }
  593. *Command: CmdSetLineSpacing { *Cmd : "<1B>%%9" %m{(LinefeedSpacing / 12) } }
  594. *Command: CmdCR { *Cmd : "<0D>" }
  595. *Command: CmdLF { *Cmd : "<0A>" }
  596. *Command: CmdFF { *Cmd : "<0C>" }
  597. *Command: CmdBackSpace { *Cmd : "<08>" }
  598. *EjectPageWithFF?: TRUE
  599. *% ========== Raster Data Emission ==========
  600. *OutputDataFormat: H_BYTE
  601. *OptimizeLeftBound?: TRUE
  602. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  603. *CursorYAfterSendBlockData: AUTO_INCREMENT
  604. *% ========== Device Fonts ==========
  605. *DefaultFont: 1
  606. *DefaultCTT: 0
  607. *CharPosition: BASELINE
  608. *DeviceFonts: LIST(1,2,3,4)
  609. *% ========== Font Simulation ==========
  610. *Command: CmdBoldOn { *Cmd : "<1B>~<0E000117>" }
  611. *Command: CmdBoldOff { *Cmd : "<1B>~<0E000118>" }
  612. *Command: CmdItalicOn { *Cmd : "<1B>~v<000E1000000000000000000103000000>" }
  613. *Command: CmdItalicOff { *Cmd : "<1B>~v<000E0000000000000000000000000000>" }
  614. *Command: CmdUnderlineOn { *Cmd : "<1B>~<11000101>" }
  615. *Command: CmdUnderlineOff { *Cmd : "<1B>~<11000100>" }
  616. *%========== RectFill ==========
  617. *MinGrayFill: 1
  618. *MaxGrayFill: 1
  619. *% *MinGrayFill: 1
  620. *% *MaxGrayFill: 100
  621. *Command: CmdSetRectWidth
  622. {
  623. *CallbackID: 30
  624. *Params: LIST(RectXSize)
  625. }
  626. *Command: CmdSetRectHeight
  627. {
  628. *CallbackID: 31
  629. *Params: LIST(RectYSize)
  630. }
  631. *% *Command: CmdRectBlackFill { *CallbackID: 32 }
  632. *Command: CmdRectWhiteFill { *CallbackID: 33 }