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.

676 lines
20 KiB

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