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.

607 lines
17 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "SPJX9680.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *Include: "ttfsub.gpd"
  10. *ModelName: "Sharp JX-9680"
  11. *MasterUnits: PAIR(600, 600)
  12. *ResourceDLL: "pcl5eres.dll"
  13. *PrinterType: PAGE
  14. *MaxCopies: 32767
  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.4
  25. *Cmd: "<1B>&l0O"
  26. }
  27. }
  28. *Option: LANDSCAPE_CC90
  29. {
  30. *rcNameID: =LANDSCAPE_DISPLAY
  31. *Command: CmdSelect
  32. {
  33. *Order: DOC_SETUP.4
  34. *Cmd: "<1B>&l1O"
  35. }
  36. }
  37. }
  38. *Feature: InputBin
  39. {
  40. *rcNameID: =PAPER_SOURCE_DISPLAY
  41. *DefaultOption: Option1
  42. *Option: Option1
  43. {
  44. *rcNameID: 271
  45. *Command: CmdSelect
  46. {
  47. *Order: DOC_SETUP.7
  48. *Cmd: "<1B>&l0H"
  49. }
  50. }
  51. *Option: UPPER
  52. {
  53. *rcNameID: =UPPER_TRAY_DISPLAY
  54. *Command: CmdSelect
  55. {
  56. *Order: DOC_SETUP.7
  57. *Cmd: "<1B>&l1H"
  58. }
  59. }
  60. *Option: MANUAL
  61. {
  62. *rcNameID: =MANUAL_FEED_DISPLAY
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.7
  66. *Cmd: "<1B>&l2H"
  67. }
  68. }
  69. *Option: LOWER
  70. {
  71. *rcNameID: =LOWER_TRAY_DISPLAY
  72. *Command: CmdSelect
  73. {
  74. *Order: DOC_SETUP.7
  75. *Cmd: "<1B>&l4H"
  76. }
  77. }
  78. }
  79. *Feature: Resolution
  80. {
  81. *rcNameID: =RESOLUTION_DISPLAY
  82. *DefaultOption: Option1
  83. *Option: Option1
  84. {
  85. *Name: "600 x 600 " =DOTS_PER_INCH
  86. *DPI: PAIR(600, 600)
  87. *TextDPI: PAIR(600, 600)
  88. *MinStripBlankPixels: 32
  89. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  90. *SpotDiameter: 100
  91. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  92. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  93. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.2
  97. *Cmd: "@PJL SET RESOLUTION=600<0D0A>@PJL ENTER LANGUAGE=PCL<0A1B>&f6X<1B>E<1B>*t600R"
  98. }
  99. }
  100. *Option: Option2
  101. {
  102. *Name: "300 x 300 " =DOTS_PER_INCH
  103. *DPI: PAIR(300, 300)
  104. *TextDPI: PAIR(300, 300)
  105. *MinStripBlankPixels: 32
  106. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  107. *SpotDiameter: 100
  108. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  109. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  110. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  111. *Command: CmdSelect
  112. {
  113. *Order: DOC_SETUP.2
  114. *Cmd: "@PJL SET RESOLUTION=300<0D0A>@PJL ENTER LANGUAGE=PCL<0A1B>&f6X<1B>&u300D<1B>E<1B>"
  115. + "*t300R"
  116. }
  117. }
  118. }
  119. *Feature: PaperSize
  120. {
  121. *rcNameID: =PAPER_SIZE_DISPLAY
  122. *DefaultOption: LETTER
  123. *Option: LETTER
  124. {
  125. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  126. *PageProtectMem: 1028
  127. *switch: Orientation
  128. {
  129. *case: PORTRAIT
  130. {
  131. *PrintableArea: PAIR(4800, 6324)
  132. *PrintableOrigin: PAIR(150, 150)
  133. *CursorOrigin: PAIR(150, 100)
  134. *Command: CmdSelect
  135. {
  136. *Order: DOC_SETUP.8
  137. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y"
  138. }
  139. }
  140. *case: LANDSCAPE_CC90
  141. {
  142. *PrintableArea: PAIR(4860, 6360)
  143. *PrintableOrigin: PAIR(120, 120)
  144. *CursorOrigin: PAIR(100, 6480)
  145. *Command: CmdSelect
  146. {
  147. *Order: DOC_SETUP.8
  148. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  149. }
  150. }
  151. }
  152. }
  153. *Option: LEGAL
  154. {
  155. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  156. *PageProtectMem: 1692
  157. *switch: Orientation
  158. {
  159. *case: PORTRAIT
  160. {
  161. *PrintableArea: PAIR(4800, 8124)
  162. *PrintableOrigin: PAIR(150, 150)
  163. *CursorOrigin: PAIR(150, 100)
  164. *Command: CmdSelect
  165. {
  166. *Order: DOC_SETUP.8
  167. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  168. }
  169. }
  170. *case: LANDSCAPE_CC90
  171. {
  172. *PrintableArea: PAIR(4860, 8160)
  173. *PrintableOrigin: PAIR(120, 120)
  174. *CursorOrigin: PAIR(100, 8280)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.8
  178. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  179. }
  180. }
  181. }
  182. }
  183. *Option: EXECUTIVE
  184. {
  185. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  186. *PageProtectMem: 1028
  187. *switch: Orientation
  188. {
  189. *case: PORTRAIT
  190. {
  191. *PrintableArea: PAIR(4050, 6024)
  192. *PrintableOrigin: PAIR(150, 150)
  193. *CursorOrigin: PAIR(150, 100)
  194. *Command: CmdSelect
  195. {
  196. *Order: DOC_SETUP.8
  197. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y"
  198. }
  199. }
  200. *case: LANDSCAPE_CC90
  201. {
  202. *PrintableArea: PAIR(4110, 6060)
  203. *PrintableOrigin: PAIR(120, 120)
  204. *CursorOrigin: PAIR(100, 6180)
  205. *Command: CmdSelect
  206. {
  207. *Order: DOC_SETUP.8
  208. *Cmd: "<1B>&l1a8c1e-360Z<1B>*p0x0Y<1B>*c0t7272x4980Y"
  209. }
  210. }
  211. }
  212. }
  213. *Option: A4
  214. {
  215. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  216. *PageProtectMem: 1063
  217. *switch: Orientation
  218. {
  219. *case: PORTRAIT
  220. {
  221. *PrintableArea: PAIR(4646, 6738)
  222. *PrintableOrigin: PAIR(150, 150)
  223. *CursorOrigin: PAIR(150, 100)
  224. *Command: CmdSelect
  225. {
  226. *Order: DOC_SETUP.8
  227. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8177Y"
  228. }
  229. }
  230. *case: LANDSCAPE_CC90
  231. {
  232. *PrintableArea: PAIR(4692, 6764)
  233. *PrintableOrigin: PAIR(120, 130)
  234. *CursorOrigin: PAIR(100, 6894)
  235. *Command: CmdSelect
  236. {
  237. *Order: DOC_SETUP.8
  238. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  239. }
  240. }
  241. }
  242. }
  243. *Option: ENV_10
  244. {
  245. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  246. *PageProtectMem: 1028
  247. *switch: Orientation
  248. {
  249. *case: PORTRAIT
  250. {
  251. *PrintableArea: PAIR(2168, 5400)
  252. *PrintableOrigin: PAIR(150, 150)
  253. *CursorOrigin: PAIR(150, 100)
  254. *Command: CmdSelect
  255. {
  256. *Order: DOC_SETUP.8
  257. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6600Y"
  258. }
  259. }
  260. *case: LANDSCAPE_CC90
  261. {
  262. *PrintableArea: PAIR(2178, 5400)
  263. *PrintableOrigin: PAIR(150, 150)
  264. *CursorOrigin: PAIR(100, 5550)
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.8
  268. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  269. }
  270. }
  271. }
  272. }
  273. *Option: ENV_DL
  274. {
  275. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  276. *PageProtectMem: 1028
  277. *switch: Orientation
  278. {
  279. *case: PORTRAIT
  280. {
  281. *PrintableArea: PAIR(2298, 4896)
  282. *PrintableOrigin: PAIR(150, 150)
  283. *CursorOrigin: PAIR(150, 80)
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.8
  287. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x6043Y"
  288. }
  289. }
  290. *case: LANDSCAPE_CC90
  291. {
  292. *PrintableArea: PAIR(2298, 4896)
  293. *PrintableOrigin: PAIR(150, 144)
  294. *CursorOrigin: PAIR(100, 5046)
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.8
  298. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  299. }
  300. }
  301. }
  302. }
  303. *Option: ENV_C5
  304. {
  305. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  306. *PageProtectMem: 1028
  307. *switch: Orientation
  308. {
  309. *case: PORTRAIT
  310. {
  311. *PrintableArea: PAIR(3528, 5112)
  312. *PrintableOrigin: PAIR(150, 150)
  313. *CursorOrigin: PAIR(150, 80)
  314. *Command: CmdSelect
  315. {
  316. *Order: DOC_SETUP.8
  317. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6302Y"
  318. }
  319. }
  320. *case: LANDSCAPE_CC90
  321. {
  322. *PrintableArea: PAIR(3528, 5112)
  323. *PrintableOrigin: PAIR(150, 150)
  324. *CursorOrigin: PAIR(100, 5262)
  325. *Command: CmdSelect
  326. {
  327. *Order: DOC_SETUP.8
  328. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4357Y"
  329. }
  330. }
  331. }
  332. }
  333. *Option: ENV_MONARCH
  334. {
  335. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  336. *PageProtectMem: 1028
  337. *switch: Orientation
  338. {
  339. *case: PORTRAIT
  340. {
  341. *PrintableArea: PAIR(2018, 4200)
  342. *PrintableOrigin: PAIR(150, 150)
  343. *CursorOrigin: PAIR(150, 80)
  344. *Command: CmdSelect
  345. {
  346. *Order: DOC_SETUP.8
  347. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5208Y"
  348. }
  349. }
  350. *case: LANDSCAPE_CC90
  351. {
  352. *PrintableArea: PAIR(2028, 4200)
  353. *PrintableOrigin: PAIR(150, 150)
  354. *CursorOrigin: PAIR(100, 4350)
  355. *Command: CmdSelect
  356. {
  357. *Order: DOC_SETUP.8
  358. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2554Y"
  359. }
  360. }
  361. }
  362. }
  363. }
  364. *Feature: Halftone
  365. {
  366. *rcNameID: =HALFTONING_DISPLAY
  367. *DefaultOption: HT_PATSIZE_AUTO
  368. *Option: HT_PATSIZE_AUTO
  369. {
  370. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  371. }
  372. *Option: HT_PATSIZE_6x6_M
  373. {
  374. *rcNameID: =HT_DITHER6X6_DISPLAY
  375. }
  376. *Option: HT_PATSIZE_8x8_M
  377. {
  378. *rcNameID: =HT_DITHER8X8_DISPLAY
  379. }
  380. }
  381. *Feature: Memory
  382. {
  383. *rcNameID: =PRINTER_MEMORY_DISPLAY
  384. *DefaultOption: 2048KB
  385. *MemConfigKB: PAIR(2048, 1350)
  386. *MemConfigKB: PAIR(3072, 1843)
  387. *MemConfigKB: PAIR(4096, 3150)
  388. *MemConfigKB: PAIR(5120, 4050)
  389. *MemConfigKB: PAIR(6144, 4950)
  390. *MemConfigKB: PAIR(7168, 5850)
  391. *MemConfigKB: PAIR(8192, 6750)
  392. *MemConfigKB: PAIR(9216, 7650)
  393. *MemConfigKB: PAIR(10240, 8550)
  394. *MemConfigKB: PAIR(11264, 9450)
  395. *MemConfigKB: PAIR(12288, 10350)
  396. *MemConfigKB: PAIR(13312, 11250)
  397. *MemConfigKB: PAIR(14336, 12150)
  398. *MemConfigKB: PAIR(15360, 13050)
  399. *MemConfigKB: PAIR(16384, 13950)
  400. *MemConfigKB: PAIR(17408, 14850)
  401. *MemConfigKB: PAIR(18432, 15950)
  402. *MemConfigKB: PAIR(19456, 16650)
  403. *MemConfigKB: PAIR(20480, 17550)
  404. *MemConfigKB: PAIR(21504, 18450)
  405. *MemConfigKB: PAIR(22528, 19350)
  406. *MemConfigKB: PAIR(23552, 20250)
  407. *MemConfigKB: PAIR(24576, 21150)
  408. *MemConfigKB: PAIR(25600, 22050)
  409. *MemConfigKB: PAIR(26624, 22950)
  410. *MemConfigKB: PAIR(27648, 23850)
  411. *MemConfigKB: PAIR(28672, 24750)
  412. *MemConfigKB: PAIR(29696, 25650)
  413. *MemConfigKB: PAIR(30720, 26550)
  414. *MemConfigKB: PAIR(31744, 27450)
  415. *MemConfigKB: PAIR(32768, 28350)
  416. *MemConfigKB: PAIR(33792, 29250)
  417. *MemConfigKB: PAIR(34816, 30150)
  418. *MemConfigKB: PAIR(35840, 31050)
  419. *MemConfigKB: PAIR(36864, 31950)
  420. *MemConfigKB: PAIR(37888, 32850)
  421. *MemConfigKB: PAIR(38912, 33750)
  422. *MemConfigKB: PAIR(39936, 34650)
  423. *MemConfigKB: PAIR(40960, 35550)
  424. *MemConfigKB: PAIR(41984, 36450)
  425. *MemConfigKB: PAIR(43008, 37350)
  426. *MemConfigKB: PAIR(44032, 38250)
  427. *MemConfigKB: PAIR(45056, 39150)
  428. *MemConfigKB: PAIR(46080, 40050)
  429. *MemConfigKB: PAIR(47104, 40950)
  430. *MemConfigKB: PAIR(48128, 41850)
  431. *MemConfigKB: PAIR(49152, 42750)
  432. *MemConfigKB: PAIR(50176, 43650)
  433. *MemConfigKB: PAIR(51200, 44550)
  434. }
  435. *Feature: PageProtect
  436. {
  437. *rcNameID: =PAGE_PROTECTION_DISPLAY
  438. *DefaultOption: OFF
  439. *Option: ON
  440. {
  441. *rcNameID: =ON_DISPLAY
  442. *Command: CmdSelect
  443. {
  444. *Order: DOC_SETUP.1
  445. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=ON<0D0A>"
  446. }
  447. }
  448. *Option: OFF
  449. {
  450. *rcNameID: =OFF_DISPLAY
  451. *Command: CmdSelect
  452. {
  453. *Order: DOC_SETUP.1
  454. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0D0A>"
  455. }
  456. }
  457. }
  458. *switch: Memory
  459. {
  460. *case: 2048KB
  461. {
  462. *Command: CmdStartDoc
  463. {
  464. *Order: DOC_SETUP.3
  465. *Cmd: "<1B>&u600D<1B>*r3F"
  466. }
  467. *RotateRaster?: FALSE
  468. }
  469. *case: 3072KB
  470. {
  471. *Command: CmdStartDoc
  472. {
  473. *Order: DOC_SETUP.3
  474. *Cmd: "<1B>&u600D<1B>*r3F"
  475. }
  476. *RotateRaster?: FALSE
  477. }
  478. *default:
  479. {
  480. *Command: CmdStartDoc
  481. {
  482. *Order: DOC_SETUP.3
  483. *Cmd: "<1B>&u600D<1B>*r0F"
  484. }
  485. *RotateRaster?: TRUE
  486. }
  487. }
  488. *Command: CmdStartPage
  489. {
  490. *Order: PAGE_SETUP.1
  491. *Cmd: "<1B>*b0M<0D>"
  492. }
  493. *Command: CmdEndJob
  494. {
  495. *Order: JOB_FINISH.1
  496. *Cmd: "<1B>E<1B>%%-12345X"
  497. }
  498. *Command: CmdCopies
  499. {
  500. *Order: DOC_SETUP.9
  501. *Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
  502. }
  503. *RotateCoordinate?: TRUE
  504. *RotateFont?: TRUE
  505. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  506. *MemoryUsage: LIST(FONT)
  507. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  508. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  509. *XMoveThreshold: 0
  510. *YMoveThreshold: 0
  511. *XMoveUnit: 600
  512. *YMoveUnit: 600
  513. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX }"X" }
  514. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat(DestXRel )}"X" }
  515. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat(DestXRel )}"X" }
  516. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY }"Y" }
  517. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  518. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  519. *Command: CmdCR { *Cmd : "<0D>" }
  520. *Command: CmdLF { *Cmd : "<0A>" }
  521. *Command: CmdFF { *Cmd : "<0C>" }
  522. *Command: CmdBackSpace { *Cmd : "<08>" }
  523. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  524. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  525. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  526. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  527. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  528. *EjectPageWithFF?: TRUE
  529. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  530. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  531. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  532. *OutputDataFormat: H_BYTE
  533. *OptimizeLeftBound?: TRUE
  534. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  535. *CursorYAfterSendBlockData: AUTO_INCREMENT
  536. *DefaultFont: 216
  537. *DefaultCTT: 0
  538. *CharPosition: BASELINE
  539. *TTFSEnabled?: TRUE
  540. *DeviceFonts: LIST(146,147,148,149,150,151,152,153,154,155,156,157,164,165,166,
  541. + 196,197,198,199,200,201,202,203,209,210,211,212,213,214,215,
  542. + 216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,138)
  543. *MinFontID: 16534
  544. *MaxFontID: 32768
  545. *FontFormat: HPPCL_OUTLINE
  546. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  547. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  548. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  549. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  550. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  551. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  552. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  553. *MinGrayFill: 1
  554. *MaxGrayFill: 100
  555. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize }"A" }
  556. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize }"B" }
  557. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  558. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }