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.

589 lines
17 KiB

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