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.

995 lines
26 KiB

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