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.

1176 lines
31 KiB

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