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.

1349 lines
33 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC MultiWriter 2050"
  4. *MasterUnits: PAIR(1200, 1200)
  5. *ResourceDLL: "NCDLJRES.dll"
  6. *PrinterType: PAGE
  7. *MaxCopies: 99
  8. *rcInstalledOptionNameID: 800
  9. *rcNotInstalledOptionNameID: 801
  10. *PrintRateUnit: PPM
  11. *PrintRate: 12
  12. *GPDFileName: "NCDL25J.GPD"
  13. *Include: "STDNAMES.GPD"
  14. *GPDFileVersion: "1.000"
  15. *HelpFile: "NCDLJRES.HLP"
  16. *%======== Macros ========
  17. *Macros: DeviceFontIDs
  18. {
  19. RC_FONT_COURIER : 1
  20. RC_FONT_SANSERIF : 2
  21. RC_FONT_ROMAN : 3
  22. RC_FONT_MINCHO : 4
  23. RC_FONT_MINCHOV : 5
  24. RC_FONT_GOTHIC : 6
  25. RC_FONT_GOTHICV : 7
  26. RC_FONT_COURIER_P : 8
  27. RC_FONT_SANSERIF_P : 9
  28. RC_FONT_ROMAN_P : 10
  29. RC_FONT_MINCHO_P : 11
  30. RC_FONT_MINCHOV_P : 12
  31. RC_FONT_GOTHIC_P : 13
  32. RC_FONT_GOTHICV_P : 14
  33. RC_FONT_OCRB_P : 15
  34. RC_FONT_ZUIHITSU_P : 16
  35. RC_FONT_ZUIHITSUV_P : 17
  36. RC_FONT_KYOUKASYO_P : 18
  37. RC_FONT_KYOUKASYOV_P : 19
  38. RC_FONT_MARUGOTH_P : 20
  39. RC_FONT_MARUGOTHV_P : 21
  40. }
  41. *Macros: TTFSStrIDs
  42. {
  43. RC_STR_MINCHO : 900
  44. RC_STR_GOTHIC : 901
  45. RC_STR_MSMINCHO : 910
  46. RC_STR_MSGOTHIC : 911
  47. }
  48. *Macros: OEMCallbackIDs
  49. {
  50. CMD_MOVE_X : 23
  51. CMD_MOVE_Y : 24
  52. CMD_BEGIN_RASTER : 26
  53. CMD_RES_600 : 27
  54. CMD_RES_400 : 28
  55. CMD_RES_240 : 29
  56. CMD_SEND_BLOCK_DATA : 30
  57. CMD_BEGIN_RASTER_NO_COMP : 31
  58. CMD_INIT_COORDINATE : 32
  59. CMD_PC_PRN_DIRECTION : 50
  60. CMD_CR : 51
  61. CMD_FF : 52
  62. CMD_RECTWIDTH : 60
  63. CMD_RECTHEIGHT : 61
  64. CMD_RECTWHITE : 62
  65. CMD_RECTBLACK : 63
  66. CMD_RECTGRAY : 64
  67. CMD_WHITE_ON : 80
  68. CMD_WHITE_OFF : 81
  69. CMD_BOLD_ON : 82
  70. CMD_ITALIC_ON : 83
  71. CMD_CLEAR_ATTRIB : 84
  72. CMD_CLEAR_ATTRIB_P : 85
  73. }
  74. *Macros: PopupHelpIDs
  75. {
  76. POP_DL_MARGIN : 602
  77. POP_DL_JOBSEPARATE : 603
  78. POP_DL_SET : 604
  79. POP_DL_TONAR : 605
  80. POP_DL_DENSITY : 606
  81. POP_DL_SORTER : 607
  82. POP_DL_OUTBIN : 608
  83. POP_DL_FACE : 609
  84. POP_DL_KANJICODE : 610
  85. POP_DL_TEXTHALFTONE : 611
  86. POP_DL_TEXTHALFTONE_S : 612
  87. POP_DL_TEXTHALFTONE_S2 : 613
  88. }
  89. *%======== Orientation ========
  90. *Feature: Orientation
  91. {
  92. *rcNameID: =ORIENTATION_DISPLAY
  93. *DefaultOption: PORTRAIT
  94. *Option: PORTRAIT
  95. {
  96. *rcNameID: =PORTRAIT_DISPLAY
  97. }
  98. *Option: LANDSCAPE_CC270
  99. {
  100. *rcNameID: =LANDSCAPE_DISPLAY
  101. }
  102. }
  103. *%======== InputBin ========
  104. *Feature: InputBin
  105. {
  106. *rcNameID: =PAPER_SOURCE_DISPLAY
  107. *DefaultOption: Auto
  108. *Option: Auto
  109. {
  110. *rcNameID: 272
  111. *switch: Orientation
  112. {
  113. *case: PORTRAIT
  114. {
  115. *switch: JobSeparate
  116. {
  117. *case: OFF
  118. {
  119. *Command: CmdSelect
  120. {
  121. *Order: DOC_SETUP.3
  122. *NoPageEject?: TRUE
  123. *Cmd: "<1C>fPC1.<1C>fP"
  124. }
  125. }
  126. *case: ON
  127. {
  128. *Command: CmdSelect
  129. {
  130. *Order: DOC_SETUP.3
  131. *NoPageEject?: TRUE
  132. *Cmd: "<1C>fP"
  133. }
  134. }
  135. }
  136. }
  137. *case: LANDSCAPE_CC270
  138. {
  139. *switch: JobSeparate
  140. {
  141. *case: OFF
  142. {
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.3
  146. *NoPageEject?: TRUE
  147. *Cmd: "<1C>fLC1.<1C>fL"
  148. }
  149. }
  150. *case: ON
  151. {
  152. *Command: CmdSelect
  153. {
  154. *Order: DOC_SETUP.3
  155. *NoPageEject?: TRUE
  156. *Cmd: "<1C>fL"
  157. }
  158. }
  159. }
  160. }
  161. }
  162. }
  163. *Option: Tray
  164. {
  165. *rcNameID: 860
  166. *switch: Orientation
  167. {
  168. *case: PORTRAIT
  169. {
  170. *Command: CmdSelect
  171. {
  172. *Order: DOC_SETUP.3
  173. *NoPageEject?: TRUE
  174. *Cmd: "<1C>fPM0"
  175. }
  176. }
  177. *case: LANDSCAPE_CC270
  178. {
  179. *Command: CmdSelect
  180. {
  181. *Order: DOC_SETUP.3
  182. *NoPageEject?: TRUE
  183. *Cmd: "<1C>fLM0"
  184. }
  185. }
  186. }
  187. }
  188. *Option: Hopper1
  189. {
  190. *rcNameID: 273
  191. *switch: Orientation
  192. {
  193. *case: PORTRAIT
  194. {
  195. *Command: CmdSelect
  196. {
  197. *Order: DOC_SETUP.3
  198. *NoPageEject?: TRUE
  199. *Cmd: "<1C>fPC1"
  200. }
  201. }
  202. *case: LANDSCAPE_CC270
  203. {
  204. *Command: CmdSelect
  205. {
  206. *Order: DOC_SETUP.3
  207. *NoPageEject?: TRUE
  208. *Cmd: "<1C>fLC1"
  209. }
  210. }
  211. }
  212. }
  213. *Option: Hopper2
  214. {
  215. *rcNameID: 274
  216. *Installable?: TRUE
  217. *rcInstallableFeatureNameID: 274
  218. *switch: Orientation
  219. {
  220. *case: PORTRAIT
  221. {
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.3
  225. *NoPageEject?: TRUE
  226. *Cmd: "<1C>fPC2"
  227. }
  228. }
  229. *case: LANDSCAPE_CC270
  230. {
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.3
  234. *NoPageEject?: TRUE
  235. *Cmd: "<1C>fLC2"
  236. }
  237. }
  238. }
  239. }
  240. *Option: Hopper3
  241. {
  242. *rcNameID: 275
  243. *Installable?: TRUE
  244. *rcInstallableFeatureNameID: 275
  245. *switch: Orientation
  246. {
  247. *case: PORTRAIT
  248. {
  249. *Command: CmdSelect
  250. {
  251. *Order: DOC_SETUP.3
  252. *NoPageEject?: TRUE
  253. *Cmd: "<1C>fPC3"
  254. }
  255. }
  256. *case: LANDSCAPE_CC270
  257. {
  258. *Command: CmdSelect
  259. {
  260. *Order: DOC_SETUP.3
  261. *NoPageEject?: TRUE
  262. *Cmd: "<1C>fLC3"
  263. }
  264. }
  265. }
  266. }
  267. }
  268. *%======== Resolution ========
  269. *Feature: Resolution
  270. {
  271. *rcNameID: =RESOLUTION_DISPLAY
  272. *DefaultOption: 600dpi
  273. *Option: 600dpi
  274. {
  275. *rcNameID: 890
  276. *DPI: PAIR(600, 600)
  277. *TextDPI: PAIR(600, 600)
  278. *MinStripBlankPixels: 32
  279. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  280. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  281. *SpotDiameter: 100
  282. *Command: CmdSelect
  283. {
  284. *Order: DOC_SETUP.5
  285. *NoPageEject?: TRUE
  286. *CallbackID: =CMD_RES_600
  287. }
  288. }
  289. *Option: 400dpi
  290. {
  291. *rcNameID: 891
  292. *DPI: PAIR(400, 400)
  293. *TextDPI: PAIR(400, 400)
  294. *MinStripBlankPixels: 32
  295. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  296. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  297. *SpotDiameter: 100
  298. *Command: CmdSelect
  299. {
  300. *Order: DOC_SETUP.5
  301. *NoPageEject?: TRUE
  302. *CallbackID: =CMD_RES_400
  303. }
  304. }
  305. }
  306. *%======== PaperSize ========
  307. *Feature: PaperSize
  308. {
  309. *rcNameID: =PAPER_SIZE_DISPLAY
  310. *DefaultOption: A4
  311. *Option: A3
  312. {
  313. *rcNameID: =A3_DISPLAY
  314. *PrintableArea: PAIR(13548, 19356)
  315. *PrintableOrigin: PAIR(238, 238)
  316. *Command: CmdSelect
  317. {
  318. *Order: DOC_SETUP.4
  319. *NoPageEject?: TRUE
  320. *Cmd: "A3."
  321. }
  322. }
  323. *Option: A4
  324. {
  325. *rcNameID: =A4_DISPLAY
  326. *PrintableArea: PAIR(9432, 13548)
  327. *PrintableOrigin: PAIR(238, 238)
  328. *Command: CmdSelect
  329. {
  330. *Order: DOC_SETUP.4
  331. *NoPageEject?: TRUE
  332. *Cmd: "A4."
  333. }
  334. }
  335. *Option: A5
  336. {
  337. *rcNameID: =A5_DISPLAY
  338. *PrintableArea: PAIR(6504, 9432)
  339. *PrintableOrigin: PAIR(238, 238)
  340. *Command: CmdSelect
  341. {
  342. *Order: DOC_SETUP.4
  343. *NoPageEject?: TRUE
  344. *Cmd: "A5."
  345. }
  346. }
  347. *Option: B4
  348. {
  349. *rcNameID: =B4_DISPLAY
  350. *PrintableArea: PAIR(11664, 16716)
  351. *PrintableOrigin: PAIR(238, 238)
  352. *Command: CmdSelect
  353. {
  354. *Order: DOC_SETUP.4
  355. *NoPageEject?: TRUE
  356. *Cmd: "B4."
  357. }
  358. }
  359. *Option: B5
  360. {
  361. *rcNameID: =B5_DISPLAY
  362. *PrintableArea: PAIR(8112, 11664)
  363. *PrintableOrigin: PAIR(238, 238)
  364. *Command: CmdSelect
  365. {
  366. *Order: DOC_SETUP.4
  367. *NoPageEject?: TRUE
  368. *Cmd: "B5."
  369. }
  370. }
  371. *Option: LETTER
  372. {
  373. *rcNameID: =LETTER_DISPLAY
  374. *PrintableArea: PAIR(9708, 12708)
  375. *PrintableOrigin: PAIR(238, 238)
  376. *Command: CmdSelect
  377. {
  378. *Order: DOC_SETUP.4
  379. *NoPageEject?: TRUE
  380. *Cmd: "LT."
  381. }
  382. }
  383. *Option: JAPANESE_POSTCARD
  384. {
  385. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  386. *PrintableArea: PAIR(4236, 6504)
  387. *PrintableOrigin: PAIR(238, 238)
  388. *Command: CmdSelect
  389. {
  390. *Order: DOC_SETUP.4
  391. *NoPageEject?: TRUE
  392. *Cmd: "PC."
  393. }
  394. }
  395. *Option: DBL_JAPANESE_POSTCARD
  396. {
  397. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  398. *PrintableArea: PAIR(8976, 6504)
  399. *PrintableOrigin: PAIR(238, 238)
  400. *Command: CmdSelect
  401. {
  402. *Order: DOC_SETUP.4
  403. *NoPageEject?: TRUE
  404. *Cmd: "UPPC."
  405. }
  406. }
  407. *Option: JENV_YOU4
  408. {
  409. *rcNameID: =JENV_YOU4_DISPLAY
  410. *PrintableArea: PAIR(4488, 10620)
  411. *PrintableOrigin: PAIR(238, 238)
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.4
  415. *NoPageEject?: TRUE
  416. *Cmd: "ENV4."
  417. }
  418. }
  419. *Option: A3toB4
  420. {
  421. *rcNameID: 258
  422. *PageDimensions: PAIR(14032, 19842)
  423. *PrintableArea: PAIR(13548, 19356)
  424. *PrintableOrigin: PAIR(238, 238)
  425. *Command: CmdSelect
  426. {
  427. *Order: DOC_SETUP.4
  428. *NoPageEject?: TRUE
  429. *Cmd: "A3B4."
  430. }
  431. }
  432. *Option: A3toA4
  433. {
  434. *rcNameID: 259
  435. *PageDimensions: PAIR(14032, 19842)
  436. *PrintableArea: PAIR(13548, 19356)
  437. *PrintableOrigin: PAIR(238, 238)
  438. *Command: CmdSelect
  439. {
  440. *Order: DOC_SETUP.4
  441. *NoPageEject?: TRUE
  442. *Cmd: "A3A4."
  443. }
  444. }
  445. *Option: A4toA3
  446. {
  447. *rcNameID: 260
  448. *PageDimensions: PAIR(9922, 14032)
  449. *PrintableArea: PAIR(9432, 13548)
  450. *PrintableOrigin: PAIR(238, 238)
  451. *Command: CmdSelect
  452. {
  453. *Order: DOC_SETUP.4
  454. *NoPageEject?: TRUE
  455. *Cmd: "A4A3."
  456. }
  457. }
  458. *Option: A4toB4
  459. {
  460. *rcNameID: 261
  461. *PageDimensions: PAIR(9922, 14032)
  462. *PrintableArea: PAIR(9432, 13548)
  463. *PrintableOrigin: PAIR(238, 238)
  464. *Command: CmdSelect
  465. {
  466. *Order: DOC_SETUP.4
  467. *NoPageEject?: TRUE
  468. *Cmd: "A4B4."
  469. }
  470. }
  471. *Option: A4toB5
  472. {
  473. *rcNameID: 262
  474. *PageDimensions: PAIR(9922, 14032)
  475. *PrintableArea: PAIR(9432, 13548)
  476. *PrintableOrigin: PAIR(238, 238)
  477. *Command: CmdSelect
  478. {
  479. *Order: DOC_SETUP.4
  480. *NoPageEject?: TRUE
  481. *Cmd: "A4B5."
  482. }
  483. }
  484. *Option: B4toA3
  485. {
  486. *rcNameID: 263
  487. *PageDimensions: PAIR(12142, 17196)
  488. *PrintableArea: PAIR(11664, 16716)
  489. *PrintableOrigin: PAIR(238, 238)
  490. *Command: CmdSelect
  491. {
  492. *Order: DOC_SETUP.4
  493. *NoPageEject?: TRUE
  494. *Cmd: "B4A3."
  495. }
  496. }
  497. *Option: B4toA4
  498. {
  499. *rcNameID: 264
  500. *PageDimensions: PAIR(12142, 17196)
  501. *PrintableArea: PAIR(11664, 16716)
  502. *PrintableOrigin: PAIR(238, 238)
  503. *Command: CmdSelect
  504. {
  505. *Order: DOC_SETUP.4
  506. *NoPageEject?: TRUE
  507. *Cmd: "B4A4."
  508. }
  509. }
  510. *Option: B4toB5
  511. {
  512. *rcNameID: 265
  513. *PageDimensions: PAIR(12142, 17196)
  514. *PrintableArea: PAIR(11664, 16716)
  515. *PrintableOrigin: PAIR(238, 238)
  516. *Command: CmdSelect
  517. {
  518. *Order: DOC_SETUP.4
  519. *NoPageEject?: TRUE
  520. *Cmd: "B4B5."
  521. }
  522. }
  523. *Option: B5toA4
  524. {
  525. *rcNameID: 266
  526. *PageDimensions: PAIR(8598, 12142)
  527. *PrintableArea: PAIR(8112, 11664)
  528. *PrintableOrigin: PAIR(238, 238)
  529. *Command: CmdSelect
  530. {
  531. *Order: DOC_SETUP.4
  532. *NoPageEject?: TRUE
  533. *Cmd: "B5A4."
  534. }
  535. }
  536. *Option: B5toB4
  537. {
  538. *rcNameID: 267
  539. *PageDimensions: PAIR(8598, 12142)
  540. *PrintableArea: PAIR(8112, 11664)
  541. *PrintableOrigin: PAIR(238, 238)
  542. *Command: CmdSelect
  543. {
  544. *Order: DOC_SETUP.4
  545. *NoPageEject?: TRUE
  546. *Cmd: "B5B4."
  547. }
  548. }
  549. *Option: A4x2toA4
  550. {
  551. *rcNameID: 268
  552. *PageDimensions: PAIR(9922, 14032)
  553. *PrintableArea: PAIR(9432, 13548)
  554. *PrintableOrigin: PAIR(238, 238)
  555. *Command: CmdSelect
  556. {
  557. *Order: DOC_SETUP.4
  558. *NoPageEject?: TRUE
  559. *Cmd: "UPA4."
  560. }
  561. }
  562. *Option: B5x2toB5
  563. {
  564. *rcNameID: 269
  565. *PageDimensions: PAIR(8598, 12142)
  566. *PrintableArea: PAIR(8112, 11664)
  567. *PrintableOrigin: PAIR(238, 238)
  568. *Command: CmdSelect
  569. {
  570. *Order: DOC_SETUP.4
  571. *NoPageEject?: TRUE
  572. *Cmd: "UPB5."
  573. }
  574. }
  575. *Option: LPtoA4
  576. {
  577. *rcNameID: 270
  578. *Constraints: Orientation.PORTRAIT
  579. *PageDimensions: PAIR(13200, 18000)
  580. *PrintableArea: PAIR(13200, 16320)
  581. *PrintableOrigin: PAIR(0, 840)
  582. *Command: CmdSelect
  583. {
  584. *Order: DOC_SETUP.4
  585. *NoPageEject?: TRUE
  586. *Cmd: "LPA4."
  587. }
  588. }
  589. *Option: LPtoB4
  590. {
  591. *rcNameID: 271
  592. *Constraints: Orientation.PORTRAIT
  593. *PageDimensions: PAIR(13200, 18000)
  594. *PrintableArea: PAIR(13200, 16320)
  595. *PrintableOrigin: PAIR(0, 840)
  596. *Command: CmdSelect
  597. {
  598. *Order: DOC_SETUP.4
  599. *NoPageEject?: TRUE
  600. *Cmd: "LPB4."
  601. }
  602. }
  603. *Option: CUSTOMSIZE
  604. {
  605. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  606. *MinSize: PAIR(4724, 6992) *% (100mm, 148mm)
  607. *MaxSize: PAIR(14031, 19842) *% (297mm, 420mm)
  608. *MaxPrintableWidth: 13559 *% paper width - 5mm * 2
  609. *MinLeftMargin: 236 *% 5mm
  610. *CenterPrintable?: FALSE
  611. *CustCursorOriginX: %d{236}
  612. *CustCursorOriginY: %d{236}
  613. *CustPrintableOriginX: %d{236}
  614. *CustPrintableOriginY: %d{236}
  615. *CustPrintableSizeX: %d{PhysPaperWidth - (236+236)}
  616. *CustPrintableSizeY: %d{PhysPaperLength - (236+236)}
  617. *Command: CmdSelect
  618. {
  619. *Order: DOC_SETUP.4
  620. *NoPageEject?: TRUE
  621. *Cmd: "," %d{PhysPaperWidth * 254 / 1200} "," %d{PhysPaperLength * 254 / 1200} ",1/10,m."
  622. }
  623. }
  624. }
  625. *InvalidCombination: LIST(InputBin.Auto, PaperSize.JAPANESE_POSTCARD)
  626. *InvalidCombination: LIST(InputBin.Auto, PaperSize.DBL_JAPANESE_POSTCARD)
  627. *InvalidCombination: LIST(InputBin.Auto, PaperSize.JENV_YOU4)
  628. *InvalidCombination: LIST(InputBin.Auto, PaperSize.CUSTOMSIZE)
  629. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.JAPANESE_POSTCARD)
  630. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.DBL_JAPANESE_POSTCARD)
  631. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.JENV_YOU4)
  632. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.CUSTOMSIZE)
  633. *InvalidCombination: LIST(InputBin.Hopper2, PaperSize.JAPANESE_POSTCARD)
  634. *InvalidCombination: LIST(InputBin.Hopper2, PaperSize.DBL_JAPANESE_POSTCARD)
  635. *InvalidCombination: LIST(InputBin.Hopper2, PaperSize.JENV_YOU4)
  636. *InvalidCombination: LIST(InputBin.Hopper2, PaperSize.CUSTOMSIZE)
  637. *InvalidCombination: LIST(InputBin.Hopper3, PaperSize.JAPANESE_POSTCARD)
  638. *InvalidCombination: LIST(InputBin.Hopper3, PaperSize.DBL_JAPANESE_POSTCARD)
  639. *InvalidCombination: LIST(InputBin.Hopper3, PaperSize.JENV_YOU4)
  640. *InvalidCombination: LIST(InputBin.Hopper3, PaperSize.CUSTOMSIZE)
  641. *%======== Halftone ========
  642. *Feature: Halftone
  643. {
  644. *rcNameID: =HALFTONING_DISPLAY
  645. *DefaultOption: HT_PATSIZE_AUTO
  646. *Option: HT_PATSIZE_AUTO
  647. {
  648. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  649. }
  650. *Option: HT_PATSIZE_SUPERCELL_M
  651. {
  652. *rcNameID: =HT_SUPERCELL_DISPLAY
  653. }
  654. *Option: HT_PATSIZE_6x6_M
  655. {
  656. *rcNameID: =HT_DITHER6X6_DISPLAY
  657. }
  658. *Option: HT_PATSIZE_8x8_M
  659. {
  660. *rcNameID: =HT_DITHER8X8_DISPLAY
  661. }
  662. }
  663. *%======== Duplex ========
  664. *Feature: Duplex
  665. {
  666. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  667. *DefaultOption: NONE
  668. *Installable?: TRUE
  669. *rcInstallableFeatureNameID: 820
  670. *Option: NONE
  671. {
  672. *rcNameID: =NONE_DISPLAY
  673. *Command: CmdSelect
  674. {
  675. *Order: JOB_SETUP.7
  676. *Cmd: "<1C><27>S,,"
  677. }
  678. }
  679. *Option: VERTICAL
  680. {
  681. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  682. *switch: Orientation
  683. {
  684. *case: PORTRAIT
  685. {
  686. *Command: CmdSelect
  687. {
  688. *Order: JOB_SETUP.7
  689. *Cmd: "<1C><27>B,F,1"
  690. }
  691. }
  692. *case: LANDSCAPE_CC270
  693. {
  694. *Command: CmdSelect
  695. {
  696. *Order: JOB_SETUP.7
  697. *Cmd: "<1C><27>B,F,1"
  698. }
  699. }
  700. }
  701. }
  702. *Option: HORIZONTAL
  703. {
  704. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  705. *switch: Orientation
  706. {
  707. *case: LANDSCAPE_CC270
  708. {
  709. *Command: CmdSelect
  710. {
  711. *Order: JOB_SETUP.7
  712. *Cmd: "<1C><27>B,F,4"
  713. }
  714. }
  715. *case: PORTRAIT
  716. {
  717. *Command: CmdSelect
  718. {
  719. *Order: JOB_SETUP.7
  720. *Cmd: "<1C><27>B,F,2"
  721. }
  722. }
  723. }
  724. }
  725. }
  726. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.JAPANESE_POSTCARD)
  727. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.JAPANESE_POSTCARD)
  728. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.DBL_JAPANESE_POSTCARD)
  729. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.DBL_JAPANESE_POSTCARD)
  730. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.JENV_YOU4)
  731. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.JENV_YOU4)
  732. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.CUSTOMSIZE)
  733. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.CUSTOMSIZE)
  734. *%======== Bind Margin ========
  735. *Feature: BindMargin
  736. {
  737. *rcNameID: 826
  738. *DefaultOption: 0
  739. *HelpIndex: 602 *%POP_DL_MARGIN
  740. *Option:0
  741. {
  742. *rcNameID: 827
  743. *Command: CmdSelect
  744. {
  745. *Order: JOB_SETUP.8
  746. *Cmd: ",0."
  747. }
  748. }
  749. *Option: 1
  750. {
  751. *rcNameID: 828
  752. *Command: CmdSelect
  753. {
  754. *Order: JOB_SETUP.8
  755. *Cmd: ",1."
  756. }
  757. }
  758. *Option: 2
  759. {
  760. *rcNameID: 829
  761. *Command: CmdSelect
  762. {
  763. *Order: JOB_SETUP.8
  764. *Cmd: ",2."
  765. }
  766. }
  767. *Option: 3
  768. {
  769. *rcNameID: 830
  770. *Command: CmdSelect
  771. {
  772. *Order: JOB_SETUP.8
  773. *Cmd: ",3."
  774. }
  775. }
  776. *Option: 4
  777. {
  778. *rcNameID: 831
  779. *Command: CmdSelect
  780. {
  781. *Order: JOB_SETUP.8
  782. *Cmd: ",4."
  783. }
  784. }
  785. *Option: 5
  786. {
  787. *rcNameID: 832
  788. *Command: CmdSelect
  789. {
  790. *Order: JOB_SETUP.8
  791. *Cmd: ",5."
  792. }
  793. }
  794. *Option: 6
  795. {
  796. *rcNameID: 833
  797. *Command: CmdSelect
  798. {
  799. *Order: JOB_SETUP.8
  800. *Cmd: ",6."
  801. }
  802. }
  803. *Option: 7
  804. {
  805. *rcNameID: 834
  806. *Command: CmdSelect
  807. {
  808. *Order: JOB_SETUP.8
  809. *Cmd: ",7."
  810. }
  811. }
  812. *Option: 8
  813. {
  814. *rcNameID: 835
  815. *Command: CmdSelect
  816. {
  817. *Order: JOB_SETUP.8
  818. *Cmd: ",8."
  819. }
  820. }
  821. *Option: 9
  822. {
  823. *rcNameID: 836
  824. *Command: CmdSelect
  825. {
  826. *Order: JOB_SETUP.8
  827. *Cmd: ",9."
  828. }
  829. }
  830. *Option: 10
  831. {
  832. *rcNameID: 837
  833. *Command: CmdSelect
  834. {
  835. *Order: JOB_SETUP.8
  836. *Cmd: ",10."
  837. }
  838. }
  839. *Option: 11
  840. {
  841. *rcNameID: 838
  842. *Command: CmdSelect
  843. {
  844. *Order: JOB_SETUP.8
  845. *Cmd: ",11."
  846. }
  847. }
  848. *Option: 12
  849. {
  850. *rcNameID: 839
  851. *Command: CmdSelect
  852. {
  853. *Order: JOB_SETUP.8
  854. *Cmd: ",12."
  855. }
  856. }
  857. *Option: 13
  858. {
  859. *rcNameID: 840
  860. *Command: CmdSelect
  861. {
  862. *Order: JOB_SETUP.8
  863. *Cmd: ",13."
  864. }
  865. }
  866. *Option: 14
  867. {
  868. *rcNameID: 841
  869. *Command: CmdSelect
  870. {
  871. *Order: JOB_SETUP.8
  872. *Cmd: ",14."
  873. }
  874. }
  875. *Option: 15
  876. {
  877. *rcNameID: 842
  878. *Command: CmdSelect
  879. {
  880. *Order: JOB_SETUP.8
  881. *Cmd: ",15."
  882. }
  883. }
  884. *Option: 16
  885. {
  886. *rcNameID: 843
  887. *Command: CmdSelect
  888. {
  889. *Order: JOB_SETUP.8
  890. *Cmd: ",16."
  891. }
  892. }
  893. *Option: 17
  894. {
  895. *rcNameID: 844
  896. *Command: CmdSelect
  897. {
  898. *Order: JOB_SETUP.8
  899. *Cmd: ",17."
  900. }
  901. }
  902. *Option: 18
  903. {
  904. *rcNameID: 845
  905. *Command: CmdSelect
  906. {
  907. *Order: JOB_SETUP.8
  908. *Cmd: ",18."
  909. }
  910. }
  911. *Option: 19
  912. {
  913. *rcNameID: 846
  914. *Command: CmdSelect
  915. {
  916. *Order: JOB_SETUP.8
  917. *Cmd: ",19."
  918. }
  919. }
  920. *Option: 20
  921. {
  922. *rcNameID: 847
  923. *Command: CmdSelect
  924. {
  925. *Order: JOB_SETUP.8
  926. *Cmd: ",20."
  927. }
  928. }
  929. }
  930. *%======== JobSeparate ========
  931. *Feature: JobSeparate
  932. {
  933. *rcNameID: 865
  934. *DefaultOption: OFF
  935. *HelpIndex: 603 *%POP_DL_JOBSEPARATE
  936. *Option: ON
  937. {
  938. *rcNameID: 502
  939. *Command: CmdSelect
  940. {
  941. *Order: JOB_SETUP.2
  942. *Cmd: "@PJL SET PAPERSORT=ON<0D0A>"
  943. }
  944. }
  945. *Option: OFF
  946. {
  947. *rcNameID: 501
  948. *Command: CmdSelect
  949. {
  950. *Order: JOB_SETUP.2
  951. *Cmd: "@PJL SET PAPERSORT=OFF<0D0A>"
  952. }
  953. }
  954. }
  955. *%======== Set ========
  956. *Feature: Set
  957. {
  958. *rcNameID: 600
  959. *DefaultOption: ON
  960. *HelpIndex: 604 *%POP_DL_SET
  961. *Option: ON
  962. {
  963. *rcNameID: 502
  964. *Command: CmdSelect
  965. {
  966. *Order: JOB_SETUP.1
  967. *Cmd: "<1B>%%-12345X@PJL JOB<0D0A>@PJL SET LPARM:NPDL MSW068=ON<0D0A>@PJL SET RET=MEDIUM<0D0A>"
  968. }
  969. }
  970. *Option: OFF
  971. {
  972. *rcNameID: 501
  973. *Command: CmdSelect
  974. {
  975. *Order: JOB_SETUP.1
  976. *Cmd: "<1B>%%-12345X@PJL JOB<0D0A>@PJL SET LPARM:NPDL MSW068=ON<0D0A>@PJL SET RET=OFF<0D0A>"
  977. }
  978. }
  979. }
  980. *%======== EconoMode ========
  981. *Feature: EconoMode
  982. {
  983. *rcNameID: 500
  984. *DefaultOption: OFF
  985. *HelpIndex: 605 *%POP_DL_TONAR
  986. *Option: ON
  987. {
  988. *rcNameID: 502
  989. *switch: Resolution
  990. {
  991. *case: 400dpi
  992. {
  993. *Command: CmdSelect
  994. {
  995. *Order: JOB_SETUP.5
  996. *Cmd: "@PJL SET ECONOMODE=ON<0D0A>@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&400.<1C>d240."
  997. }
  998. }
  999. *case: 600dpi
  1000. {
  1001. *Command: CmdSelect
  1002. {
  1003. *Order: JOB_SETUP.5
  1004. *Cmd: "@PJL SET ECONOMODE=ON<0D0A>@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&600.<1C>d240."
  1005. }
  1006. }
  1007. }
  1008. }
  1009. *Option: OFF
  1010. {
  1011. *rcNameID: 501
  1012. *switch: Resolution
  1013. {
  1014. *case: 400dpi
  1015. {
  1016. *Command: CmdSelect
  1017. {
  1018. *Order: JOB_SETUP.5
  1019. *Cmd: "@PJL SET ECONOMODE=OFF<0D0A>@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&400.<1C>d240."
  1020. }
  1021. }
  1022. *case: 600dpi
  1023. {
  1024. *Command: CmdSelect
  1025. {
  1026. *Order: JOB_SETUP.5
  1027. *Cmd: "@PJL SET ECONOMODE=OFF<0D0A>@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&600.<1C>d240."
  1028. }
  1029. }
  1030. }
  1031. }
  1032. }
  1033. *%======== Density ========
  1034. *Feature: Density
  1035. {
  1036. *rcNameID: 866
  1037. *DefaultOption: Depth3
  1038. *HelpIndex: 606 *%POP_DL_DENSITY
  1039. *Option: Depth1
  1040. {
  1041. *rcNameID: 867
  1042. *Command: CmdSelect
  1043. {
  1044. *Order: JOB_SETUP.3
  1045. *Cmd: "@PJL SET DENSITY=1<0D0A>"
  1046. }
  1047. }
  1048. *Option: Depth2
  1049. {
  1050. *rcNameID: 868
  1051. *Command: CmdSelect
  1052. {
  1053. *Order: JOB_SETUP.3
  1054. *Cmd: "@PJL SET DENSITY=2<0D0A>"
  1055. }
  1056. }
  1057. *Option: Depth3
  1058. {
  1059. *rcNameID: 869
  1060. *Command: CmdSelect
  1061. {
  1062. *Order: JOB_SETUP.3
  1063. *Cmd: "@PJL SET DENSITY=3<0D0A>"
  1064. }
  1065. }
  1066. *Option: Depth4
  1067. {
  1068. *rcNameID: 870
  1069. *Command: CmdSelect
  1070. {
  1071. *Order: JOB_SETUP.3
  1072. *Cmd: "@PJL SET DENSITY=4<0D0A>"
  1073. }
  1074. }
  1075. *Option: Depth5
  1076. {
  1077. *rcNameID: 871
  1078. *Command: CmdSelect
  1079. {
  1080. *Order: JOB_SETUP.3
  1081. *Cmd: "@PJL SET DENSITY=5<0D0A>"
  1082. }
  1083. }
  1084. }
  1085. *%======== JIS kirikae ========
  1086. *Feature: Jis
  1087. {
  1088. *rcNameID: 700
  1089. *FeatureType: PRINTER_PROPERTY
  1090. *DefaultOption: Jis90
  1091. *HelpIndex: 610 *%POP_DL_KANJICODE
  1092. *Option: Jis90
  1093. {
  1094. *rcNameID: 701
  1095. *Command: CmdSelect
  1096. {
  1097. *Order: JOB_SETUP.6
  1098. *Cmd: "<1C>05F2-02"
  1099. }
  1100. }
  1101. *Option: Jis78
  1102. {
  1103. *rcNameID: 702
  1104. *Command: CmdSelect
  1105. {
  1106. *Order: JOB_SETUP.6
  1107. *Cmd: "<1C>05F2-00"
  1108. }
  1109. }
  1110. }
  1111. *%======== TextHalftoneThreshold ========
  1112. *Feature: TextHalftoneThreshold
  1113. {
  1114. *rcNameID: =TEXTHALFTONE_DISPLAY
  1115. *DefaultOption: 400
  1116. *HelpIndex: 611 *%POP_DL_TEXTHALFTONE
  1117. *Option: NONE
  1118. {
  1119. *rcNameID: =NONE_DISPLAY
  1120. }
  1121. *Option: 400
  1122. {
  1123. *Name: "400"
  1124. EXTERN_GLOBAL: *TextHalftoneThreshold: 400
  1125. }
  1126. *Option: 600
  1127. {
  1128. *Name: "600"
  1129. EXTERN_GLOBAL: *TextHalftoneThreshold: 600
  1130. }
  1131. }
  1132. *%======== StartJob ========
  1133. *switch: PaperSize
  1134. {
  1135. *case: JAPANESE_POSTCARD
  1136. {
  1137. *Command: CmdStartJob
  1138. {
  1139. *Order: JOB_SETUP.4
  1140. *Cmd: "@PJL SET PAPERTYPE=HEAVY<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  1141. }
  1142. }
  1143. *case: DBL_JAPANESE_POSTCARD
  1144. {
  1145. *Command: CmdStartJob
  1146. {
  1147. *Order: JOB_SETUP.4
  1148. *Cmd: "@PJL SET PAPERTYPE=HEAVY<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  1149. }
  1150. }
  1151. *case: JENV_YOU4
  1152. {
  1153. *Command: CmdStartJob
  1154. {
  1155. *Order: JOB_SETUP.4
  1156. *Cmd: "@PJL SET PAPERTYPE=HEAVY<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  1157. }
  1158. }
  1159. *case: CUSTOMSIZE
  1160. {
  1161. *Command: CmdStartJob
  1162. {
  1163. *Order: JOB_SETUP.4
  1164. *Cmd: "@PJL SET NONFIXED=ON<0D0A>"
  1165. }
  1166. }
  1167. *default
  1168. {
  1169. *Command: CmdStartJob
  1170. {
  1171. *Order: JOB_SETUP.4
  1172. *Cmd: "@PJL SET NONFIXED=OFF<0D0A>"
  1173. }
  1174. }
  1175. }
  1176. *%======== StartDoc ========
  1177. *Command: CmdStartDoc
  1178. {
  1179. *Order: DOC_SETUP.1
  1180. *NoPageEject?: TRUE
  1181. *Cmd: "<1C>R"
  1182. }
  1183. *%======== CopyCmd ========
  1184. *Command: CmdCopies
  1185. {
  1186. *Order: DOC_SETUP.2
  1187. *NoPageEject?: TRUE
  1188. *Cmd: "<1C>x" %d[1,99]{NumOfCopies }",C."
  1189. }
  1190. *%======== StartPage ========
  1191. *Command: CmdStartPage
  1192. {
  1193. *Order: PAGE_SETUP.1
  1194. *CallbackID: =CMD_INIT_COORDINATE
  1195. }
  1196. *%======== EndPage ========
  1197. *Command: CmdEndPage
  1198. {
  1199. *Order: PAGE_FINISH.1
  1200. *Cmd: "" *% Reserved
  1201. }
  1202. *%======== EndDoc ========
  1203. *Command: CmdEndDoc
  1204. {
  1205. *Order: DOC_FINISH.1
  1206. *Cmd: "" *% Reserved
  1207. }
  1208. *%======== EndJob ========
  1209. *Command: CmdEndJob
  1210. {
  1211. *Order: JOB_FINISH.1
  1212. *Cmd: "<1C>fPC1.<1C>&0.<1B>c1<1B>%%-12345X@PJL EOJ<0D0A>@PJL ENTER LANGUAGE=DEFAULT<0D0A>"
  1213. }
  1214. *%======== Capabilities ========
  1215. *RotateCoordinate?: FALSE
  1216. *RotateRaster?: TRUE
  1217. *RotateFont?: TRUE
  1218. *TextCaps: LIST(TC_OP_CHARACTER,TC_CR_90,TC_SF_X_YINDEP,TC_SA_DOUBLE,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE)
  1219. *%======== Cursor Control ========
  1220. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1221. *switch: Resolution
  1222. {
  1223. *case: 400dpi
  1224. {
  1225. *XMoveUnit: 400
  1226. *YMoveUnit: 400
  1227. }
  1228. *case: 600dpi
  1229. {
  1230. *XMoveUnit: 600
  1231. *YMoveUnit: 600
  1232. }
  1233. }
  1234. *Command: CmdXMoveAbsolute
  1235. {
  1236. *CallbackID: =CMD_MOVE_X
  1237. *Params: LIST(DestX,DestY,TextXRes,TextYRes)
  1238. }
  1239. *Command: CmdYMoveAbsolute
  1240. {
  1241. *CallbackID: =CMD_MOVE_Y
  1242. *Params: LIST(DestX,DestY,TextXRes,TextYRes)
  1243. }
  1244. *EjectPageWithFF?: TRUE
  1245. *Command: CmdCR { *CallbackID: =CMD_CR }
  1246. *Command: CmdLF { *Cmd : "<0A>" }
  1247. *Command: CmdFF { *CallbackID: =CMD_FF }
  1248. *Command: CmdSetSimpleRotation
  1249. {
  1250. *CallbackID: =CMD_PC_PRN_DIRECTION
  1251. *Params: LIST(PrintDirInCCDegrees)
  1252. }
  1253. *%======== Raster Data ========
  1254. *OutputDataFormat: H_BYTE
  1255. *OptimizeLeftBound?: TRUE
  1256. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  1257. *CursorYAfterSendBlockData: NO_MOVE
  1258. *Command: CmdSendBlockData
  1259. {
  1260. *CallbackID: =CMD_SEND_BLOCK_DATA
  1261. *Params: RasterDataWidthInBytes
  1262. }
  1263. *Command: CmdBeginRaster
  1264. {
  1265. *CallbackID: =CMD_BEGIN_RASTER
  1266. }
  1267. *%======== Device Font ========
  1268. *DefaultFont: =RC_FONT_MINCHO_P
  1269. *DefaultCTT: 1
  1270. *CharPosition: BASELINE
  1271. *DeviceFonts: LIST(=RC_FONT_COURIER_P,=RC_FONT_SANSERIF_P,=RC_FONT_ROMAN_P,
  1272. + =RC_FONT_OCRB_P,=RC_FONT_MINCHO_P,=RC_FONT_MINCHOV_P,
  1273. + =RC_FONT_GOTHIC_P,=RC_FONT_GOTHICV_P)
  1274. *%======== Font Subsitution ========
  1275. *TTFS: Mincho
  1276. {
  1277. *rcTTFontNameID: =RC_STR_MSMINCHO
  1278. *rcDevFontNameID: =RC_STR_MINCHO
  1279. }
  1280. *TTFS: Gothic
  1281. {
  1282. *rcTTFontNameID: =RC_STR_MSGOTHIC
  1283. *rcDevFontNameID: =RC_STR_GOTHIC
  1284. }
  1285. *TTFSEnabled?: FALSE
  1286. *%======== Font Simulation ========
  1287. *Command: CmdBoldOn { *CallbackID: =CMD_BOLD_ON }
  1288. *Command: CmdItalicOn { *CallbackID: =CMD_ITALIC_ON }
  1289. *Command: CmdClearAllFontAttribs { *CallbackID: =CMD_CLEAR_ATTRIB_P }
  1290. *Command: CmdWhiteTextOn { *CallbackID: =CMD_WHITE_ON }
  1291. *Command: CmdWhiteTextOff { *CallbackID: =CMD_WHITE_OFF }
  1292. *%========== RectFill ==========
  1293. *MinGrayFill: 1
  1294. *MaxGrayFill: 100
  1295. *Command: CmdSetRectWidth
  1296. {
  1297. *CallbackID: =CMD_RECTWIDTH
  1298. *Params: LIST(RectXSize)
  1299. }
  1300. *Command: CmdSetRectHeight
  1301. {
  1302. *CallbackID: =CMD_RECTHEIGHT
  1303. *Params: LIST(RectYSize)
  1304. }
  1305. *Command: CmdRectWhiteFill { *CallbackID: =CMD_RECTWHITE }
  1306. *Command: CmdRectBlackFill { *CallbackID: =CMD_RECTBLACK }
  1307. *Command: CmdRectGrayFill
  1308. {
  1309. *CallbackID: =CMD_RECTGRAY
  1310. *Params: LIST(GrayPercentage)
  1311. }