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.

993 lines
26 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "sml5200a.gpd"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *Include: "ttfsub.gpd"
  10. *ModelName: "Samsung ML-5200A PCL5e"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "pcl5eres.dll"
  13. *PrintRate: 10
  14. *PrintRatePPM: 10
  15. *PrintRateUnit: PPM
  16. *PrinterType: PAGE
  17. *MaxCopies: 32767
  18. *Feature: Orientation
  19. {
  20. *rcNameID: =ORIENTATION_DISPLAY
  21. *DefaultOption: PORTRAIT
  22. *Option: PORTRAIT
  23. {
  24. *rcNameID: =PORTRAIT_DISPLAY
  25. *Command: CmdSelect
  26. {
  27. *Order: DOC_SETUP.8
  28. *Cmd: "<1B>&l0O"
  29. }
  30. }
  31. *Option: LANDSCAPE_CC90
  32. {
  33. *rcNameID: =LANDSCAPE_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.8
  37. *Cmd: "<1B>&l1O"
  38. }
  39. }
  40. }
  41. *Feature: InputBin
  42. {
  43. *rcNameID: =PAPER_SOURCE_DISPLAY
  44. *DefaultOption: Option1
  45. *Option: Option1
  46. {
  47. *rcNameID: 271
  48. *Command: CmdSelect
  49. {
  50. *Order: DOC_SETUP.11
  51. *Cmd: "<1B>&l7H"
  52. }
  53. }
  54. *Option: MANUAL
  55. {
  56. *rcNameID: =MANUAL_FEED_DISPLAY
  57. *Command: CmdSelect
  58. {
  59. *Order: DOC_SETUP.11
  60. *Cmd: "<1B>&l2H"
  61. }
  62. }
  63. }
  64. *Feature: Resolution
  65. {
  66. *rcNameID: =RESOLUTION_DISPLAY
  67. *DefaultOption: Option1
  68. *Option: Option1
  69. {
  70. *Name: "600 x 600 " =DOTS_PER_INCH
  71. *DPI: PAIR(600, 600)
  72. *TextDPI: PAIR(600, 600)
  73. *MinStripBlankPixels: 32
  74. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  75. *SpotDiameter: 100
  76. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  77. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  78. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  79. *Command: CmdSelect
  80. {
  81. *Order: JOB_SETUP.6
  82. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  83. }
  84. }
  85. *Option: Option2
  86. {
  87. *Name: "300 x 300 " =DOTS_PER_INCH
  88. *DPI: PAIR(300, 300)
  89. *TextDPI: PAIR(300, 300)
  90. *MinStripBlankPixels: 32
  91. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  92. *SpotDiameter: 100
  93. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  94. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  95. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  96. *Command: CmdSelect
  97. {
  98. *Order: JOB_SETUP.6
  99. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  100. }
  101. }
  102. }
  103. *Feature: PaperSize
  104. {
  105. *rcNameID: =PAPER_SIZE_DISPLAY
  106. *DefaultOption: LETTER
  107. *Option: B5
  108. {
  109. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  110. *PageProtectMem: 3198
  111. *switch: Orientation
  112. {
  113. *case: PORTRAIT
  114. {
  115. *PrintableArea: PAIR(8004, 11604)
  116. *PrintableOrigin: PAIR(300, 300)
  117. *CursorOrigin: PAIR(300, 220)
  118. *Command: CmdSelect
  119. {
  120. *Order: DOC_SETUP.12
  121. *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
  122. }
  123. }
  124. *case: LANDSCAPE_CC90
  125. {
  126. *PrintableArea: PAIR(8144, 11664)
  127. *PrintableOrigin: PAIR(220, 240)
  128. *CursorOrigin: PAIR(200, 12004)
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.12
  132. *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
  133. }
  134. }
  135. }
  136. }
  137. *Option: LETTER
  138. {
  139. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1000
  140. *PageProtectMem: 4109
  141. *switch: Orientation
  142. {
  143. *case: PORTRAIT
  144. {
  145. *PrintableArea: PAIR(9600, 12600)
  146. *PrintableOrigin: PAIR(300, 300)
  147. *CursorOrigin: PAIR(300, 160)
  148. *Command: CmdSelect
  149. {
  150. *Order: DOC_SETUP.12
  151. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7728Y"
  152. }
  153. }
  154. *case: LANDSCAPE_CC90
  155. {
  156. *PrintableArea: PAIR(9760, 12600)
  157. *PrintableOrigin: PAIR(200, 300)
  158. *CursorOrigin: PAIR(200, 12900)
  159. *Command: CmdSelect
  160. {
  161. *Order: DOC_SETUP.12
  162. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7560x5880Y"
  163. }
  164. }
  165. }
  166. }
  167. *Option: LEGAL
  168. {
  169. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1004
  170. *PageProtectMem: 5230
  171. *switch: Orientation
  172. {
  173. *case: PORTRAIT
  174. {
  175. *PrintableArea: PAIR(9600, 16200)
  176. *PrintableOrigin: PAIR(300, 300)
  177. *CursorOrigin: PAIR(300, 160)
  178. *Command: CmdSelect
  179. {
  180. *Order: DOC_SETUP.12
  181. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9888Y"
  182. }
  183. }
  184. *case: LANDSCAPE_CC90
  185. {
  186. *PrintableArea: PAIR(9760, 16200)
  187. *PrintableOrigin: PAIR(200, 300)
  188. *CursorOrigin: PAIR(200, 16500)
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.12
  192. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9720x5880Y"
  193. }
  194. }
  195. }
  196. }
  197. *Option: EXECUTIVE
  198. {
  199. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1006
  200. *PageProtectMem: 4109
  201. *switch: Orientation
  202. {
  203. *case: PORTRAIT
  204. {
  205. *PrintableArea: PAIR(8100, 12000)
  206. *PrintableOrigin: PAIR(300, 300)
  207. *CursorOrigin: PAIR(300, 160)
  208. *Command: CmdSelect
  209. {
  210. *Order: DOC_SETUP.12
  211. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7368Y"
  212. }
  213. }
  214. *case: LANDSCAPE_CC90
  215. {
  216. *PrintableArea: PAIR(8180, 12000)
  217. *PrintableOrigin: PAIR(220, 300)
  218. *CursorOrigin: PAIR(200, 12300)
  219. *Command: CmdSelect
  220. {
  221. *Order: DOC_SETUP.12
  222. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7200x4980Y"
  223. }
  224. }
  225. }
  226. }
  227. *Option: A4
  228. {
  229. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1008
  230. *PageProtectMem: 4249
  231. *switch: Orientation
  232. {
  233. *case: PORTRAIT
  234. {
  235. *PrintableArea: PAIR(9352, 13400)
  236. *PrintableOrigin: PAIR(260, 300)
  237. *CursorOrigin: PAIR(260, 160)
  238. *Command: CmdSelect
  239. {
  240. *Order: DOC_SETUP.12
  241. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5642x8225Y"
  242. }
  243. }
  244. *case: LANDSCAPE_CC90
  245. {
  246. *PrintableArea: PAIR(9424, 13428)
  247. *PrintableOrigin: PAIR(200, 300)
  248. *CursorOrigin: PAIR(200, 13728)
  249. *Command: CmdSelect
  250. {
  251. *Order: DOC_SETUP.12
  252. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8057x5714Y"
  253. }
  254. }
  255. }
  256. }
  257. *Option: ENV_10
  258. {
  259. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1019
  260. *PageProtectMem: 4109
  261. *switch: Orientation
  262. {
  263. *case: PORTRAIT
  264. {
  265. *PrintableArea: PAIR(4346, 10800)
  266. *PrintableOrigin: PAIR(300, 300)
  267. *switch: Resolution
  268. {
  269. *case: Option2
  270. {
  271. *PrintableArea: PAIR(4344, 10800)
  272. }
  273. }
  274. *CursorOrigin: PAIR(300, 180)
  275. *Command: CmdSelect
  276. {
  277. *Order: DOC_SETUP.12
  278. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6624Y"
  279. }
  280. }
  281. *case: LANDSCAPE_CC90
  282. {
  283. *PrintableArea: PAIR(4476, 10800)
  284. *PrintableOrigin: PAIR(200, 300)
  285. *CursorOrigin: PAIR(200, 11100)
  286. *Command: CmdSelect
  287. {
  288. *Order: DOC_SETUP.12
  289. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  290. }
  291. }
  292. }
  293. }
  294. *Option: ENV_DL
  295. {
  296. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1026
  297. *PageProtectMem: 4109
  298. *switch: Orientation
  299. {
  300. *case: PORTRAIT
  301. {
  302. *PrintableArea: PAIR(4576, 9792)
  303. *PrintableOrigin: PAIR(300, 300)
  304. *CursorOrigin: PAIR(300, 180)
  305. *Command: CmdSelect
  306. {
  307. *Order: DOC_SETUP.12
  308. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2757x6019Y"
  309. }
  310. }
  311. *case: LANDSCAPE_CC90
  312. {
  313. *PrintableArea: PAIR(4796, 9792)
  314. *PrintableOrigin: PAIR(200, 300)
  315. *CursorOrigin: PAIR(200, 10092)
  316. *Command: CmdSelect
  317. {
  318. *Order: DOC_SETUP.12
  319. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  320. }
  321. }
  322. }
  323. }
  324. *Option: ENV_C5
  325. {
  326. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1027
  327. *PageProtectMem: 4109
  328. *switch: Orientation
  329. {
  330. *case: PORTRAIT
  331. {
  332. *PrintableArea: PAIR(7036, 10214)
  333. *PrintableOrigin: PAIR(300, 300)
  334. *switch: Resolution
  335. {
  336. *case: Option2
  337. {
  338. *PrintableArea: PAIR(7036, 10212)
  339. }
  340. }
  341. *CursorOrigin: PAIR(300, 180)
  342. *Command: CmdSelect
  343. {
  344. *Order: DOC_SETUP.12
  345. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
  346. }
  347. }
  348. *case: LANDSCAPE_CC90
  349. {
  350. *PrintableArea: PAIR(7056, 10224)
  351. *PrintableOrigin: PAIR(300, 300)
  352. *CursorOrigin: PAIR(200, 10524)
  353. *Command: CmdSelect
  354. {
  355. *Order: DOC_SETUP.12
  356. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  357. }
  358. }
  359. }
  360. }
  361. *Option: ENV_MONARCH
  362. {
  363. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1036
  364. *PageProtectMem: 4109
  365. *switch: Orientation
  366. {
  367. *case: PORTRAIT
  368. {
  369. *PrintableArea: PAIR(4046, 8400)
  370. *PrintableOrigin: PAIR(300, 300)
  371. *switch: Resolution
  372. {
  373. *case: Option2
  374. {
  375. *PrintableArea: PAIR(4044, 8400)
  376. }
  377. }
  378. *CursorOrigin: PAIR(300, 180)
  379. *Command: CmdSelect
  380. {
  381. *Order: DOC_SETUP.12
  382. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5184Y"
  383. }
  384. }
  385. *case: LANDSCAPE_CC90
  386. {
  387. *PrintableArea: PAIR(4076, 8400)
  388. *PrintableOrigin: PAIR(300, 300)
  389. *CursorOrigin: PAIR(200, 8700)
  390. *Command: CmdSelect
  391. {
  392. *Order: DOC_SETUP.12
  393. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2557Y"
  394. }
  395. }
  396. }
  397. }
  398. *Option: CUSTOMSIZE
  399. {
  400. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1255
  401. *MinSize: PAIR(3600, 6000)
  402. *MaxSize: PAIR(10200, 32767)
  403. *MaxPrintableWidth: 10200
  404. *MinLeftMargin: 100
  405. *CenterPrintable?: FALSE
  406. *PageProtectMem: 1692
  407. *switch: Orientation
  408. {
  409. *case: PORTRAIT
  410. {
  411. *Command: CmdSelect
  412. {
  413. *Order: DOC_SETUP.12
  414. *Cmd: "<1B>&l101a4d1e" %d{(PhysPaperLength / 300) - 1}"F<1B>*p0x0Y<1B>*p0x0Y<1B>*c0t" %d{(((PhysPaperWidth - 598) * 6) / 10) }
  415. + "x" %d{(((PhysPaperLength - 440) * 6) / 10) }"Y"
  416. }
  417. }
  418. *case: LANDSCAPE_CC90
  419. {
  420. *Command: CmdSelect
  421. {
  422. *Order: DOC_SETUP.12
  423. *Cmd: "<1B>&l101a4d1e" %d{(PhysPaperLength / 300) - 1}"f" %d{(((PhysPaperLength - 16800) * 6) / 10) }
  424. + "Z<1B>*p0x0Y<1B>*c0t" %d{(((PhysPaperLength - 600) * 6) / 10) }"x" %d{(((PhysPaperWidth - 600) * 6) / 10) }
  425. + "Y"
  426. }
  427. }
  428. }
  429. }
  430. }
  431. *Feature: Economode
  432. {
  433. *rcNameID: 377
  434. *DefaultOption: Option1
  435. *Option: Option1
  436. {
  437. *rcNameID: 265
  438. }
  439. *Option: Option2
  440. {
  441. *rcNameID: 266
  442. *Command: CmdSelect
  443. {
  444. *Order: JOB_SETUP.5
  445. *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  446. }
  447. }
  448. *Option: Option3
  449. {
  450. *rcNameID: 267
  451. *Command: CmdSelect
  452. {
  453. *Order: JOB_SETUP.5
  454. *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  455. }
  456. }
  457. }
  458. *Feature: RET
  459. {
  460. *rcNameID: 378
  461. *DefaultOption: Option1
  462. *Option: Option1
  463. {
  464. *rcNameID: 293
  465. }
  466. *Option: Option2
  467. {
  468. *rcNameID: 297
  469. *Command: CmdSelect
  470. {
  471. *Order: JOB_SETUP.4
  472. *Cmd: "@PJL SET RET=LIGHT<0A>"
  473. }
  474. }
  475. *Option: Option3
  476. {
  477. *rcNameID: 298
  478. *Command: CmdSelect
  479. {
  480. *Order: JOB_SETUP.4
  481. *Cmd: "@PJL SET RET=MEDIUM<0A>"
  482. }
  483. }
  484. *Option: Option4
  485. {
  486. *rcNameID: 299
  487. *Command: CmdSelect
  488. {
  489. *Order: JOB_SETUP.4
  490. *Cmd: "@PJL SET RET=DARK<0A>"
  491. }
  492. }
  493. *Option: Option5
  494. {
  495. *rcNameID: 300
  496. *Command: CmdSelect
  497. {
  498. *Order: JOB_SETUP.4
  499. *Cmd: "@PJL SET RET=OFF<0A>"
  500. }
  501. }
  502. }
  503. *Feature: Halftone
  504. {
  505. *rcNameID: =HALFTONING_DISPLAY
  506. *DefaultOption: HT_PATSIZE_AUTO
  507. *Option: HT_PATSIZE_AUTO
  508. {
  509. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  510. }
  511. *Option: HT_PATSIZE_6x6_M
  512. {
  513. *rcNameID: =HT_DITHER6X6_DISPLAY
  514. }
  515. *Option: HT_PATSIZE_8x8_M
  516. {
  517. *rcNameID: =HT_DITHER8X8_DISPLAY
  518. }
  519. }
  520. *Feature: Memory
  521. {
  522. *rcNameID: =PRINTER_MEMORY_DISPLAY
  523. *DefaultOption: 2048KB
  524. *Option: 2048KB
  525. {
  526. *Name: "2MB"
  527. *MemoryConfigKB: PAIR(2048, 1350)
  528. }
  529. *Option: 3072KB
  530. {
  531. *Name: "3MB"
  532. *MemoryConfigKB: PAIR(3072, 2250)
  533. }
  534. *Option: 4096KB
  535. {
  536. *Name: "4MB"
  537. *MemoryConfigKB: PAIR(4096, 3150)
  538. }
  539. *Option: 5120KB
  540. {
  541. *Name: "5MB"
  542. *MemoryConfigKB: PAIR(5120, 4050)
  543. }
  544. *Option: 6144KB
  545. {
  546. *Name: "6MB"
  547. *MemoryConfigKB: PAIR(6144, 4950)
  548. }
  549. *Option: 7168KB
  550. {
  551. *Name: "7MB"
  552. *MemoryConfigKB: PAIR(7168, 5850)
  553. }
  554. *Option: 8192KB
  555. {
  556. *Name: "8MB"
  557. *MemoryConfigKB: PAIR(8192, 6750)
  558. }
  559. *Option: 9216KB
  560. {
  561. *Name: "9MB"
  562. *MemoryConfigKB: PAIR(9216, 7650)
  563. }
  564. *Option: 10240KB
  565. {
  566. *Name: "10MB"
  567. *MemoryConfigKB: PAIR(10240, 8550)
  568. }
  569. *Option: 11264KB
  570. {
  571. *Name: "11MB"
  572. *MemoryConfigKB: PAIR(11264, 9450)
  573. }
  574. *Option: 12288KB
  575. {
  576. *Name: "12MB"
  577. *MemoryConfigKB: PAIR(12288, 10350)
  578. }
  579. *Option: 13312KB
  580. {
  581. *Name: "13MB"
  582. *MemoryConfigKB: PAIR(13312, 11250)
  583. }
  584. *Option: 14336KB
  585. {
  586. *Name: "14MB"
  587. *MemoryConfigKB: PAIR(14336, 12150)
  588. }
  589. *Option: 15360KB
  590. {
  591. *Name: "15MB"
  592. *MemoryConfigKB: PAIR(15360, 13050)
  593. }
  594. *Option: 16384KB
  595. {
  596. *Name: "16MB"
  597. *MemoryConfigKB: PAIR(16384, 13950)
  598. }
  599. *Option: 17408KB
  600. {
  601. *Name: "17MB"
  602. *MemoryConfigKB: PAIR(17408, 14850)
  603. }
  604. *Option: 18432KB
  605. {
  606. *Name: "18MB"
  607. *MemoryConfigKB: PAIR(18432, 15750)
  608. }
  609. *Option: 19456KB
  610. {
  611. *Name: "19MB"
  612. *MemoryConfigKB: PAIR(19456, 16650)
  613. }
  614. *Option: 20480KB
  615. {
  616. *Name: "20MB"
  617. *MemoryConfigKB: PAIR(20480, 17550)
  618. }
  619. *Option: 21504KB
  620. {
  621. *Name: "21MB"
  622. *MemoryConfigKB: PAIR(21504, 18450)
  623. }
  624. *Option: 22528KB
  625. {
  626. *Name: "22MB"
  627. *MemoryConfigKB: PAIR(22528, 19350)
  628. }
  629. *Option: 23552KB
  630. {
  631. *Name: "23MB"
  632. *MemoryConfigKB: PAIR(23552, 20250)
  633. }
  634. *Option: 24576KB
  635. {
  636. *Name: "24MB"
  637. *MemoryConfigKB: PAIR(24576, 21150)
  638. }
  639. *Option: 25600KB
  640. {
  641. *Name: "25MB"
  642. *MemoryConfigKB: PAIR(25600, 22050)
  643. }
  644. *Option: 26624KB
  645. {
  646. *Name: "26MB"
  647. *MemoryConfigKB: PAIR(26624, 22950)
  648. }
  649. *Option: 27648KB
  650. {
  651. *Name: "27MB"
  652. *MemoryConfigKB: PAIR(27648, 23850)
  653. }
  654. *Option: 28672KB
  655. {
  656. *Name: "28MB"
  657. *MemoryConfigKB: PAIR(28672, 24750)
  658. }
  659. *Option: 29696KB
  660. {
  661. *Name: "29MB"
  662. *MemoryConfigKB: PAIR(29696, 25650)
  663. }
  664. *Option: 30720KB
  665. {
  666. *Name: "30MB"
  667. *MemoryConfigKB: PAIR(30720, 26550)
  668. }
  669. *Option: 31744KB
  670. {
  671. *Name: "31MB"
  672. *MemoryConfigKB: PAIR(31744, 27450)
  673. }
  674. *Option: 32768KB
  675. {
  676. *Name: "32MB"
  677. *MemoryConfigKB: PAIR(32768, 28350)
  678. }
  679. *Option: 33792KB
  680. {
  681. *Name: "33MB"
  682. *MemoryConfigKB: PAIR(33792, 29250)
  683. }
  684. *Option: 34816KB
  685. {
  686. *Name: "34MB"
  687. *MemoryConfigKB: PAIR(34816, 30420)
  688. }
  689. *Option: 35840KB
  690. {
  691. *Name: "35MB"
  692. *MemoryConfigKB: PAIR(35840, 31050)
  693. }
  694. *Option: 36864KB
  695. {
  696. *Name: "36MB"
  697. *MemoryConfigKB: PAIR(36864, 31950)
  698. }
  699. *Option: 37888KB
  700. {
  701. *Name: "37MB"
  702. *MemoryConfigKB: PAIR(37888, 32850)
  703. }
  704. *Option: 38912KB
  705. {
  706. *Name: "38MB"
  707. *MemoryConfigKB: PAIR(38912, 33750)
  708. }
  709. *Option: 39936KB
  710. {
  711. *Name: "39MB"
  712. *MemoryConfigKB: PAIR(39936, 34650)
  713. }
  714. *Option: 40960KB
  715. {
  716. *Name: "40MB"
  717. *MemoryConfigKB: PAIR(40960, 35550)
  718. }
  719. *Option: 41984KB
  720. {
  721. *Name: "41MB"
  722. *MemoryConfigKB: PAIR(41984, 36450)
  723. }
  724. *Option: 43008KB
  725. {
  726. *Name: "42MB"
  727. *MemoryConfigKB: PAIR(43008, 37350)
  728. }
  729. *Option: 44032KB
  730. {
  731. *Name: "43MB"
  732. *MemoryConfigKB: PAIR(44032, 38250)
  733. }
  734. *Option: 45056KB
  735. {
  736. *Name: "44MB"
  737. *MemoryConfigKB: PAIR(45056, 39150)
  738. }
  739. *Option: 46080KB
  740. {
  741. *Name: "45MB"
  742. *MemoryConfigKB: PAIR(46080, 40050)
  743. }
  744. *Option: 47104KB
  745. {
  746. *Name: "46MB"
  747. *MemoryConfigKB: PAIR(47104, 40950)
  748. }
  749. *Option: 48128KB
  750. {
  751. *Name: "47MB"
  752. *MemoryConfigKB: PAIR(48128, 41850)
  753. }
  754. *Option: 49152KB
  755. {
  756. *Name: "48MB"
  757. *MemoryConfigKB: PAIR(49152, 42750)
  758. }
  759. *Option: 50176KB
  760. {
  761. *Name: "49MB"
  762. *MemoryConfigKB: PAIR(50176, 43650)
  763. }
  764. *Option: 51200KB
  765. {
  766. *Name: "50MB"
  767. *MemoryConfigKB: PAIR(51200, 44550)
  768. }
  769. }
  770. *switch: GraphicsMode
  771. {
  772. *case: RASTERMODE
  773. {
  774. *switch: Memory
  775. {
  776. *case: 2048KB
  777. {
  778. *Command: CmdStartDoc
  779. {
  780. *Order: DOC_SETUP.7
  781. *Cmd: "<1B>&u600D<1B>*r3F"
  782. }
  783. *RotateRaster?: FALSE
  784. }
  785. *default:
  786. {
  787. *Command: CmdStartDoc
  788. {
  789. *Order: DOC_SETUP.7
  790. *Cmd: "<1B>&u600D<1B>*r0F"
  791. }
  792. *RotateRaster?: TRUE
  793. }
  794. }
  795. }
  796. *case: HPGL2MODE
  797. {
  798. *Command: CmdStartDoc
  799. {
  800. *Order: DOC_SETUP.7
  801. *Cmd: "<1B>&u600D<1B>*r0F"
  802. }
  803. *RotateRaster?: TRUE
  804. }
  805. }
  806. *Command: CmdStartPage
  807. {
  808. *Order: PAGE_SETUP.1
  809. *Cmd: "<1B>*b0M<0D>"
  810. }
  811. *Command: CmdStartJob
  812. {
  813. *Order: JOB_SETUP.1
  814. *Cmd: "<1B>%%-12345X"
  815. + "@PJL COMMENT Samsung ML-5300A PCL5e<0A>"
  816. }
  817. *Command: CmdEndJob
  818. {
  819. *Order: JOB_FINISH.1
  820. *Cmd: "<1B>E<1B>%%-12345X"
  821. }
  822. *Command: CmdCopies
  823. {
  824. *Order: DOC_SETUP.13
  825. *Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
  826. }
  827. *RotateCoordinate?: TRUE
  828. *RotateFont?: TRUE
  829. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  830. *MemoryUsage: LIST(FONT)
  831. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  832. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  833. *XMoveThreshold: 0
  834. *YMoveThreshold: 0
  835. *XMoveUnit: 600
  836. *YMoveUnit: 600
  837. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  838. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  839. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  840. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  841. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  842. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  843. *Command: CmdCR { *Cmd : "<0D>" }
  844. *Command: CmdLF { *Cmd : "<0A>" }
  845. *Command: CmdFF { *Cmd : "<0C>" }
  846. *Command: CmdBackSpace { *Cmd : "<08>" }
  847. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  848. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  849. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  850. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  851. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  852. *EjectPageWithFF?: TRUE
  853. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  854. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  855. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  856. *OutputDataFormat: H_BYTE
  857. *OptimizeLeftBound?: TRUE
  858. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  859. *CursorYAfterSendBlockData: AUTO_INCREMENT
  860. *DefaultFont: 136
  861. *DefaultCTT: 0
  862. *CharPosition: BASELINE
  863. *TTFSEnabled?: TRUE
  864. *DeviceFonts: LIST(136,138,146,147,148,149,150,151,152,153,154,155,156,157,164,165,
  865. + 166,196,197,198,199,200,201,202,203,209,210,211,212,213,214,215,
  866. + 216,217,218,219,220,221,222,223,224,225,226,227,228,229,230)
  867. *FontCartridge: FC1
  868. {
  869. *rcCartridgeNameID: 322
  870. *Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
  871. }
  872. *FontCartridge: FC2
  873. {
  874. *rcCartridgeNameID: 323
  875. *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  876. + 75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  877. + 91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  878. }
  879. *FontCartridge: FC3
  880. {
  881. *rcCartridgeNameID: 324
  882. *Fonts: LIST(31,32,33,34,35,36)
  883. }
  884. *FontCartridge: FC4
  885. {
  886. *rcCartridgeNameID: 325
  887. *Fonts: LIST(37,38,39,40,41,42,43)
  888. }
  889. *FontCartridge: FC5
  890. {
  891. *rcCartridgeNameID: 326
  892. *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  893. }
  894. *FontCartridge: FC6
  895. {
  896. *rcCartridgeNameID: 327
  897. *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  898. + 144,145)
  899. }
  900. *FontCartridge: FC7
  901. {
  902. *rcCartridgeNameID: 328
  903. *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,61,63,64)
  904. }
  905. *FontCartridge: FC8
  906. {
  907. *rcCartridgeNameID: 329
  908. *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  909. }
  910. *FontCartridge: FC9
  911. {
  912. *rcCartridgeNameID: 330
  913. *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  914. }
  915. *FontCartridge: FC10
  916. {
  917. *rcCartridgeNameID: 331
  918. *Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
  919. + 247,248)
  920. }
  921. *FontCartridge: FC11
  922. {
  923. *rcCartridgeNameID: 332
  924. *Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  925. + 170,171,172,173,174,175,176,177,178,179,180,181,182)
  926. }
  927. *FontCartridge: FC12
  928. {
  929. *rcCartridgeNameID: 333
  930. *Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
  931. + 199,200,201,202,203,204,205,206,207,208)
  932. }
  933. *MinFontID: 16534
  934. *MaxFontID: 32768
  935. *switch: Resolution
  936. {
  937. *case: Option1
  938. {
  939. *FontFormat: HPPCL_OUTLINE
  940. }
  941. *case: Option2
  942. {
  943. *FontFormat: HPPCL_RES
  944. }
  945. }
  946. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  947. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  948. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  949. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  950. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  951. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  952. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  953. *MinGrayFill: 1
  954. *MaxGrayFill: 100
  955. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  956. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  957. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  958. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  959. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  960. *Ifdef: WINNT_51
  961. *Personality: =PERSONALITY_HPGL2
  962. *%********************************************************************
  963. *% Graphics Mode: Custom Feature
  964. *%********************************************************************
  965. *Feature: GraphicsMode
  966. {
  967. *rcNameID: =GRAPHICSMODE_DISPLAY
  968. *DefaultOption: HPGL2MODE
  969. *Option: HPGL2MODE
  970. {
  971. *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  972. }
  973. *Option: RASTERMODE
  974. {
  975. *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  976. }
  977. }
  978. *Endif: