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.

671 lines
19 KiB

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