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.

1144 lines
30 KiB

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