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.

677 lines
20 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "OKDOL400.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Okidata OL-400"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "pcl4res.dll"
  12. *PrinterType: PAGE
  13. *MaxCopies: 99
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. *Command: CmdSelect
  22. {
  23. *Order: DOC_SETUP.4
  24. *Cmd: "<1B>&l0o1E"
  25. }
  26. }
  27. *Option: LANDSCAPE_CC90
  28. {
  29. *rcNameID: =LANDSCAPE_DISPLAY
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.4
  33. *Cmd: "<1B>&l1o6d1E"
  34. }
  35. }
  36. }
  37. *Feature: InputBin
  38. {
  39. *rcNameID: =PAPER_SOURCE_DISPLAY
  40. *DefaultOption: UPPER
  41. *Option: UPPER
  42. {
  43. *rcNameID: =UPPER_TRAY_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.2
  47. *Cmd: "<1B>&l1H"
  48. }
  49. }
  50. *Option: MANUAL
  51. {
  52. *rcNameID: =MANUAL_FEED_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.2
  56. *Cmd: "<1B>&l2H"
  57. }
  58. }
  59. *Option: ENVFEED
  60. {
  61. *rcNameID: =ENV_FEED_DISPLAY
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.2
  65. *Cmd: "<1B>&l6H"
  66. }
  67. }
  68. }
  69. *Feature: Resolution
  70. {
  71. *rcNameID: =RESOLUTION_DISPLAY
  72. *DefaultOption: Option1
  73. *Option: Option1
  74. {
  75. *Name: "300 x 300 " =DOTS_PER_INCH
  76. *DPI: PAIR(300, 300)
  77. *TextDPI: PAIR(300, 300)
  78. *MinStripBlankPixels: 32
  79. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  80. *SpotDiameter: 100
  81. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  82. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  84. *Command: CmdSelect
  85. {
  86. *Order: DOC_SETUP.5
  87. *Cmd: "<1B>*t300R"
  88. }
  89. }
  90. *Option: Option2
  91. {
  92. *Name: "150 x 150 " =DOTS_PER_INCH
  93. *DPI: PAIR(150, 150)
  94. *TextDPI: PAIR(300, 300)
  95. *MinStripBlankPixels: 32
  96. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  97. *SpotDiameter: 100
  98. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  99. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  100. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  101. *Command: CmdSelect
  102. {
  103. *Order: DOC_SETUP.5
  104. *Cmd: "<1B>*t150R"
  105. }
  106. }
  107. }
  108. *Feature: PaperSize
  109. {
  110. *rcNameID: =PAPER_SIZE_DISPLAY
  111. *DefaultOption: LETTER
  112. *Option: LETTER
  113. {
  114. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  115. *switch: Orientation
  116. {
  117. *case: PORTRAIT
  118. {
  119. *PrintableArea: PAIR(2400, 3160)
  120. *PrintableOrigin: PAIR(60, 75)
  121. *switch: Resolution
  122. {
  123. *case: Option2
  124. {
  125. *PrintableArea: PAIR(2400, 3158)
  126. *PrintableOrigin: PAIR(60, 76)
  127. }
  128. }
  129. *CursorOrigin: PAIR(60, 75)
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.3
  133. *Cmd: "<1B>&l2a4d1e42F"
  134. }
  135. }
  136. *case: LANDSCAPE_CC90
  137. {
  138. *PrintableArea: PAIR(2400, 3160)
  139. *PrintableOrigin: PAIR(60, 75)
  140. *switch: Resolution
  141. {
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(2400, 3158)
  145. *PrintableOrigin: PAIR(60, 76)
  146. }
  147. }
  148. *CursorOrigin: PAIR(60, 3240)
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.3
  152. *Cmd: "<1B>&l2a4d1e42F"
  153. }
  154. }
  155. }
  156. }
  157. *Option: LEGAL
  158. {
  159. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  160. *switch: Orientation
  161. {
  162. *case: PORTRAIT
  163. {
  164. *PrintableArea: PAIR(2400, 4060)
  165. *PrintableOrigin: PAIR(60, 75)
  166. *switch: Resolution
  167. {
  168. *case: Option2
  169. {
  170. *PrintableArea: PAIR(2400, 4058)
  171. *PrintableOrigin: PAIR(60, 76)
  172. }
  173. }
  174. *CursorOrigin: PAIR(60, 75)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.3
  178. *Cmd: "<1B>&l3a4d1e54F"
  179. }
  180. }
  181. *case: LANDSCAPE_CC90
  182. {
  183. *PrintableArea: PAIR(2400, 4060)
  184. *PrintableOrigin: PAIR(60, 75)
  185. *switch: Resolution
  186. {
  187. *case: Option2
  188. {
  189. *PrintableArea: PAIR(2400, 4058)
  190. *PrintableOrigin: PAIR(60, 76)
  191. }
  192. }
  193. *CursorOrigin: PAIR(60, 4140)
  194. *Command: CmdSelect
  195. {
  196. *Order: DOC_SETUP.3
  197. *Cmd: "<1B>&l3a4d1e54F"
  198. }
  199. }
  200. }
  201. }
  202. *Option: EXECUTIVE
  203. {
  204. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  205. *switch: Orientation
  206. {
  207. *case: PORTRAIT
  208. {
  209. *PrintableArea: PAIR(2025, 3010)
  210. *PrintableOrigin: PAIR(60, 75)
  211. *switch: Resolution
  212. {
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(2024, 3008)
  216. *PrintableOrigin: PAIR(60, 76)
  217. }
  218. }
  219. *CursorOrigin: PAIR(60, 75)
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.3
  223. *Cmd: "<1B>&l1a4d1e40F"
  224. }
  225. }
  226. *case: LANDSCAPE_CC90
  227. {
  228. *PrintableArea: PAIR(2025, 3010)
  229. *PrintableOrigin: PAIR(60, 75)
  230. *switch: Resolution
  231. {
  232. *case: Option2
  233. {
  234. *PrintableArea: PAIR(2024, 3008)
  235. *PrintableOrigin: PAIR(60, 76)
  236. }
  237. }
  238. *CursorOrigin: PAIR(60, 3090)
  239. *Command: CmdSelect
  240. {
  241. *Order: DOC_SETUP.3
  242. *Cmd: "<1B>&l1a4d1e40F"
  243. }
  244. }
  245. }
  246. }
  247. *Option: A4
  248. {
  249. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  250. *switch: Orientation
  251. {
  252. *case: PORTRAIT
  253. {
  254. *PrintableArea: PAIR(2331, 3367)
  255. *PrintableOrigin: PAIR(60, 75)
  256. *switch: Resolution
  257. {
  258. *case: Option2
  259. {
  260. *PrintableArea: PAIR(2330, 3366)
  261. *PrintableOrigin: PAIR(60, 76)
  262. }
  263. }
  264. *CursorOrigin: PAIR(55, 75)
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.3
  268. *Cmd: "<1B>&l26a4d1e45F"
  269. }
  270. }
  271. *case: LANDSCAPE_CC90
  272. {
  273. *PrintableArea: PAIR(2331, 3367)
  274. *PrintableOrigin: PAIR(60, 75)
  275. *switch: Resolution
  276. {
  277. *case: Option2
  278. {
  279. *PrintableArea: PAIR(2330, 3366)
  280. *PrintableOrigin: PAIR(60, 76)
  281. }
  282. }
  283. *CursorOrigin: PAIR(60, 3447)
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.3
  287. *Cmd: "<1B>&l26a4d1e45F"
  288. }
  289. }
  290. }
  291. }
  292. *Option: A5
  293. {
  294. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  295. *switch: Orientation
  296. {
  297. *case: PORTRAIT
  298. {
  299. *PrintableArea: PAIR(1599, 2331)
  300. *PrintableOrigin: PAIR(75, 75)
  301. *switch: Resolution
  302. {
  303. *case: Option2
  304. {
  305. *PrintableArea: PAIR(1598, 2330)
  306. *PrintableOrigin: PAIR(76, 76)
  307. }
  308. }
  309. *CursorOrigin: PAIR(68, 75)
  310. *Command: CmdSelect
  311. {
  312. *Order: DOC_SETUP.4
  313. *Cmd: "<1B>&l25a4d1e45F"
  314. }
  315. }
  316. *case: LANDSCAPE_CC90
  317. {
  318. *PrintableArea: PAIR(1599, 2331)
  319. *PrintableOrigin: PAIR(75, 75)
  320. *switch: Resolution
  321. {
  322. *case: Option2
  323. {
  324. *PrintableArea: PAIR(1598, 2330)
  325. *PrintableOrigin: PAIR(76, 76)
  326. }
  327. }
  328. *CursorOrigin: PAIR(66, 2421)
  329. *Command: CmdSelect
  330. {
  331. *Order: DOC_SETUP.4
  332. *Cmd: "<1B>&l25a4d1e45F"
  333. }
  334. }
  335. }
  336. }
  337. *Option: A6
  338. {
  339. *rcNameID: 258
  340. *PageDimensions: PAIR(1241, 1748)
  341. *switch: Orientation
  342. {
  343. *case: PORTRAIT
  344. {
  345. *PrintableArea: PAIR(1091, 1598)
  346. *PrintableOrigin: PAIR(75, 75)
  347. *switch: Resolution
  348. {
  349. *case: Option2
  350. {
  351. *PrintableArea: PAIR(1090, 1596)
  352. *PrintableOrigin: PAIR(76, 76)
  353. }
  354. }
  355. *CursorOrigin: PAIR(68, 75)
  356. *Command: CmdSelect
  357. {
  358. *Order: DOC_SETUP.4
  359. *Cmd: "<1B>&l24a4d1e45F"
  360. }
  361. }
  362. *case: LANDSCAPE_CC90
  363. {
  364. *PrintableArea: PAIR(1091, 1598)
  365. *PrintableOrigin: PAIR(75, 75)
  366. *switch: Resolution
  367. {
  368. *case: Option2
  369. {
  370. *PrintableArea: PAIR(1090, 1596)
  371. *PrintableOrigin: PAIR(76, 76)
  372. }
  373. }
  374. *CursorOrigin: PAIR(66, 1688)
  375. *Command: CmdSelect
  376. {
  377. *Order: DOC_SETUP.4
  378. *Cmd: "<1B>&l24a4d1e45F"
  379. }
  380. }
  381. }
  382. }
  383. *Option: ENV_10
  384. {
  385. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  386. *switch: Orientation
  387. {
  388. *case: PORTRAIT
  389. {
  390. *PrintableArea: PAIR(1089, 2700)
  391. *PrintableOrigin: PAIR(75, 75)
  392. *switch: Resolution
  393. {
  394. *case: Option2
  395. {
  396. *PrintableArea: PAIR(1088, 2698)
  397. *PrintableOrigin: PAIR(76, 76)
  398. }
  399. }
  400. *CursorOrigin: PAIR(68, 75)
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.4
  404. *Cmd: "<1B>&l81a4d1E"
  405. }
  406. }
  407. *case: LANDSCAPE_CC90
  408. {
  409. *PrintableArea: PAIR(1089, 2700)
  410. *PrintableOrigin: PAIR(75, 75)
  411. *switch: Resolution
  412. {
  413. *case: Option2
  414. {
  415. *PrintableArea: PAIR(1088, 2698)
  416. *PrintableOrigin: PAIR(76, 76)
  417. }
  418. }
  419. *CursorOrigin: PAIR(66, 2790)
  420. *Command: CmdSelect
  421. {
  422. *Order: DOC_SETUP.4
  423. *Cmd: "<1B>&l81a4d1E"
  424. }
  425. }
  426. }
  427. }
  428. *Option: ENV_DL
  429. {
  430. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  431. *switch: Orientation
  432. {
  433. *case: PORTRAIT
  434. {
  435. *PrintableArea: PAIR(1149, 2448)
  436. *PrintableOrigin: PAIR(75, 75)
  437. *switch: Resolution
  438. {
  439. *case: Option2
  440. {
  441. *PrintableArea: PAIR(1148, 2446)
  442. *PrintableOrigin: PAIR(76, 76)
  443. }
  444. }
  445. *CursorOrigin: PAIR(68, 75)
  446. *Command: CmdSelect
  447. {
  448. *Order: DOC_SETUP.4
  449. *Cmd: "<1B>&l90a4d1E"
  450. }
  451. }
  452. *case: LANDSCAPE_CC90
  453. {
  454. *PrintableArea: PAIR(1149, 2448)
  455. *PrintableOrigin: PAIR(75, 75)
  456. *switch: Resolution
  457. {
  458. *case: Option2
  459. {
  460. *PrintableArea: PAIR(1148, 2446)
  461. *PrintableOrigin: PAIR(76, 76)
  462. }
  463. }
  464. *CursorOrigin: PAIR(66, 2538)
  465. *Command: CmdSelect
  466. {
  467. *Order: DOC_SETUP.4
  468. *Cmd: "<1B>&l90a4d1E"
  469. }
  470. }
  471. }
  472. }
  473. *Option: ENV_C5
  474. {
  475. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  476. *switch: Orientation
  477. {
  478. *case: PORTRAIT
  479. {
  480. *PrintableArea: PAIR(1764, 2556)
  481. *PrintableOrigin: PAIR(75, 75)
  482. *switch: Resolution
  483. {
  484. *case: Option2
  485. {
  486. *PrintableArea: PAIR(1762, 2554)
  487. *PrintableOrigin: PAIR(76, 76)
  488. }
  489. }
  490. *CursorOrigin: PAIR(68, 75)
  491. *Command: CmdSelect
  492. {
  493. *Order: DOC_SETUP.4
  494. *Cmd: "<1B>&l91a4d1E"
  495. }
  496. }
  497. *case: LANDSCAPE_CC90
  498. {
  499. *PrintableArea: PAIR(1764, 2556)
  500. *PrintableOrigin: PAIR(75, 75)
  501. *switch: Resolution
  502. {
  503. *case: Option2
  504. {
  505. *PrintableArea: PAIR(1762, 2554)
  506. *PrintableOrigin: PAIR(76, 76)
  507. }
  508. }
  509. *CursorOrigin: PAIR(66, 2646)
  510. *Command: CmdSelect
  511. {
  512. *Order: DOC_SETUP.4
  513. *Cmd: "<1B>&l91a4d1E"
  514. }
  515. }
  516. }
  517. }
  518. *Option: ENV_MONARCH
  519. {
  520. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  521. *switch: Orientation
  522. {
  523. *case: PORTRAIT
  524. {
  525. *PrintableArea: PAIR(1008, 2100)
  526. *PrintableOrigin: PAIR(75, 75)
  527. *switch: Resolution
  528. {
  529. *case: Option2
  530. {
  531. *PrintableArea: PAIR(1006, 2098)
  532. *PrintableOrigin: PAIR(76, 76)
  533. }
  534. }
  535. *CursorOrigin: PAIR(68, 75)
  536. *Command: CmdSelect
  537. {
  538. *Order: DOC_SETUP.4
  539. *Cmd: "<1B>&l80a4d1E"
  540. }
  541. }
  542. *case: LANDSCAPE_CC90
  543. {
  544. *PrintableArea: PAIR(1008, 2100)
  545. *PrintableOrigin: PAIR(75, 75)
  546. *switch: Resolution
  547. {
  548. *case: Option2
  549. {
  550. *PrintableArea: PAIR(1006, 2098)
  551. *PrintableOrigin: PAIR(76, 76)
  552. }
  553. }
  554. *CursorOrigin: PAIR(66, 2190)
  555. *Command: CmdSelect
  556. {
  557. *Order: DOC_SETUP.4
  558. *Cmd: "<1B>&l80a4d1E"
  559. }
  560. }
  561. }
  562. }
  563. }
  564. *Feature: Halftone
  565. {
  566. *rcNameID: =HALFTONING_DISPLAY
  567. *DefaultOption: HT_PATSIZE_AUTO
  568. *Option: HT_PATSIZE_AUTO
  569. {
  570. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  571. }
  572. *Ifdef: WINNT_50
  573. *Option: HT_PATSIZE_SUPERCELL_M
  574. {
  575. *rcNameID: =HT_SUPERCELL_DISPLAY
  576. }
  577. *Endif:
  578. *Option: HT_PATSIZE_6x6_M
  579. {
  580. *rcNameID: =HT_DITHER6X6_DISPLAY
  581. }
  582. *Option: HT_PATSIZE_8x8_M
  583. {
  584. *rcNameID: =HT_DITHER8X8_DISPLAY
  585. }
  586. }
  587. *Feature: Memory
  588. {
  589. *rcNameID: =PRINTER_MEMORY_DISPLAY
  590. *DefaultOption: 1536KB
  591. *MemConfigKB: PAIR(512, 369)
  592. *MemConfigKB: PAIR(1536, 1419)
  593. *MemConfigKB: PAIR(2560, 2417)
  594. }
  595. *Command: CmdStartDoc
  596. {
  597. *Order: DOC_SETUP.1
  598. *Cmd: "<1B>E<1B>&l0L"
  599. }
  600. *Command: CmdStartPage
  601. {
  602. *Order: PAGE_SETUP.1
  603. *Cmd: "<0D>"
  604. }
  605. *Command: CmdEndJob
  606. {
  607. *Order: JOB_FINISH.1
  608. *Cmd: "<1B>E"
  609. }
  610. *Command: CmdCopies
  611. {
  612. *Order: DOC_SETUP.6
  613. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  614. }
  615. *RotateCoordinate?: TRUE
  616. *RotateRaster?: FALSE
  617. *RotateFont?: FALSE
  618. *TextCaps: LIST(TC_UA_ABLE)
  619. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  620. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  621. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  622. *XMoveThreshold: 0
  623. *YMoveThreshold: 0
  624. *XMoveUnit: 300
  625. *YMoveUnit: 300
  626. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  627. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  628. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  629. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  630. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  631. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  632. *Command: CmdCR { *Cmd : "<0D>" }
  633. *Command: CmdLF { *Cmd : "<0A>" }
  634. *Command: CmdFF { *Cmd : "<0C>" }
  635. *Command: CmdBackSpace { *Cmd : "<08>" }
  636. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  637. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  638. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  639. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  640. *EjectPageWithFF?: TRUE
  641. *OutputDataFormat: H_BYTE
  642. *OptimizeLeftBound?: TRUE
  643. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  644. *CursorYAfterSendBlockData: AUTO_INCREMENT
  645. *DefaultFont: 2
  646. *DefaultCTT: 0
  647. *MaxFontUsePerPage: 16
  648. *CharPosition: BASELINE
  649. *DLSymbolSet: ROMAN_8
  650. *switch: Orientation
  651. {
  652. *case: PORTRAIT
  653. {
  654. *DeviceFonts: LIST(2,3,4)
  655. }
  656. *case: LANDSCAPE_CC90
  657. {
  658. *DeviceFonts: LIST()
  659. }
  660. }
  661. *MinFontID: 1
  662. *MaxFontID: 99
  663. *MaxNumDownFonts: 32
  664. *FontFormat: HPPCL
  665. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  666. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  667. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  668. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  669. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  670. *MinGrayFill: 1
  671. *MaxGrayFill: 100
  672. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  673. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  674. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }