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.

1246 lines
33 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "sml704ag.gpd"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *Include: "ttfsub.gpd"
  10. *ModelName: "Samsung ML-7040AG PCL5e"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "pcl5eres.dll"
  13. *PrintRate: 17
  14. *PrintRatePPM: 17
  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. *%Following Papersizes cannot be duplexed
  592. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_10)
  593. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_DL)
  594. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_C5)
  595. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_MONARCH)
  596. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_B5)
  597. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  598. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  599. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  600. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  601. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_B5)
  602. *%UPPER Paper Tray Constraints
  603. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  604. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_DL)
  605. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_C5)
  606. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_MONARCH)
  607. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_B5)
  608. *%LOWER Paper Tray Constraints
  609. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  610. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_DL)
  611. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_C5)
  612. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_MONARCH)
  613. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_B5)
  614. *%UPPER Paper Tray Constraints
  615. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  616. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_DL)
  617. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_C5)
  618. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_MONARCH)
  619. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_B5)
  620. *%LOWER Paper Tray Constraints
  621. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  622. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_DL)
  623. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_C5)
  624. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_MONARCH)
  625. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_B5)
  626. *Feature: LOWER
  627. {
  628. *rcNameID: =LOWER_TRAY_DISPLAY
  629. *FeatureType: PRINTER_PROPERTY
  630. *DefaultOption: FALSE
  631. *Option: FALSE
  632. {
  633. *rcNameID: 444
  634. *Constraints: LIST(InputBin.LOWER)
  635. }
  636. *Option: TRUE
  637. {
  638. *rcNameID: 443
  639. }
  640. }
  641. *Feature: Duplex
  642. {
  643. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  644. *DefaultOption: NONE
  645. *Option: NONE
  646. {
  647. *rcNameID: =NONE_DISPLAY
  648. *Command: CmdSelect
  649. {
  650. *Order: DOC_SETUP.12
  651. *Cmd: "<1B>&l0S"
  652. }
  653. }
  654. *Option: VERTICAL
  655. {
  656. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  657. *Command: CmdSelect
  658. {
  659. *Order: DOC_SETUP.12
  660. *Cmd: "<1B>&l1S"
  661. }
  662. }
  663. *Option: HORIZONTAL
  664. {
  665. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  666. *Command: CmdSelect
  667. {
  668. *Order: DOC_SETUP.12
  669. *Cmd: "<1B>&l2S"
  670. }
  671. }
  672. }
  673. *Feature: Economode
  674. {
  675. *rcNameID: 377
  676. *DefaultOption: Option1
  677. *Option: Option1
  678. {
  679. *rcNameID: 265
  680. }
  681. *Option: Option2
  682. {
  683. *rcNameID: 266
  684. *Command: CmdSelect
  685. {
  686. *Order: JOB_SETUP.5
  687. *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  688. }
  689. }
  690. *Option: Option3
  691. {
  692. *rcNameID: 267
  693. *Command: CmdSelect
  694. {
  695. *Order: JOB_SETUP.5
  696. *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  697. }
  698. }
  699. }
  700. *Feature: RET
  701. {
  702. *rcNameID: 378
  703. *DefaultOption: Option1
  704. *Option: Option1
  705. {
  706. *rcNameID: 293
  707. }
  708. *Option: Option2
  709. {
  710. *rcNameID: 297
  711. *Command: CmdSelect
  712. {
  713. *Order: JOB_SETUP.4
  714. *Cmd: "@PJL SET RET=LIGHT<0A>"
  715. }
  716. }
  717. *Option: Option3
  718. {
  719. *rcNameID: 298
  720. *Command: CmdSelect
  721. {
  722. *Order: JOB_SETUP.4
  723. *Cmd: "@PJL SET RET=MEDIUM<0A>"
  724. }
  725. }
  726. *Option: Option4
  727. {
  728. *rcNameID: 299
  729. *Command: CmdSelect
  730. {
  731. *Order: JOB_SETUP.4
  732. *Cmd: "@PJL SET RET=DARK<0A>"
  733. }
  734. }
  735. *Option: Option5
  736. {
  737. *rcNameID: 300
  738. *Command: CmdSelect
  739. {
  740. *Order: JOB_SETUP.4
  741. *Cmd: "@PJL SET RET=OFF<0A>"
  742. }
  743. }
  744. }
  745. *Feature: Halftone
  746. {
  747. *rcNameID: =HALFTONING_DISPLAY
  748. *DefaultOption: HT_PATSIZE_AUTO
  749. *Option: HT_PATSIZE_AUTO
  750. {
  751. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  752. }
  753. *Option: HT_PATSIZE_6x6_M
  754. {
  755. *rcNameID: =HT_DITHER6X6_DISPLAY
  756. }
  757. *Option: HT_PATSIZE_8x8_M
  758. {
  759. *rcNameID: =HT_DITHER8X8_DISPLAY
  760. }
  761. }
  762. *Feature: Memory
  763. {
  764. *rcNameID: =PRINTER_MEMORY_DISPLAY
  765. *DefaultOption: 2048KB
  766. *Option: 2048KB
  767. {
  768. *Name: "2MB"
  769. *MemoryConfigKB: PAIR(2048, 1350)
  770. }
  771. *Option: 3072KB
  772. {
  773. *Name: "3MB"
  774. *MemoryConfigKB: PAIR(3072, 2250)
  775. }
  776. *Option: 4096KB
  777. {
  778. *Name: "4MB"
  779. *MemoryConfigKB: PAIR(4096, 3150)
  780. }
  781. *Option: 5120KB
  782. {
  783. *Name: "5MB"
  784. *MemoryConfigKB: PAIR(5120, 4050)
  785. }
  786. *Option: 6144KB
  787. {
  788. *Name: "6MB"
  789. *MemoryConfigKB: PAIR(6144, 4950)
  790. }
  791. *Option: 7168KB
  792. {
  793. *Name: "7MB"
  794. *MemoryConfigKB: PAIR(7168, 5850)
  795. }
  796. *Option: 8192KB
  797. {
  798. *Name: "8MB"
  799. *MemoryConfigKB: PAIR(8192, 6750)
  800. }
  801. *Option: 9216KB
  802. {
  803. *Name: "9MB"
  804. *MemoryConfigKB: PAIR(9216, 7650)
  805. }
  806. *Option: 10240KB
  807. {
  808. *Name: "10MB"
  809. *MemoryConfigKB: PAIR(10240, 8550)
  810. }
  811. *Option: 11264KB
  812. {
  813. *Name: "11MB"
  814. *MemoryConfigKB: PAIR(11264, 9450)
  815. }
  816. *Option: 12288KB
  817. {
  818. *Name: "12MB"
  819. *MemoryConfigKB: PAIR(12288, 10350)
  820. }
  821. *Option: 13312KB
  822. {
  823. *Name: "13MB"
  824. *MemoryConfigKB: PAIR(13312, 11250)
  825. }
  826. *Option: 14336KB
  827. {
  828. *Name: "14MB"
  829. *MemoryConfigKB: PAIR(14336, 12150)
  830. }
  831. *Option: 15360KB
  832. {
  833. *Name: "15MB"
  834. *MemoryConfigKB: PAIR(15360, 13050)
  835. }
  836. *Option: 16384KB
  837. {
  838. *Name: "16MB"
  839. *MemoryConfigKB: PAIR(16384, 13950)
  840. }
  841. *Option: 17408KB
  842. {
  843. *Name: "17MB"
  844. *MemoryConfigKB: PAIR(17408, 14850)
  845. }
  846. *Option: 18432KB
  847. {
  848. *Name: "18MB"
  849. *MemoryConfigKB: PAIR(18432, 15750)
  850. }
  851. *Option: 19456KB
  852. {
  853. *Name: "19MB"
  854. *MemoryConfigKB: PAIR(19456, 16650)
  855. }
  856. *Option: 20480KB
  857. {
  858. *Name: "20MB"
  859. *MemoryConfigKB: PAIR(20480, 17550)
  860. }
  861. *Option: 21504KB
  862. {
  863. *Name: "21MB"
  864. *MemoryConfigKB: PAIR(21504, 18450)
  865. }
  866. *Option: 22528KB
  867. {
  868. *Name: "22MB"
  869. *MemoryConfigKB: PAIR(22528, 19350)
  870. }
  871. *Option: 23552KB
  872. {
  873. *Name: "23MB"
  874. *MemoryConfigKB: PAIR(23552, 20250)
  875. }
  876. *Option: 24576KB
  877. {
  878. *Name: "24MB"
  879. *MemoryConfigKB: PAIR(24576, 21150)
  880. }
  881. *Option: 25600KB
  882. {
  883. *Name: "25MB"
  884. *MemoryConfigKB: PAIR(25600, 22050)
  885. }
  886. *Option: 26624KB
  887. {
  888. *Name: "26MB"
  889. *MemoryConfigKB: PAIR(26624, 22950)
  890. }
  891. *Option: 27648KB
  892. {
  893. *Name: "27MB"
  894. *MemoryConfigKB: PAIR(27648, 23850)
  895. }
  896. *Option: 28672KB
  897. {
  898. *Name: "28MB"
  899. *MemoryConfigKB: PAIR(28672, 24750)
  900. }
  901. *Option: 29696KB
  902. {
  903. *Name: "29MB"
  904. *MemoryConfigKB: PAIR(29696, 25650)
  905. }
  906. *Option: 30720KB
  907. {
  908. *Name: "30MB"
  909. *MemoryConfigKB: PAIR(30720, 26550)
  910. }
  911. *Option: 31744KB
  912. {
  913. *Name: "31MB"
  914. *MemoryConfigKB: PAIR(31744, 27450)
  915. }
  916. *Option: 32768KB
  917. {
  918. *Name: "32MB"
  919. *MemoryConfigKB: PAIR(32768, 28350)
  920. }
  921. *Option: 33792KB
  922. {
  923. *Name: "33MB"
  924. *MemoryConfigKB: PAIR(33792, 29250)
  925. }
  926. *Option: 34816KB
  927. {
  928. *Name: "34MB"
  929. *MemoryConfigKB: PAIR(34816, 30420)
  930. }
  931. *Option: 35840KB
  932. {
  933. *Name: "35MB"
  934. *MemoryConfigKB: PAIR(35840, 31050)
  935. }
  936. *Option: 36864KB
  937. {
  938. *Name: "36MB"
  939. *MemoryConfigKB: PAIR(36864, 31950)
  940. }
  941. *Option: 37888KB
  942. {
  943. *Name: "37MB"
  944. *MemoryConfigKB: PAIR(37888, 32850)
  945. }
  946. *Option: 38912KB
  947. {
  948. *Name: "38MB"
  949. *MemoryConfigKB: PAIR(38912, 33750)
  950. }
  951. *Option: 39936KB
  952. {
  953. *Name: "39MB"
  954. *MemoryConfigKB: PAIR(39936, 34650)
  955. }
  956. *Option: 40960KB
  957. {
  958. *Name: "40MB"
  959. *MemoryConfigKB: PAIR(40960, 35550)
  960. }
  961. *Option: 41984KB
  962. {
  963. *Name: "41MB"
  964. *MemoryConfigKB: PAIR(41984, 36450)
  965. }
  966. *Option: 43008KB
  967. {
  968. *Name: "42MB"
  969. *MemoryConfigKB: PAIR(43008, 37350)
  970. }
  971. *Option: 44032KB
  972. {
  973. *Name: "43MB"
  974. *MemoryConfigKB: PAIR(44032, 38250)
  975. }
  976. *Option: 45056KB
  977. {
  978. *Name: "44MB"
  979. *MemoryConfigKB: PAIR(45056, 39150)
  980. }
  981. *Option: 46080KB
  982. {
  983. *Name: "45MB"
  984. *MemoryConfigKB: PAIR(46080, 40050)
  985. }
  986. *Option: 47104KB
  987. {
  988. *Name: "46MB"
  989. *MemoryConfigKB: PAIR(47104, 40950)
  990. }
  991. *Option: 48128KB
  992. {
  993. *Name: "47MB"
  994. *MemoryConfigKB: PAIR(48128, 41850)
  995. }
  996. *Option: 49152KB
  997. {
  998. *Name: "48MB"
  999. *MemoryConfigKB: PAIR(49152, 42750)
  1000. }
  1001. *Option: 50176KB
  1002. {
  1003. *Name: "49MB"
  1004. *MemoryConfigKB: PAIR(50176, 43650)
  1005. }
  1006. *Option: 51200KB
  1007. {
  1008. *Name: "50MB"
  1009. *MemoryConfigKB: PAIR(51200, 44550)
  1010. }
  1011. }
  1012. *switch: GraphicsMode
  1013. {
  1014. *case: RASTERMODE
  1015. {
  1016. *switch: Memory
  1017. {
  1018. *case: 2048KB
  1019. {
  1020. *Command: CmdStartDoc
  1021. {
  1022. *Order: DOC_SETUP.7
  1023. *Cmd: "<1B>&u600D<1B>*r3F"
  1024. }
  1025. *RotateRaster?: FALSE
  1026. }
  1027. *default:
  1028. {
  1029. *Command: CmdStartDoc
  1030. {
  1031. *Order: DOC_SETUP.7
  1032. *Cmd: "<1B>&u600D<1B>*r0F"
  1033. }
  1034. *RotateRaster?: TRUE
  1035. }
  1036. }
  1037. }
  1038. *case: HPGL2MODE
  1039. {
  1040. *Command: CmdStartDoc
  1041. {
  1042. *Order: DOC_SETUP.7
  1043. *Cmd: "<1B>&u600D<1B>*r0F"
  1044. }
  1045. *RotateRaster?: TRUE
  1046. }
  1047. }
  1048. *Command: CmdStartPage
  1049. {
  1050. *Order: PAGE_SETUP.1
  1051. *Cmd: "<1B>*b0M<0D>"
  1052. }
  1053. *Command: CmdStartJob
  1054. {
  1055. *Order: JOB_SETUP.1
  1056. *Cmd: "<1B>%%-12345X"
  1057. + "@PJL COMMENT Samsung ML-5300A PCL5e<0A>"
  1058. }
  1059. *Command: CmdEndJob
  1060. {
  1061. *Order: JOB_FINISH.1
  1062. *Cmd: "<1B>E<1B>%%-12345X"
  1063. }
  1064. *Command: CmdCopies
  1065. {
  1066. *Order: DOC_SETUP.13
  1067. *Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
  1068. }
  1069. *RotateCoordinate?: TRUE
  1070. *RotateFont?: TRUE
  1071. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1072. *MemoryUsage: LIST(FONT)
  1073. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1074. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1075. *XMoveThreshold: 0
  1076. *YMoveThreshold: 0
  1077. *XMoveUnit: 600
  1078. *YMoveUnit: 600
  1079. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1080. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1081. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1082. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1083. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1084. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1085. *Command: CmdCR { *Cmd : "<0D>" }
  1086. *Command: CmdLF { *Cmd : "<0A>" }
  1087. *Command: CmdFF { *Cmd : "<0C>" }
  1088. *Command: CmdBackSpace { *Cmd : "<08>" }
  1089. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1090. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1091. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1092. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1093. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1094. *EjectPageWithFF?: TRUE
  1095. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1096. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1097. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1098. *OutputDataFormat: H_BYTE
  1099. *OptimizeLeftBound?: TRUE
  1100. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1101. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1102. *DefaultFont: 136
  1103. *DefaultCTT: 0
  1104. *CharPosition: BASELINE
  1105. *TTFSEnabled?: TRUE
  1106. *DeviceFonts: LIST(136,138,146,147,148,149,150,151,152,153,154,155,156,157,164,165,
  1107. + 166,196,197,198,199,200,201,202,203,209,210,211,212,213,214,215,
  1108. + 216,217,218,219,220,221,222,223,224,225,226,227,228,229,230)
  1109. *FontCartridge: FC1
  1110. {
  1111. *rcCartridgeNameID: 322
  1112. *Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
  1113. }
  1114. *FontCartridge: FC2
  1115. {
  1116. *rcCartridgeNameID: 323
  1117. *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  1118. + 75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  1119. + 91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  1120. }
  1121. *FontCartridge: FC3
  1122. {
  1123. *rcCartridgeNameID: 324
  1124. *Fonts: LIST(31,32,33,34,35,36)
  1125. }
  1126. *FontCartridge: FC4
  1127. {
  1128. *rcCartridgeNameID: 325
  1129. *Fonts: LIST(37,38,39,40,41,42,43)
  1130. }
  1131. *FontCartridge: FC5
  1132. {
  1133. *rcCartridgeNameID: 326
  1134. *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  1135. }
  1136. *FontCartridge: FC6
  1137. {
  1138. *rcCartridgeNameID: 327
  1139. *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  1140. + 144,145)
  1141. }
  1142. *FontCartridge: FC7
  1143. {
  1144. *rcCartridgeNameID: 328
  1145. *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,61,63,64)
  1146. }
  1147. *FontCartridge: FC8
  1148. {
  1149. *rcCartridgeNameID: 329
  1150. *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  1151. }
  1152. *FontCartridge: FC9
  1153. {
  1154. *rcCartridgeNameID: 330
  1155. *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  1156. }
  1157. *FontCartridge: FC10
  1158. {
  1159. *rcCartridgeNameID: 331
  1160. *Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
  1161. + 247,248)
  1162. }
  1163. *FontCartridge: FC11
  1164. {
  1165. *rcCartridgeNameID: 332
  1166. *Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  1167. + 170,171,172,173,174,175,176,177,178,179,180,181,182)
  1168. }
  1169. *FontCartridge: FC12
  1170. {
  1171. *rcCartridgeNameID: 333
  1172. *Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
  1173. + 199,200,201,202,203,204,205,206,207,208)
  1174. }
  1175. *MinFontID: 16534
  1176. *MaxFontID: 32768
  1177. *switch: Resolution
  1178. {
  1179. *case: Option1
  1180. {
  1181. *FontFormat: HPPCL_OUTLINE
  1182. }
  1183. *case: Option2
  1184. {
  1185. *FontFormat: HPPCL_RES
  1186. }
  1187. }
  1188. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1189. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1190. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1191. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1192. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1193. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1194. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1195. *MinGrayFill: 1
  1196. *MaxGrayFill: 100
  1197. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1198. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1199. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1200. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1201. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1202. *Ifdef: WINNT_51
  1203. *Personality: =PERSONALITY_HPGL2
  1204. *%********************************************************************
  1205. *% Graphics Mode: Custom Feature
  1206. *%********************************************************************
  1207. *Feature: GraphicsMode
  1208. {
  1209. *rcNameID: =GRAPHICSMODE_DISPLAY
  1210. *DefaultOption: HPGL2MODE
  1211. *Option: HPGL2MODE
  1212. {
  1213. *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  1214. }
  1215. *Option: RASTERMODE
  1216. {
  1217. *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  1218. }
  1219. }
  1220. *Endif: