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.

994 lines
26 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC MultiWriter 210S"
  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: "NCDL21SJ.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_RES_1200 : 70
  68. CMD_WHITE_ON : 80
  69. CMD_WHITE_OFF : 81
  70. CMD_BOLD_ON : 82
  71. CMD_ITALIC_ON : 83
  72. CMD_CLEAR_ATTRIB : 84
  73. CMD_CLEAR_ATTRIB_P : 85
  74. }
  75. *Macros: PopupHelpIDs
  76. {
  77. POP_DL_MARGIN : 602
  78. POP_DL_JOBSEPARATE : 603
  79. POP_DL_SET : 604
  80. POP_DL_TONAR : 605
  81. POP_DL_DENSITY : 606
  82. POP_DL_SORTER : 607
  83. POP_DL_OUTBIN : 608
  84. POP_DL_FACE : 609
  85. POP_DL_KANJICODE : 610
  86. POP_DL_TEXTHALFTONE : 611
  87. POP_DL_TEXTHALFTONE_S : 612
  88. POP_DL_TEXTHALFTONE_S2 : 613
  89. }
  90. *%======== Orientation ========
  91. *Feature: Orientation
  92. {
  93. *rcNameID: =ORIENTATION_DISPLAY
  94. *DefaultOption: PORTRAIT
  95. *Option: PORTRAIT
  96. {
  97. *rcNameID: =PORTRAIT_DISPLAY
  98. }
  99. *Option: LANDSCAPE_CC270
  100. {
  101. *rcNameID: =LANDSCAPE_DISPLAY
  102. }
  103. }
  104. *%======== InputBin ========
  105. *Feature: InputBin
  106. {
  107. *rcNameID: =PAPER_SOURCE_DISPLAY
  108. *DefaultOption: Auto
  109. *Option: Auto
  110. {
  111. *rcNameID: 272
  112. *switch: Orientation
  113. {
  114. *case: PORTRAIT
  115. {
  116. *switch: JobSeparate
  117. {
  118. *case: OFF
  119. {
  120. *Command: CmdSelect
  121. {
  122. *Order: DOC_SETUP.3
  123. *NoPageEject?: TRUE
  124. *Cmd: "<1C>fPC0.<1C>fP"
  125. }
  126. }
  127. *case: ON
  128. {
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.3
  132. *NoPageEject?: TRUE
  133. *Cmd: "<1C>fP"
  134. }
  135. }
  136. }
  137. }
  138. *case: LANDSCAPE_CC270
  139. {
  140. *switch: JobSeparate
  141. {
  142. *case: OFF
  143. {
  144. *Command: CmdSelect
  145. {
  146. *Order: DOC_SETUP.3
  147. *NoPageEject?: TRUE
  148. *Cmd: "<1C>fLC0.<1C>fL"
  149. }
  150. }
  151. *case: ON
  152. {
  153. *Command: CmdSelect
  154. {
  155. *Order: DOC_SETUP.3
  156. *NoPageEject?: TRUE
  157. *Cmd: "<1C>fL"
  158. }
  159. }
  160. }
  161. }
  162. }
  163. }
  164. *Option: MP
  165. {
  166. *rcNameID: 862
  167. *switch: Orientation
  168. {
  169. *case: PORTRAIT
  170. {
  171. *Command: CmdSelect
  172. {
  173. *Order: DOC_SETUP.3
  174. *NoPageEject?: TRUE
  175. *Cmd: "<1C>fPMP"
  176. }
  177. }
  178. *case: LANDSCAPE_CC270
  179. {
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.3
  183. *NoPageEject?: TRUE
  184. *Cmd: "<1C>fLMP"
  185. }
  186. }
  187. }
  188. }
  189. *Option: Hopper1
  190. {
  191. *rcNameID: 273
  192. *switch: Orientation
  193. {
  194. *case: PORTRAIT
  195. {
  196. *Command: CmdSelect
  197. {
  198. *Order: DOC_SETUP.3
  199. *NoPageEject?: TRUE
  200. *Cmd: "<1C>fPC1"
  201. }
  202. }
  203. *case: LANDSCAPE_CC270
  204. {
  205. *Command: CmdSelect
  206. {
  207. *Order: DOC_SETUP.3
  208. *NoPageEject?: TRUE
  209. *Cmd: "<1C>fLC1"
  210. }
  211. }
  212. }
  213. }
  214. *Option: Hopper2
  215. {
  216. *rcNameID: 274
  217. *Installable?: TRUE
  218. *rcInstallableFeatureNameID: 274
  219. *switch: Orientation
  220. {
  221. *case: PORTRAIT
  222. {
  223. *Command: CmdSelect
  224. {
  225. *Order: DOC_SETUP.3
  226. *NoPageEject?: TRUE
  227. *Cmd: "<1C>fPC2"
  228. }
  229. }
  230. *case: LANDSCAPE_CC270
  231. {
  232. *Command: CmdSelect
  233. {
  234. *Order: DOC_SETUP.3
  235. *NoPageEject?: TRUE
  236. *Cmd: "<1C>fLC2"
  237. }
  238. }
  239. }
  240. }
  241. *Option: Hopper3
  242. {
  243. *rcNameID: 275
  244. *Installable?: TRUE
  245. *rcInstallableFeatureNameID: 275
  246. *switch: Orientation
  247. {
  248. *case: PORTRAIT
  249. {
  250. *Command: CmdSelect
  251. {
  252. *Order: DOC_SETUP.3
  253. *NoPageEject?: TRUE
  254. *Cmd: "<1C>fPC3"
  255. }
  256. }
  257. *case: LANDSCAPE_CC270
  258. {
  259. *Command: CmdSelect
  260. {
  261. *Order: DOC_SETUP.3
  262. *NoPageEject?: TRUE
  263. *Cmd: "<1C>fLC3"
  264. }
  265. }
  266. }
  267. }
  268. }
  269. *%======== Resolution ========
  270. *Feature: Resolution
  271. {
  272. *rcNameID: =RESOLUTION_DISPLAY
  273. *DefaultOption: 600dpi
  274. *Option: 600dpi
  275. {
  276. *rcNameID: 890
  277. *DPI: PAIR(600, 600)
  278. *TextDPI: PAIR(600, 600)
  279. *MinStripBlankPixels: 32
  280. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  281. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  282. *SpotDiameter: 100
  283. *Command: CmdSelect
  284. {
  285. *Order: DOC_SETUP.5
  286. *NoPageEject?: TRUE
  287. *CallbackID: =CMD_RES_600
  288. }
  289. }
  290. }
  291. *%======== PaperSize ========
  292. *Feature: PaperSize
  293. {
  294. *rcNameID: =PAPER_SIZE_DISPLAY
  295. *DefaultOption: A4
  296. *Option: A3
  297. {
  298. *rcNameID: =A3_DISPLAY
  299. *PrintableArea: PAIR(13548, 19356)
  300. *PrintableOrigin: PAIR(238, 238)
  301. *Command: CmdSelect
  302. {
  303. *Order: DOC_SETUP.4
  304. *NoPageEject?: TRUE
  305. *Cmd: "A3."
  306. }
  307. }
  308. *Option: A4
  309. {
  310. *rcNameID: =A4_DISPLAY
  311. *PrintableArea: PAIR(9432, 13548)
  312. *PrintableOrigin: PAIR(238, 238)
  313. *Command: CmdSelect
  314. {
  315. *Order: DOC_SETUP.4
  316. *NoPageEject?: TRUE
  317. *Cmd: "A4."
  318. }
  319. }
  320. *Option: A5
  321. {
  322. *rcNameID: =A5_DISPLAY
  323. *PrintableArea: PAIR(6504, 9432)
  324. *PrintableOrigin: PAIR(238, 238)
  325. *Command: CmdSelect
  326. {
  327. *Order: DOC_SETUP.4
  328. *NoPageEject?: TRUE
  329. *Cmd: "A5."
  330. }
  331. }
  332. *Option: B4
  333. {
  334. *rcNameID: =B4_DISPLAY
  335. *PrintableArea: PAIR(11664, 16716)
  336. *PrintableOrigin: PAIR(238, 238)
  337. *Command: CmdSelect
  338. {
  339. *Order: DOC_SETUP.4
  340. *NoPageEject?: TRUE
  341. *Cmd: "B4."
  342. }
  343. }
  344. *Option: B5
  345. {
  346. *rcNameID: =B5_DISPLAY
  347. *PrintableArea: PAIR(8112, 11664)
  348. *PrintableOrigin: PAIR(238, 238)
  349. *Command: CmdSelect
  350. {
  351. *Order: DOC_SETUP.4
  352. *NoPageEject?: TRUE
  353. *Cmd: "B5."
  354. }
  355. }
  356. *Option: LETTER
  357. {
  358. *rcNameID: =LETTER_DISPLAY
  359. *PrintableArea: PAIR(9708, 12708)
  360. *PrintableOrigin: PAIR(238, 238)
  361. *Command: CmdSelect
  362. {
  363. *Order: DOC_SETUP.4
  364. *NoPageEject?: TRUE
  365. *Cmd: "LT."
  366. }
  367. }
  368. *Option: JAPANESE_POSTCARD
  369. {
  370. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  371. *PrintableArea: PAIR(4236, 6504)
  372. *PrintableOrigin: PAIR(238, 238)
  373. *Command: CmdSelect
  374. {
  375. *Order: DOC_SETUP.4
  376. *NoPageEject?: TRUE
  377. *Cmd: "PC."
  378. }
  379. }
  380. *Option: DBL_JAPANESE_POSTCARD
  381. {
  382. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  383. *PrintableArea: PAIR(8976, 6504)
  384. *PrintableOrigin: PAIR(238, 238)
  385. *Command: CmdSelect
  386. {
  387. *Order: DOC_SETUP.4
  388. *NoPageEject?: TRUE
  389. *Cmd: "UPPC."
  390. }
  391. }
  392. *Option: JENV_YOU4
  393. {
  394. *rcNameID: =JENV_YOU4_DISPLAY
  395. *PrintableArea: PAIR(4488, 10620)
  396. *PrintableOrigin: PAIR(238, 238)
  397. *Command: CmdSelect
  398. {
  399. *Order: DOC_SETUP.4
  400. *NoPageEject?: TRUE
  401. *Cmd: "ENV4."
  402. }
  403. }
  404. *Option: A3toB4
  405. {
  406. *rcNameID: 258
  407. *PageDimensions: PAIR(14032, 19842)
  408. *PrintableArea: PAIR(13548, 19356)
  409. *PrintableOrigin: PAIR(238, 238)
  410. *Command: CmdSelect
  411. {
  412. *Order: DOC_SETUP.4
  413. *NoPageEject?: TRUE
  414. *Cmd: "A3B4."
  415. }
  416. }
  417. *Option: A3toA4
  418. {
  419. *rcNameID: 259
  420. *PageDimensions: PAIR(14032, 19842)
  421. *PrintableArea: PAIR(13548, 19356)
  422. *PrintableOrigin: PAIR(238, 238)
  423. *Command: CmdSelect
  424. {
  425. *Order: DOC_SETUP.4
  426. *NoPageEject?: TRUE
  427. *Cmd: "A3A4."
  428. }
  429. }
  430. *Option: A4toA3
  431. {
  432. *rcNameID: 260
  433. *PageDimensions: PAIR(9922, 14032)
  434. *PrintableArea: PAIR(9432, 13548)
  435. *PrintableOrigin: PAIR(238, 238)
  436. *Command: CmdSelect
  437. {
  438. *Order: DOC_SETUP.4
  439. *NoPageEject?: TRUE
  440. *Cmd: "A4A3."
  441. }
  442. }
  443. *Option: A4toB4
  444. {
  445. *rcNameID: 261
  446. *PageDimensions: PAIR(9922, 14032)
  447. *PrintableArea: PAIR(9432, 13548)
  448. *PrintableOrigin: PAIR(238, 238)
  449. *Command: CmdSelect
  450. {
  451. *Order: DOC_SETUP.4
  452. *NoPageEject?: TRUE
  453. *Cmd: "A4B4."
  454. }
  455. }
  456. *Option: A4toB5
  457. {
  458. *rcNameID: 262
  459. *PageDimensions: PAIR(9922, 14032)
  460. *PrintableArea: PAIR(9432, 13548)
  461. *PrintableOrigin: PAIR(238, 238)
  462. *Command: CmdSelect
  463. {
  464. *Order: DOC_SETUP.4
  465. *NoPageEject?: TRUE
  466. *Cmd: "A4B5."
  467. }
  468. }
  469. *Option: B4toA3
  470. {
  471. *rcNameID: 263
  472. *PageDimensions: PAIR(12142, 17196)
  473. *PrintableArea: PAIR(11664, 16716)
  474. *PrintableOrigin: PAIR(238, 238)
  475. *Command: CmdSelect
  476. {
  477. *Order: DOC_SETUP.4
  478. *NoPageEject?: TRUE
  479. *Cmd: "B4A3."
  480. }
  481. }
  482. *Option: B4toA4
  483. {
  484. *rcNameID: 264
  485. *PageDimensions: PAIR(12142, 17196)
  486. *PrintableArea: PAIR(11664, 16716)
  487. *PrintableOrigin: PAIR(238, 238)
  488. *Command: CmdSelect
  489. {
  490. *Order: DOC_SETUP.4
  491. *NoPageEject?: TRUE
  492. *Cmd: "B4A4."
  493. }
  494. }
  495. *Option: B4toB5
  496. {
  497. *rcNameID: 265
  498. *PageDimensions: PAIR(12142, 17196)
  499. *PrintableArea: PAIR(11664, 16716)
  500. *PrintableOrigin: PAIR(238, 238)
  501. *Command: CmdSelect
  502. {
  503. *Order: DOC_SETUP.4
  504. *NoPageEject?: TRUE
  505. *Cmd: "B4B5."
  506. }
  507. }
  508. *Option: B5toA4
  509. {
  510. *rcNameID: 266
  511. *PageDimensions: PAIR(8598, 12142)
  512. *PrintableArea: PAIR(8112, 11664)
  513. *PrintableOrigin: PAIR(238, 238)
  514. *Command: CmdSelect
  515. {
  516. *Order: DOC_SETUP.4
  517. *NoPageEject?: TRUE
  518. *Cmd: "B5A4."
  519. }
  520. }
  521. *Option: B5toB4
  522. {
  523. *rcNameID: 267
  524. *PageDimensions: PAIR(8598, 12142)
  525. *PrintableArea: PAIR(8112, 11664)
  526. *PrintableOrigin: PAIR(238, 238)
  527. *Command: CmdSelect
  528. {
  529. *Order: DOC_SETUP.4
  530. *NoPageEject?: TRUE
  531. *Cmd: "B5B4."
  532. }
  533. }
  534. *Option: A4x2toA4
  535. {
  536. *rcNameID: 268
  537. *PageDimensions: PAIR(9922, 14032)
  538. *PrintableArea: PAIR(9432, 13548)
  539. *PrintableOrigin: PAIR(238, 238)
  540. *Command: CmdSelect
  541. {
  542. *Order: DOC_SETUP.4
  543. *NoPageEject?: TRUE
  544. *Cmd: "UPA4."
  545. }
  546. }
  547. *Option: B5x2toB5
  548. {
  549. *rcNameID: 269
  550. *PageDimensions: PAIR(8598, 12142)
  551. *PrintableArea: PAIR(8112, 11664)
  552. *PrintableOrigin: PAIR(238, 238)
  553. *Command: CmdSelect
  554. {
  555. *Order: DOC_SETUP.4
  556. *NoPageEject?: TRUE
  557. *Cmd: "UPB5."
  558. }
  559. }
  560. *Option: LPtoA4
  561. {
  562. *rcNameID: 270
  563. *Constraints: Orientation.PORTRAIT
  564. *PageDimensions: PAIR(13200, 18000)
  565. *PrintableArea: PAIR(13200, 16320)
  566. *PrintableOrigin: PAIR(0, 840)
  567. *Command: CmdSelect
  568. {
  569. *Order: DOC_SETUP.4
  570. *NoPageEject?: TRUE
  571. *Cmd: "LPA4."
  572. }
  573. }
  574. *Option: LPtoB4
  575. {
  576. *rcNameID: 271
  577. *Constraints: Orientation.PORTRAIT
  578. *PageDimensions: PAIR(13200, 18000)
  579. *PrintableArea: PAIR(13200, 16320)
  580. *PrintableOrigin: PAIR(0, 840)
  581. *Command: CmdSelect
  582. {
  583. *Order: DOC_SETUP.4
  584. *NoPageEject?: TRUE
  585. *Cmd: "LPB4."
  586. }
  587. }
  588. *Option: CUSTOMSIZE
  589. {
  590. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  591. *MinSize: PAIR(4724, 6992) *% (100mm, 148mm)
  592. *MaxSize: PAIR(14031, 19842) *% (297mm, 420mm)
  593. *MaxPrintableWidth: 13559 *% paper width - 5mm * 2
  594. *MinLeftMargin: 236 *% 5mm
  595. *CenterPrintable?: FALSE
  596. *CustCursorOriginX: %d{236}
  597. *CustCursorOriginY: %d{236}
  598. *CustPrintableOriginX: %d{236}
  599. *CustPrintableOriginY: %d{236}
  600. *CustPrintableSizeX: %d{PhysPaperWidth - (236+236)}
  601. *CustPrintableSizeY: %d{PhysPaperLength - (236+236)}
  602. *Command: CmdSelect
  603. {
  604. *Order: DOC_SETUP.4
  605. *NoPageEject?: TRUE
  606. *Cmd: "," %d{PhysPaperWidth * 254 / 1200} "," %d{PhysPaperLength * 254 / 1200} ",1/10,m."
  607. }
  608. }
  609. }
  610. *InvalidCombination: LIST(InputBin.Auto, PaperSize.JAPANESE_POSTCARD)
  611. *InvalidCombination: LIST(InputBin.Auto, PaperSize.DBL_JAPANESE_POSTCARD)
  612. *InvalidCombination: LIST(InputBin.Auto, PaperSize.JENV_YOU4)
  613. *InvalidCombination: LIST(InputBin.Auto, PaperSize.CUSTOMSIZE)
  614. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.JAPANESE_POSTCARD)
  615. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.DBL_JAPANESE_POSTCARD)
  616. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.JENV_YOU4)
  617. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.CUSTOMSIZE)
  618. *InvalidCombination: LIST(InputBin.Hopper2, PaperSize.JAPANESE_POSTCARD)
  619. *InvalidCombination: LIST(InputBin.Hopper2, PaperSize.DBL_JAPANESE_POSTCARD)
  620. *InvalidCombination: LIST(InputBin.Hopper2, PaperSize.JENV_YOU4)
  621. *InvalidCombination: LIST(InputBin.Hopper2, PaperSize.CUSTOMSIZE)
  622. *InvalidCombination: LIST(InputBin.Hopper3, PaperSize.JAPANESE_POSTCARD)
  623. *InvalidCombination: LIST(InputBin.Hopper3, PaperSize.DBL_JAPANESE_POSTCARD)
  624. *InvalidCombination: LIST(InputBin.Hopper3, PaperSize.JENV_YOU4)
  625. *InvalidCombination: LIST(InputBin.Hopper3, PaperSize.CUSTOMSIZE)
  626. *%======== Halftone ========
  627. *Feature: Halftone
  628. {
  629. *rcNameID: =HALFTONING_DISPLAY
  630. *DefaultOption: HT_PATSIZE_8x8_M
  631. *Option: HT_PATSIZE_AUTO
  632. {
  633. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  634. }
  635. *Option: HT_PATSIZE_12x12_M
  636. {
  637. *rcNameID: 930
  638. }
  639. *Option: HT_PATSIZE_10x10_M
  640. {
  641. *rcNameID: 931
  642. }
  643. *Option: HT_PATSIZE_8x8_M
  644. {
  645. *rcNameID: =HT_DITHER8X8_DISPLAY
  646. }
  647. *Option: HT_PATSIZE_6x6_M
  648. {
  649. *rcNameID: =HT_DITHER6X6_DISPLAY
  650. }
  651. *Option: HT_PATSIZE_SUPERCELL_M
  652. {
  653. *rcNameID: =HT_SUPERCELL_DISPLAY
  654. }
  655. }
  656. *%======== JobSeparate ========
  657. *Feature: JobSeparate
  658. {
  659. *rcNameID: 865
  660. *DefaultOption: ON
  661. *HelpIndex: 603 *%POP_DL_JOBSEPARATE
  662. *Option: ON
  663. {
  664. *rcNameID: 502
  665. *Command: CmdSelect
  666. {
  667. *Order: JOB_SETUP.1
  668. *Cmd: "<1B>%%-12345X@PJL JOB<0D0A>@PJL SET LPARM:NPDL MSW068=ON<0D0A>@PJL SET LPARM:NPDL MSW094=OFF<0D0A>@PJL SET PAPERSORT=ON<0D0A>"
  669. }
  670. }
  671. *Option: OFF
  672. {
  673. *rcNameID: 501
  674. *Command: CmdSelect
  675. {
  676. *Order: JOB_SETUP.1
  677. *Cmd: "<1B>%%-12345X@PJL JOB<0D0A>@PJL SET LPARM:NPDL MSW068=ON<0D0A>@PJL SET LPARM:NPDL MSW094=OFF<0D0A>@PJL SET PAPERSORT=OFF<0D0A>"
  678. }
  679. }
  680. }
  681. *%======== Density ========
  682. *Feature: Density
  683. {
  684. *rcNameID: 866
  685. *DefaultOption: Depth3
  686. *HelpIndex: 606 *%POP_DL_DENSITY
  687. *Option: Depth1
  688. {
  689. *rcNameID: 867
  690. *Command: CmdSelect
  691. {
  692. *Order: JOB_SETUP.2
  693. *Cmd: "@PJL SET DENSITY=1<0D0A>"
  694. }
  695. }
  696. *Option: Depth2
  697. {
  698. *rcNameID: 868
  699. *Command: CmdSelect
  700. {
  701. *Order: JOB_SETUP.2
  702. *Cmd: "@PJL SET DENSITY=2<0D0A>"
  703. }
  704. }
  705. *Option: Depth3
  706. {
  707. *rcNameID: 869
  708. *Command: CmdSelect
  709. {
  710. *Order: JOB_SETUP.2
  711. *Cmd: "@PJL SET DENSITY=3<0D0A>"
  712. }
  713. }
  714. *Option: Depth4
  715. {
  716. *rcNameID: 870
  717. *Command: CmdSelect
  718. {
  719. *Order: JOB_SETUP.2
  720. *Cmd: "@PJL SET DENSITY=4<0D0A>"
  721. }
  722. }
  723. *Option: Depth5
  724. {
  725. *rcNameID: 871
  726. *Command: CmdSelect
  727. {
  728. *Order: JOB_SETUP.2
  729. *Cmd: "@PJL SET DENSITY=5<0D0A>"
  730. }
  731. }
  732. }
  733. *%======== JIS kirikae ========
  734. *Feature: Jis
  735. {
  736. *rcNameID: 700
  737. *FeatureType: PRINTER_PROPERTY
  738. *DefaultOption: Jis90
  739. *HelpIndex: 610 *%POP_DL_KANJICODE
  740. *Option: Jis90
  741. {
  742. *rcNameID: 701
  743. *switch: Resolution
  744. {
  745. *case: 600dpi
  746. {
  747. *Command: CmdSelect
  748. {
  749. *Order: JOB_SETUP.4
  750. *Cmd: "@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&600.<1C>d240.<1C>05F2-02"
  751. }
  752. }
  753. }
  754. }
  755. *Option: Jis78
  756. {
  757. *rcNameID: 702
  758. *switch: Resolution
  759. {
  760. *case: 600dpi
  761. {
  762. *Command: CmdSelect
  763. {
  764. *Order: JOB_SETUP.4
  765. *Cmd: "@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&600.<1C>d240.<1C>05F2-00"
  766. }
  767. }
  768. }
  769. }
  770. }
  771. *%======== TextHalftoneThreshold ========
  772. *Feature: TextHalftoneThreshold
  773. {
  774. *rcNameID: =TEXTHALFTONE_DISPLAY
  775. *DefaultOption: 600
  776. *HelpIndex: 612 *%POP_DL_TEXTHALFTONE_S
  777. *Option: NONE
  778. {
  779. *rcNameID: =NONE_DISPLAY
  780. }
  781. *Option: 600
  782. {
  783. *Name: "600"
  784. EXTERN_GLOBAL: *TextHalftoneThreshold: 600
  785. }
  786. }
  787. *%======== StartJob ========
  788. *switch: PaperSize
  789. {
  790. *case: JAPANESE_POSTCARD
  791. {
  792. *Command: CmdStartJob
  793. {
  794. *Order: JOB_SETUP.3
  795. *Cmd: "@PJL SET PAPERTYPE=HEAVY<0D0A>@PJL SET NONFIXED0=OFF<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  796. }
  797. }
  798. *case: DBL_JAPANESE_POSTCARD
  799. {
  800. *Command: CmdStartJob
  801. {
  802. *Order: JOB_SETUP.3
  803. *Cmd: "@PJL SET PAPERTYPE=HEAVY<0D0A>@PJL SET NONFIXED0=OFF<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  804. }
  805. }
  806. *case: JENV_YOU4
  807. {
  808. *Command: CmdStartJob
  809. {
  810. *Order: JOB_SETUP.3
  811. *Cmd: "@PJL SET PAPERTYPE=HEAVY<0D0A>@PJL SET NONFIXED0=OFF<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  812. }
  813. }
  814. *case: CUSTOMSIZE
  815. {
  816. *Command: CmdStartJob
  817. {
  818. *Order: JOB_SETUP.3
  819. *Cmd: "@PJL SET NONFIXED0=ON<0D0A>@PJL SET NONFIXED=ON<0D0A>"
  820. }
  821. }
  822. *default
  823. {
  824. *Command: CmdStartJob
  825. {
  826. *Order: JOB_SETUP.3
  827. *Cmd: "@PJL SET PAPERTYPE=NOMAL<0D0A>@PJL SET NONFIXED0=OFF<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  828. }
  829. }
  830. }
  831. *%======== StartDoc ========
  832. *Command: CmdStartDoc
  833. {
  834. *Order: DOC_SETUP.1
  835. *NoPageEject?: TRUE
  836. *Cmd: "<1C>R"
  837. }
  838. *%======== CopyCmd ========
  839. *Command: CmdCopies
  840. {
  841. *Order: DOC_SETUP.2
  842. *NoPageEject?: TRUE
  843. *Cmd: "<1C>x" %d[1,99]{NumOfCopies }",C."
  844. }
  845. *%======== StartPage ========
  846. *Command: CmdStartPage
  847. {
  848. *Order: PAGE_SETUP.1
  849. *CallbackID: =CMD_INIT_COORDINATE
  850. }
  851. *%======== EndPage ========
  852. *Command: CmdEndPage
  853. {
  854. *Order: PAGE_FINISH.1
  855. *Cmd: "" *% Reserved
  856. }
  857. *%======== EndDoc ========
  858. *Command: CmdEndDoc
  859. {
  860. *Order: DOC_FINISH.1
  861. *Cmd: "" *% Reserved
  862. }
  863. *%======== EndJob ========
  864. *Command: CmdEndJob
  865. {
  866. *Order: JOB_FINISH.1
  867. *Cmd: "<1C>fPC0.<1C>&0.<1B>c1<1B>%%-12345X@PJL EOJ<0D0A>@PJL ENTER LANGUAGE=DEFAULT<0D0A>"
  868. }
  869. *%======== Capabilities ========
  870. *RotateCoordinate?: FALSE
  871. *RotateRaster?: TRUE
  872. *RotateFont?: TRUE
  873. *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)
  874. *%======== Cursor Control ========
  875. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  876. *switch: Resolution
  877. {
  878. *case: 600dpi
  879. {
  880. *XMoveUnit: 600
  881. *YMoveUnit: 600
  882. }
  883. }
  884. *Command: CmdXMoveAbsolute
  885. {
  886. *CallbackID: =CMD_MOVE_X
  887. *Params: LIST(DestX,DestY,TextXRes,TextYRes)
  888. }
  889. *Command: CmdYMoveAbsolute
  890. {
  891. *CallbackID: =CMD_MOVE_Y
  892. *Params: LIST(DestX,DestY,TextXRes,TextYRes)
  893. }
  894. *EjectPageWithFF?: TRUE
  895. *Command: CmdCR { *CallbackID: =CMD_CR }
  896. *Command: CmdLF { *Cmd : "<0A>" }
  897. *Command: CmdFF { *CallbackID: =CMD_FF }
  898. *Command: CmdSetSimpleRotation
  899. {
  900. *CallbackID: =CMD_PC_PRN_DIRECTION
  901. *Params: LIST(PrintDirInCCDegrees)
  902. }
  903. *%======== Raster Data ========
  904. *OutputDataFormat: H_BYTE
  905. *OptimizeLeftBound?: TRUE
  906. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  907. *CursorYAfterSendBlockData: NO_MOVE
  908. *Command: CmdSendBlockData
  909. {
  910. *CallbackID: =CMD_SEND_BLOCK_DATA
  911. *Params: RasterDataWidthInBytes
  912. }
  913. *Command: CmdBeginRaster
  914. {
  915. *CallbackID: =CMD_BEGIN_RASTER
  916. }
  917. *%======== Device Font ========
  918. *DefaultFont: =RC_FONT_MINCHO_P
  919. *DefaultCTT: 1
  920. *CharPosition: BASELINE
  921. *DeviceFonts: LIST(=RC_FONT_COURIER_P,=RC_FONT_SANSERIF_P,=RC_FONT_ROMAN_P,
  922. + =RC_FONT_OCRB_P,=RC_FONT_MINCHO_P,=RC_FONT_MINCHOV_P,
  923. + =RC_FONT_GOTHIC_P,=RC_FONT_GOTHICV_P)
  924. *%======== Font Subsitution ========
  925. *TTFS: Mincho
  926. {
  927. *rcTTFontNameID: =RC_STR_MSMINCHO
  928. *rcDevFontNameID: =RC_STR_MINCHO
  929. }
  930. *TTFS: Gothic
  931. {
  932. *rcTTFontNameID: =RC_STR_MSGOTHIC
  933. *rcDevFontNameID: =RC_STR_GOTHIC
  934. }
  935. *TTFSEnabled?: FALSE
  936. *%======== Font Simulation ========
  937. *Command: CmdBoldOn { *CallbackID: =CMD_BOLD_ON }
  938. *Command: CmdItalicOn { *CallbackID: =CMD_ITALIC_ON }
  939. *Command: CmdClearAllFontAttribs { *CallbackID: =CMD_CLEAR_ATTRIB_P }
  940. *Command: CmdWhiteTextOn { *CallbackID: =CMD_WHITE_ON }
  941. *Command: CmdWhiteTextOff { *CallbackID: =CMD_WHITE_OFF }
  942. *%========== RectFill ==========
  943. *MinGrayFill: 1
  944. *MaxGrayFill: 100
  945. *Command: CmdSetRectWidth
  946. {
  947. *CallbackID: =CMD_RECTWIDTH
  948. *Params: LIST(RectXSize)
  949. }
  950. *Command: CmdSetRectHeight
  951. {
  952. *CallbackID: =CMD_RECTHEIGHT
  953. *Params: LIST(RectYSize)
  954. }
  955. *Command: CmdRectWhiteFill { *CallbackID: =CMD_RECTWHITE }
  956. *Command: CmdRectBlackFill { *CallbackID: =CMD_RECTBLACK }
  957. *Command: CmdRectGrayFill
  958. {
  959. *CallbackID: =CMD_RECTGRAY
  960. *Params: LIST(GrayPercentage)
  961. }