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.

1184 lines
32 KiB

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