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.

564 lines
16 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "PAKX4451.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Panasonic KX-P4451"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "pcl5eres.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.6
  47. *Cmd: "<1B>&l4H"
  48. }
  49. }
  50. *Option: MANUAL
  51. {
  52. *rcNameID: =MANUAL_FEED_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.6
  56. *Cmd: "<1B>&l2H"
  57. }
  58. }
  59. *Option: LOWER
  60. {
  61. *rcNameID: =LOWER_TRAY_DISPLAY
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.6
  65. *Cmd: "<1B>&l1H"
  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.8
  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.8
  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. *PageProtectMem: 1028
  116. *switch: Orientation
  117. {
  118. *case: PORTRAIT
  119. {
  120. *PrintableArea: PAIR(4800, 6342)
  121. *PrintableOrigin: PAIR(150, 108)
  122. *switch: Resolution
  123. {
  124. *case: Option2
  125. {
  126. *PrintableArea: PAIR(4796, 6340)
  127. *PrintableOrigin: PAIR(152, 108)
  128. }
  129. }
  130. *CursorOrigin: PAIR(150, 104)
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.7
  134. *Cmd: "<1B>&l2a8c1E"
  135. }
  136. }
  137. *case: LANDSCAPE_CC90
  138. {
  139. *PrintableArea: PAIR(4850, 6300)
  140. *PrintableOrigin: PAIR(150, 150)
  141. *switch: Resolution
  142. {
  143. *case: Option2
  144. {
  145. *PrintableArea: PAIR(4848, 6296)
  146. *PrintableOrigin: PAIR(152, 152)
  147. }
  148. }
  149. *CursorOrigin: PAIR(116, 6450)
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.7
  153. *Cmd: "<1B>&l2a8c1E"
  154. }
  155. }
  156. }
  157. }
  158. *Option: LEGAL
  159. {
  160. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  161. *PageProtectMem: 1692
  162. *switch: Orientation
  163. {
  164. *case: PORTRAIT
  165. {
  166. *PrintableArea: PAIR(4800, 8200)
  167. *PrintableOrigin: PAIR(150, 100)
  168. *switch: Resolution
  169. {
  170. *case: Option2
  171. {
  172. *PrintableArea: PAIR(4796, 8200)
  173. *PrintableOrigin: PAIR(152, 100)
  174. }
  175. }
  176. *CursorOrigin: PAIR(150, 100)
  177. *Command: CmdSelect
  178. {
  179. *Order: DOC_SETUP.7
  180. *Cmd: "<1B>&l3a8c1E"
  181. }
  182. }
  183. *case: LANDSCAPE_CC90
  184. {
  185. *PrintableArea: PAIR(4900, 8160)
  186. *PrintableOrigin: PAIR(100, 120)
  187. *CursorOrigin: PAIR(100, 8280)
  188. *Command: CmdSelect
  189. {
  190. *Order: DOC_SETUP.7
  191. *Cmd: "<1B>&l3a8c1E"
  192. }
  193. }
  194. }
  195. }
  196. *Option: EXECUTIVE
  197. {
  198. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  199. *PageProtectMem: 1028
  200. *switch: Orientation
  201. {
  202. *case: PORTRAIT
  203. {
  204. *PrintableArea: PAIR(4050, 6100)
  205. *PrintableOrigin: PAIR(150, 100)
  206. *switch: Resolution
  207. {
  208. *case: Option2
  209. {
  210. *PrintableArea: PAIR(4048, 6100)
  211. *PrintableOrigin: PAIR(152, 100)
  212. }
  213. }
  214. *CursorOrigin: PAIR(150, 100)
  215. *Command: CmdSelect
  216. {
  217. *Order: DOC_SETUP.7
  218. *Cmd: "<1B>&l1a8c1E"
  219. }
  220. }
  221. *case: LANDSCAPE_CC90
  222. {
  223. *PrintableArea: PAIR(4150, 6060)
  224. *PrintableOrigin: PAIR(100, 120)
  225. *switch: Resolution
  226. {
  227. *case: Option2
  228. {
  229. *PrintableArea: PAIR(4148, 6060)
  230. }
  231. }
  232. *CursorOrigin: PAIR(100, 6180)
  233. *Command: CmdSelect
  234. {
  235. *Order: DOC_SETUP.7
  236. *Cmd: "<1B>&l1a8c1E"
  237. }
  238. }
  239. }
  240. }
  241. *Option: A4
  242. {
  243. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  244. *PageProtectMem: 1063
  245. *switch: Orientation
  246. {
  247. *case: PORTRAIT
  248. {
  249. *PrintableArea: PAIR(4716, 6814)
  250. *PrintableOrigin: PAIR(130, 100)
  251. *switch: Resolution
  252. {
  253. *case: Option2
  254. {
  255. *PrintableArea: PAIR(4712, 6812)
  256. *PrintableOrigin: PAIR(132, 100)
  257. }
  258. }
  259. *CursorOrigin: PAIR(130, 100)
  260. *Command: CmdSelect
  261. {
  262. *Order: DOC_SETUP.7
  263. *Cmd: "<1B>&l26a8c1E"
  264. }
  265. }
  266. *case: LANDSCAPE_CC90
  267. {
  268. *PrintableArea: PAIR(4762, 6790)
  269. *PrintableOrigin: PAIR(100, 108)
  270. *switch: Resolution
  271. {
  272. *case: Option2
  273. {
  274. *PrintableArea: PAIR(4760, 6788)
  275. }
  276. }
  277. *CursorOrigin: PAIR(100, 6864)
  278. *Command: CmdSelect
  279. {
  280. *Order: DOC_SETUP.7
  281. *Cmd: "<1B>&l26a8c1E"
  282. }
  283. }
  284. }
  285. }
  286. *Option: ENV_10
  287. {
  288. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  289. *PageProtectMem: 1028
  290. *switch: Orientation
  291. {
  292. *case: PORTRAIT
  293. {
  294. *PrintableArea: PAIR(2178, 5500)
  295. *PrintableOrigin: PAIR(150, 100)
  296. *switch: Resolution
  297. {
  298. *case: Option2
  299. {
  300. *PrintableArea: PAIR(2176, 5500)
  301. *PrintableOrigin: PAIR(152, 100)
  302. }
  303. }
  304. *CursorOrigin: PAIR(150, 100)
  305. *Command: CmdSelect
  306. {
  307. *Order: DOC_SETUP.7
  308. *Cmd: "<1B>&l81a1E"
  309. }
  310. }
  311. *case: LANDSCAPE_CC90
  312. {
  313. *PrintableArea: PAIR(2278, 5460)
  314. *PrintableOrigin: PAIR(100, 120)
  315. *switch: Resolution
  316. {
  317. *case: Option2
  318. {
  319. *PrintableArea: PAIR(2276, 5460)
  320. }
  321. }
  322. *CursorOrigin: PAIR(100, 5580)
  323. *Command: CmdSelect
  324. {
  325. *Order: DOC_SETUP.7
  326. *Cmd: "<1B>&l81a1E"
  327. }
  328. }
  329. }
  330. }
  331. *Option: ENV_DL
  332. {
  333. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  334. *PageProtectMem: 1028
  335. *switch: Orientation
  336. {
  337. *case: PORTRAIT
  338. {
  339. *PrintableArea: PAIR(2298, 4996)
  340. *PrintableOrigin: PAIR(150, 100)
  341. *switch: Resolution
  342. {
  343. *case: Option2
  344. {
  345. *PrintableArea: PAIR(2296, 4996)
  346. *PrintableOrigin: PAIR(152, 100)
  347. }
  348. }
  349. *CursorOrigin: PAIR(150, 100)
  350. *Command: CmdSelect
  351. {
  352. *Order: DOC_SETUP.7
  353. *Cmd: "<1B>&l90a8c1E"
  354. }
  355. }
  356. *case: LANDSCAPE_CC90
  357. {
  358. *PrintableArea: PAIR(2398, 4956)
  359. *PrintableOrigin: PAIR(100, 120)
  360. *switch: Resolution
  361. {
  362. *case: Option2
  363. {
  364. *PrintableArea: PAIR(2396, 4956)
  365. }
  366. }
  367. *CursorOrigin: PAIR(100, 5076)
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.7
  371. *Cmd: "<1B>&l90a8c1E"
  372. }
  373. }
  374. }
  375. }
  376. *Option: ENV_C5
  377. {
  378. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  379. *PageProtectMem: 1028
  380. *switch: Orientation
  381. {
  382. *case: PORTRAIT
  383. {
  384. *PrintableArea: PAIR(3528, 5212)
  385. *PrintableOrigin: PAIR(150, 100)
  386. *switch: Resolution
  387. {
  388. *case: Option2
  389. {
  390. *PrintableArea: PAIR(3524, 5212)
  391. *PrintableOrigin: PAIR(152, 100)
  392. }
  393. }
  394. *CursorOrigin: PAIR(150, 100)
  395. *Command: CmdSelect
  396. {
  397. *Order: DOC_SETUP.7
  398. *Cmd: "<1B>&l91a8c1E"
  399. }
  400. }
  401. *case: LANDSCAPE_CC90
  402. {
  403. *PrintableArea: PAIR(3628, 5172)
  404. *PrintableOrigin: PAIR(100, 120)
  405. *CursorOrigin: PAIR(100, 5292)
  406. *Command: CmdSelect
  407. {
  408. *Order: DOC_SETUP.7
  409. *Cmd: "<1B>&l91a8c1E"
  410. }
  411. }
  412. }
  413. }
  414. *Option: ENV_MONARCH
  415. {
  416. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  417. *PageProtectMem: 1028
  418. *switch: Orientation
  419. {
  420. *case: PORTRAIT
  421. {
  422. *PrintableArea: PAIR(2028, 4300)
  423. *PrintableOrigin: PAIR(150, 100)
  424. *switch: Resolution
  425. {
  426. *case: Option2
  427. {
  428. *PrintableArea: PAIR(2024, 4300)
  429. *PrintableOrigin: PAIR(152, 100)
  430. }
  431. }
  432. *CursorOrigin: PAIR(150, 100)
  433. *Command: CmdSelect
  434. {
  435. *Order: DOC_SETUP.7
  436. *Cmd: "<1B>&l80a8c1E"
  437. }
  438. }
  439. *case: LANDSCAPE_CC90
  440. {
  441. *PrintableArea: PAIR(2128, 4260)
  442. *PrintableOrigin: PAIR(100, 120)
  443. *CursorOrigin: PAIR(100, 4380)
  444. *Command: CmdSelect
  445. {
  446. *Order: DOC_SETUP.7
  447. *Cmd: "<1B>&l80a8c1E"
  448. }
  449. }
  450. }
  451. }
  452. }
  453. *Feature: Halftone
  454. {
  455. *rcNameID: =HALFTONING_DISPLAY
  456. *DefaultOption: HT_PATSIZE_AUTO
  457. *Option: HT_PATSIZE_AUTO
  458. {
  459. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  460. }
  461. *Ifdef: WINNT_50
  462. *Option: HT_PATSIZE_SUPERCELL_M
  463. {
  464. *rcNameID: =HT_SUPERCELL_DISPLAY
  465. }
  466. *Endif:
  467. *Option: HT_PATSIZE_6x6_M
  468. {
  469. *rcNameID: =HT_DITHER6X6_DISPLAY
  470. }
  471. *Option: HT_PATSIZE_8x8_M
  472. {
  473. *rcNameID: =HT_DITHER8X8_DISPLAY
  474. }
  475. }
  476. *Feature: Memory
  477. {
  478. *rcNameID: =PRINTER_MEMORY_DISPLAY
  479. *DefaultOption: 1024KB
  480. *MemConfigKB: PAIR(1024, 700)
  481. *MemConfigKB: PAIR(2048, 1645)
  482. *MemConfigKB: PAIR(3072, 2590)
  483. *MemConfigKB: PAIR(4096, 3535)
  484. *MemConfigKB: PAIR(5120, 4480)
  485. }
  486. *Command: CmdStartDoc
  487. {
  488. *Order: DOC_SETUP.1
  489. *Cmd: "<1B>E<1B>&l0S<1B>*r0F"
  490. }
  491. *Command: CmdStartPage
  492. {
  493. *Order: PAGE_SETUP.1
  494. *Cmd: "<1B>*b0M<0D>"
  495. }
  496. *Command: CmdEndJob
  497. {
  498. *Order: JOB_FINISH.1
  499. *Cmd: "<1B>E"
  500. }
  501. *Command: CmdCopies
  502. {
  503. *Order: DOC_SETUP.9
  504. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  505. }
  506. *RotateCoordinate?: TRUE
  507. *RotateRaster?: TRUE
  508. *RotateFont?: TRUE
  509. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  510. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  511. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  512. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  513. *XMoveThreshold: 0
  514. *YMoveThreshold: 0
  515. *XMoveUnit: 300
  516. *YMoveUnit: 300
  517. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  518. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
  519. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
  520. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  521. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,6300]{max_repeat((DestYRel / 2) )}"Y" }
  522. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,6300]{max_repeat((DestYRel / 2) )}"Y" }
  523. *Command: CmdCR { *Cmd : "<0D>" }
  524. *Command: CmdLF { *Cmd : "<0A>" }
  525. *Command: CmdFF { *Cmd : "<0C>" }
  526. *Command: CmdBackSpace { *Cmd : "<08>" }
  527. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  528. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  529. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  530. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  531. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  532. *EjectPageWithFF?: TRUE
  533. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  534. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  535. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  536. *OutputDataFormat: H_BYTE
  537. *OptimizeLeftBound?: TRUE
  538. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  539. *CursorYAfterSendBlockData: AUTO_INCREMENT
  540. *DefaultFont: 136
  541. *DefaultCTT: 0
  542. *CharPosition: BASELINE
  543. *DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153)
  544. *MinFontID: 16534
  545. *MaxFontID: 32768
  546. *FontFormat: HPPCL
  547. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  548. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  549. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  550. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  551. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  552. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  553. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  554. *MinGrayFill: 1
  555. *MaxGrayFill: 100
  556. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  557. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  558. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  559. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }