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.

636 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: "IB5584KJ.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "IBM 5584-K02"
  11. *MasterUnits: PAIR(1440, 1440)
  12. *ResourceDLL: "PAGESRES.DLL"
  13. *PrinterType: PAGE
  14. *MaxCopies: 255
  15. *PrintRate: 12
  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: A4
  110. {
  111. *rcNameID: =A4_DISPLAY
  112. *PrintableArea: PAIR(11340, 16264)
  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>,J?<8E02>"
  122. }
  123. }
  124. *case: LANDSCAPE_CC270
  125. {
  126. *Command: CmdSelect
  127. {
  128. *Order: DOC_SETUP.5
  129. *Cmd: "<1B>~8<0009011C011C3F8E2C4A02>"
  130. }
  131. }
  132. }
  133. }
  134. *Option: A5
  135. {
  136. *rcNameID: =A5_DISPLAY
  137. *PrintableArea: PAIR(7828, 11340)
  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<0009011C011C1E8F>,J<02>"
  147. }
  148. }
  149. *case: LANDSCAPE_CC270
  150. {
  151. *Command: CmdSelect
  152. {
  153. *Order: DOC_SETUP.5
  154. *Cmd: "<1B>~8<0009011C011C>,J<1E8F02>"
  155. }
  156. }
  157. }
  158. }
  159. *Option: Option3
  160. {
  161. *rcNameID: 258
  162. *PageDimensions: PAIR(5952, 8390)
  163. *PrintableArea: PAIR(5384, 7820)
  164. *PrintableOrigin: PAIR(284, 284)
  165. *switch: Orientation
  166. {
  167. *case: PORTRAIT
  168. {
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.5
  172. *Cmd: "<1B>~8<0009011C011C15091E8F02>"
  173. }
  174. }
  175. *case: LANDSCAPE_CC270
  176. {
  177. *Command: CmdSelect
  178. {
  179. *Order: DOC_SETUP.5
  180. *Cmd: "<1B>~8<0009011C011C1E8F150902>"
  181. }
  182. }
  183. }
  184. }
  185. *Option: EXECUTIVE
  186. {
  187. *rcNameID: =EXECUTIVE_DISPLAY
  188. *PrintableArea: PAIR(9872, 14552)
  189. *PrintableOrigin: PAIR(284, 284)
  190. *switch: Orientation
  191. {
  192. *case: PORTRAIT
  193. {
  194. *Command: CmdSelect
  195. {
  196. *Order: DOC_SETUP.5
  197. *Cmd: "<1B>~8<0009011C011C>&<93>8<D902>"
  198. }
  199. }
  200. *case: LANDSCAPE_CC270
  201. {
  202. *Command: CmdSelect
  203. {
  204. *Order: DOC_SETUP.5
  205. *Cmd: "<1B>~8<0009011C011C>8<D9>&<9302>"
  206. }
  207. }
  208. }
  209. }
  210. *Option: B5
  211. {
  212. *rcNameID: =B5_DISPLAY
  213. *PrintableArea: PAIR(9756, 14004)
  214. *PrintableOrigin: PAIR(284, 284)
  215. *switch: Orientation
  216. {
  217. *case: PORTRAIT
  218. {
  219. *Command: CmdSelect
  220. {
  221. *Order: DOC_SETUP.5
  222. *Cmd: "<1B>~8<0009011C011C>&<17>6<B302>"
  223. }
  224. }
  225. *case: LANDSCAPE_CC270
  226. {
  227. *Command: CmdSelect
  228. {
  229. *Order: DOC_SETUP.5
  230. *Cmd: "<1B>~8<0009011C011C>6<B3>&<1702>"
  231. }
  232. }
  233. }
  234. }
  235. *Option: Option6
  236. {
  237. *rcNameID: 259
  238. *PageDimensions: PAIR(7256, 10318)
  239. *PrintableArea: PAIR(6688, 9748)
  240. *PrintableOrigin: PAIR(284, 284)
  241. *switch: Orientation
  242. {
  243. *case: PORTRAIT
  244. {
  245. *Command: CmdSelect
  246. {
  247. *Order: DOC_SETUP.5
  248. *Cmd: "<1B>~8<0009011C011C1A>!&<1702>"
  249. }
  250. }
  251. *case: LANDSCAPE_CC270
  252. {
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.5
  256. *Cmd: "<1B>~8<0009011C011C>&<171A>!<02>"
  257. }
  258. }
  259. }
  260. }
  261. *Option: LETTER
  262. {
  263. *rcNameID: =LETTER_DISPLAY
  264. *PrintableArea: PAIR(11672, 15272)
  265. *PrintableOrigin: PAIR(284, 284)
  266. *switch: Orientation
  267. {
  268. *case: PORTRAIT
  269. {
  270. *Command: CmdSelect
  271. {
  272. *Order: DOC_SETUP.5
  273. *Cmd: "<1B>~8<0009011C011C>-<99>;<A902>"
  274. }
  275. }
  276. *case: LANDSCAPE_CC270
  277. {
  278. *Command: CmdSelect
  279. {
  280. *Order: DOC_SETUP.5
  281. *Cmd: "<1B>~8<0009011C011C>;<A9>-<9902>"
  282. }
  283. }
  284. }
  285. }
  286. *Option: JAPANESE_POSTCARD
  287. {
  288. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  289. *PrintableArea: PAIR(5104, 7828)
  290. *PrintableOrigin: PAIR(284, 284)
  291. *switch: Orientation
  292. {
  293. *case: PORTRAIT
  294. {
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.5
  298. *Cmd: "<1b>~8<0009011c011c13ee1e8f02>"
  299. }
  300. }
  301. *case: LANDSCAPE_CC270
  302. {
  303. *Command: CmdSelect
  304. {
  305. *Order: DOC_SETUP.5
  306. *Cmd: "<1b>~8<0009011c011c1e8f13ee02>"
  307. }
  308. }
  309. }
  310. }
  311. *Option: LEGAL
  312. {
  313. *rcNameID: =LEGAL_DISPLAY
  314. *PrintableArea: PAIR(11672, 19592)
  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>~8<0009011C011C>-<99>L<8902>"
  324. }
  325. }
  326. *case: LANDSCAPE_CC270
  327. {
  328. *Command: CmdSelect
  329. {
  330. *Order: DOC_SETUP.5
  331. *Cmd: "<1B>~8<0009011C011C>L<89>-<9902>"
  332. }
  333. }
  334. }
  335. }
  336. *Option: Option10
  337. {
  338. *rcNameID: 260
  339. *PageDimensions: PAIR(14573, 20635)
  340. *PrintableArea: PAIR(14004, 20068)
  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<0001051B>~8<0009011C011C>6<B3>Ne<02>"
  350. }
  351. }
  352. *case: LANDSCAPE_CC270
  353. {
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.5
  357. *Cmd: "<1B>~Q<0001051B>~8<0009011C011C>Ne6<B302>"
  358. }
  359. }
  360. }
  361. }
  362. *Option: Option11
  363. {
  364. *rcNameID: 261
  365. *PageDimensions: PAIR(16834, 23818)
  366. *PrintableArea: PAIR(16264, 23248)
  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<0001061B>~8<0009011C011C>?<8E>Z<CC02>"
  376. }
  377. }
  378. *case: LANDSCAPE_CC270
  379. {
  380. *Command: CmdSelect
  381. {
  382. *Order: DOC_SETUP.5
  383. *Cmd: "<1B>~Q<0001061B>~8<0009011C011C>Z<CC>?<8E02>"
  384. }
  385. }
  386. }
  387. }
  388. *Option: CUSTOMSIZE
  389. {
  390. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  391. *MinSize: PAIR(4648, 8390)
  392. *MaxSize: PAIR(16837, 23811)
  393. *MaxPrintableWidth: 16269
  394. *CustPrintableSizeX: %d{PhysPaperWidth-568}
  395. *CustPrintableSizeY: %d{PhysPaperLength-568}
  396. *CustPrintableOriginX: %d{284}
  397. *CustPrintableOriginY: %d{284}
  398. *CustCursorOriginX: %d{284}
  399. *CustCursorOriginY: %d{284}
  400. *switch: Orientation
  401. {
  402. *case: PORTRAIT
  403. {
  404. *Command: CmdSelect
  405. {
  406. *Order: DOC_SETUP.5
  407. *Cmd: "<1B>~8<0009011C011C>"
  408. +%m{(PhysPaperWidth-568)}
  409. +%m{(PhysPaperLength-568)}
  410. +"<02>"
  411. }
  412. }
  413. *case: LANDSCAPE_CC270
  414. {
  415. *Command: CmdSelect
  416. {
  417. *Order: DOC_SETUP.5
  418. *Cmd: "<1B>~8<0009011C011C>"
  419. +%m{(PhysPaperLength-568)}
  420. +%m{(PhysPaperWidth-568)}
  421. +"<02>"
  422. }
  423. }
  424. }
  425. }
  426. }
  427. *% ========== ImageControl ==========
  428. *Feature: ImageControl
  429. {
  430. *rcNameID: =IMAGECONTROL_DISPLAY
  431. *DefaultOption: Option1
  432. *Option: Option1
  433. {
  434. *rcNameID: 283
  435. *Command: CmdSelect
  436. {
  437. *Order: DOC_SETUP.4
  438. *Cmd: "<1B>~Q<000100>"
  439. }
  440. }
  441. *Option: Option2
  442. {
  443. *rcNameID: 284
  444. *Command: CmdSelect
  445. {
  446. *Order: DOC_SETUP.4
  447. *Cmd: "<1B>~Q<000105>"
  448. }
  449. }
  450. *Option: Option3
  451. {
  452. *rcNameID: 285
  453. *Command: CmdSelect
  454. {
  455. *Order: DOC_SETUP.4
  456. *Cmd: "<1B>~Q<000101>"
  457. }
  458. }
  459. *Option: Option4
  460. {
  461. *rcNameID: 286
  462. *Command: CmdSelect
  463. {
  464. *Order: DOC_SETUP.4
  465. *Cmd: "<1B>~Q<000104>"
  466. }
  467. }
  468. *Option: Option5
  469. {
  470. *rcNameID: 287
  471. *Command: CmdSelect
  472. {
  473. *Order: DOC_SETUP.4
  474. *Cmd: "<1B>~Q<000107>"
  475. }
  476. }
  477. *Option: Option6
  478. {
  479. *rcNameID: 288
  480. *Command: CmdSelect
  481. {
  482. *Order: DOC_SETUP.4
  483. *Cmd: "<1B>~Q<000108>"
  484. }
  485. }
  486. }
  487. *% ========== Halftone ==========
  488. *Feature: Halftone
  489. {
  490. *rcNameID: =HALFTONING_DISPLAY
  491. *DefaultOption: HT_PATSIZE_AUTO
  492. *Option: HT_PATSIZE_AUTO
  493. {
  494. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  495. }
  496. *Option: HT_PATSIZE_SUPERCELL_M
  497. {
  498. *rcNameID: =HT_SUPERCELL_DISPLAY
  499. }
  500. *Option: HT_PATSIZE_6x6_M
  501. {
  502. *rcNameID: =HT_DITHER6X6_DISPLAY
  503. }
  504. *Option: HT_PATSIZE_8x8_M
  505. {
  506. *rcNameID: =HT_DITHER8X8_DISPLAY
  507. }
  508. }
  509. *% ========== Memory ==========
  510. *Feature: Memory
  511. {
  512. *rcNameID: =PRINTER_MEMORY_DISPLAY
  513. *DefaultOption: Option1
  514. *Option: Option1
  515. {
  516. *rcNameID: 410
  517. *MemoryConfigMB: PAIR(3, 2)
  518. }
  519. *Option: 7MB
  520. {
  521. *rcNameID: 413
  522. *MemoryConfigMB: PAIR(7, 6)
  523. }
  524. *Option: 11MB
  525. {
  526. *rcNameID: 414
  527. *MemoryConfigMB: PAIR(11, 10)
  528. }
  529. }
  530. *% ========== Job Control Command ==========
  531. *Command: CmdStartDoc
  532. {
  533. *Order: DOC_SETUP.1
  534. *Cmd: "<1B7E120001111B>~<010000>"
  535. }
  536. *Command: CmdEndJob
  537. {
  538. *Order: JOB_FINISH.1
  539. *Cmd: "<1B>~<0100001B7E12000100>"
  540. }
  541. *Command: CmdCopies
  542. {
  543. *Order: DOC_SETUP.6
  544. *Cmd: "<1B>~3<000201>" %c[1,255]{NumOfCopies}
  545. }
  546. *% ========== InvalidCombination ==========
  547. *InvalidCombination: LIST(InputBin.Option1, PaperSize.A5)
  548. *InvalidCombination: LIST(InputBin.Option1, PaperSize.Option3)
  549. *InvalidCombination: LIST(InputBin.Option1, PaperSize.Option6)
  550. *InvalidCombination: LIST(InputBin.Option1, PaperSize.JAPANESE_POSTCARD)
  551. *InvalidCombination: LIST(InputBin.Option1, PaperSize.CUSTOMSIZE)
  552. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  553. *InvalidCombination: LIST(InputBin.Option3, PaperSize.Option3)
  554. *InvalidCombination: LIST(InputBin.Option3, PaperSize.Option6)
  555. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  556. *InvalidCombination: LIST(InputBin.Option3, PaperSize.CUSTOMSIZE)
  557. *% ========== Printer Capabilities ==========
  558. *RotateCoordinate?: FALSE
  559. *RotateRaster?: TRUE
  560. *RotateFont?: TRUE
  561. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  562. *MemoryUsage: LIST(FONT)
  563. *% ========== Cursor Control ==========
  564. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  565. *XMoveThreshold: 0
  566. *YMoveThreshold: 0
  567. *XMoveUnit: 1440
  568. *YMoveUnit: 1440
  569. *Command: CmdXMoveAbsolute { *Cmd : "<1B>~<1C000305>" %m{DestX } }
  570. *Command: CmdXMoveRelRight { *Cmd : "<1B>~<1C000306>" %m{DestXRel } }
  571. *Command: CmdYMoveAbsolute
  572. {
  573. *CallbackID: 2
  574. *Params: LIST(DestY)
  575. }
  576. *Command: CmdYMoveRelDown
  577. {
  578. *CallbackID: 3
  579. *Params: LIST(DestYRel)
  580. }
  581. *Command: CmdSetLineSpacing { *Cmd : "<1B>%%9" %m{(LinefeedSpacing / 12) } }
  582. *Command: CmdCR { *Cmd : "<0D>" }
  583. *Command: CmdLF { *Cmd : "<0A>" }
  584. *Command: CmdFF { *Cmd : "<0C>" }
  585. *Command: CmdBackSpace { *Cmd : "<08>" }
  586. *EjectPageWithFF?: TRUE
  587. *% ========== Raster Data Emission ==========
  588. *OutputDataFormat: H_BYTE
  589. *OptimizeLeftBound?: TRUE
  590. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  591. *CursorYAfterSendBlockData: AUTO_INCREMENT
  592. *% ========== Device Fonts ==========
  593. *DefaultFont: 1
  594. *DefaultCTT: 0
  595. *CharPosition: BASELINE
  596. *DeviceFonts: LIST(1,2,3,4)
  597. *% ========== Font Simulation ==========
  598. *Command: CmdBoldOn { *Cmd : "<1B>~<0E000117>" }
  599. *Command: CmdBoldOff { *Cmd : "<1B>~<0E000118>" }
  600. *Command: CmdItalicOn { *Cmd : "<1B>~v<000E1000000000000000000103000000>" }
  601. *Command: CmdItalicOff { *Cmd : "<1B>~v<000E0000000000000000000000000000>" }
  602. *Command: CmdUnderlineOn { *Cmd : "<1B>~<11000101>" }
  603. *Command: CmdUnderlineOff { *Cmd : "<1B>~<11000100>" }
  604. *%========== RectFill ==========
  605. *MinGrayFill: 1
  606. *MaxGrayFill: 1
  607. *% *MinGrayFill: 1
  608. *% *MaxGrayFill: 100
  609. *Command: CmdSetRectWidth
  610. {
  611. *CallbackID: 30
  612. *Params: LIST(RectXSize)
  613. }
  614. *Command: CmdSetRectHeight
  615. {
  616. *CallbackID: 31
  617. *Params: LIST(RectYSize)
  618. }
  619. *% *Command: CmdRectBlackFill { *CallbackID: 32 }
  620. *Command: CmdRectWhiteFill { *CallbackID: 33 }