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.

1346 lines
33 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC MultiWriter 2650"
  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: 26
  12. *GPDFileName: "NCDL265J.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>fPC0.<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>fLC0.<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. *Option: NONE
  669. {
  670. *rcNameID: =NONE_DISPLAY
  671. *Command: CmdSelect
  672. {
  673. *Order: JOB_SETUP.7
  674. *Cmd: "<1C><27>S,,"
  675. }
  676. }
  677. *Option: VERTICAL
  678. {
  679. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  680. *switch: Orientation
  681. {
  682. *case: PORTRAIT
  683. {
  684. *Command: CmdSelect
  685. {
  686. *Order: JOB_SETUP.7
  687. *Cmd: "<1C><27>B,F,1"
  688. }
  689. }
  690. *case: LANDSCAPE_CC270
  691. {
  692. *Command: CmdSelect
  693. {
  694. *Order: JOB_SETUP.7
  695. *Cmd: "<1C><27>B,F,1"
  696. }
  697. }
  698. }
  699. }
  700. *Option: HORIZONTAL
  701. {
  702. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  703. *switch: Orientation
  704. {
  705. *case: LANDSCAPE_CC270
  706. {
  707. *Command: CmdSelect
  708. {
  709. *Order: JOB_SETUP.7
  710. *Cmd: "<1C><27>B,F,4"
  711. }
  712. }
  713. *case: PORTRAIT
  714. {
  715. *Command: CmdSelect
  716. {
  717. *Order: JOB_SETUP.7
  718. *Cmd: "<1C><27>B,F,2"
  719. }
  720. }
  721. }
  722. }
  723. }
  724. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.JAPANESE_POSTCARD)
  725. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.JAPANESE_POSTCARD)
  726. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.DBL_JAPANESE_POSTCARD)
  727. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.DBL_JAPANESE_POSTCARD)
  728. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.JENV_YOU4)
  729. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.JENV_YOU4)
  730. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.CUSTOMSIZE)
  731. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.CUSTOMSIZE)
  732. *%======== Bind Margin ========
  733. *Feature: BindMargin
  734. {
  735. *rcNameID: 826
  736. *DefaultOption: 0
  737. *HelpIndex: 602 *%POP_DL_MARGIN
  738. *Option:0
  739. {
  740. *rcNameID: 827
  741. *Command: CmdSelect
  742. {
  743. *Order: JOB_SETUP.8
  744. *Cmd: ",0."
  745. }
  746. }
  747. *Option: 1
  748. {
  749. *rcNameID: 828
  750. *Command: CmdSelect
  751. {
  752. *Order: JOB_SETUP.8
  753. *Cmd: ",1."
  754. }
  755. }
  756. *Option: 2
  757. {
  758. *rcNameID: 829
  759. *Command: CmdSelect
  760. {
  761. *Order: JOB_SETUP.8
  762. *Cmd: ",2."
  763. }
  764. }
  765. *Option: 3
  766. {
  767. *rcNameID: 830
  768. *Command: CmdSelect
  769. {
  770. *Order: JOB_SETUP.8
  771. *Cmd: ",3."
  772. }
  773. }
  774. *Option: 4
  775. {
  776. *rcNameID: 831
  777. *Command: CmdSelect
  778. {
  779. *Order: JOB_SETUP.8
  780. *Cmd: ",4."
  781. }
  782. }
  783. *Option: 5
  784. {
  785. *rcNameID: 832
  786. *Command: CmdSelect
  787. {
  788. *Order: JOB_SETUP.8
  789. *Cmd: ",5."
  790. }
  791. }
  792. *Option: 6
  793. {
  794. *rcNameID: 833
  795. *Command: CmdSelect
  796. {
  797. *Order: JOB_SETUP.8
  798. *Cmd: ",6."
  799. }
  800. }
  801. *Option: 7
  802. {
  803. *rcNameID: 834
  804. *Command: CmdSelect
  805. {
  806. *Order: JOB_SETUP.8
  807. *Cmd: ",7."
  808. }
  809. }
  810. *Option: 8
  811. {
  812. *rcNameID: 835
  813. *Command: CmdSelect
  814. {
  815. *Order: JOB_SETUP.8
  816. *Cmd: ",8."
  817. }
  818. }
  819. *Option: 9
  820. {
  821. *rcNameID: 836
  822. *Command: CmdSelect
  823. {
  824. *Order: JOB_SETUP.8
  825. *Cmd: ",9."
  826. }
  827. }
  828. *Option: 10
  829. {
  830. *rcNameID: 837
  831. *Command: CmdSelect
  832. {
  833. *Order: JOB_SETUP.8
  834. *Cmd: ",10."
  835. }
  836. }
  837. *Option: 11
  838. {
  839. *rcNameID: 838
  840. *Command: CmdSelect
  841. {
  842. *Order: JOB_SETUP.8
  843. *Cmd: ",11."
  844. }
  845. }
  846. *Option: 12
  847. {
  848. *rcNameID: 839
  849. *Command: CmdSelect
  850. {
  851. *Order: JOB_SETUP.8
  852. *Cmd: ",12."
  853. }
  854. }
  855. *Option: 13
  856. {
  857. *rcNameID: 840
  858. *Command: CmdSelect
  859. {
  860. *Order: JOB_SETUP.8
  861. *Cmd: ",13."
  862. }
  863. }
  864. *Option: 14
  865. {
  866. *rcNameID: 841
  867. *Command: CmdSelect
  868. {
  869. *Order: JOB_SETUP.8
  870. *Cmd: ",14."
  871. }
  872. }
  873. *Option: 15
  874. {
  875. *rcNameID: 842
  876. *Command: CmdSelect
  877. {
  878. *Order: JOB_SETUP.8
  879. *Cmd: ",15."
  880. }
  881. }
  882. *Option: 16
  883. {
  884. *rcNameID: 843
  885. *Command: CmdSelect
  886. {
  887. *Order: JOB_SETUP.8
  888. *Cmd: ",16."
  889. }
  890. }
  891. *Option: 17
  892. {
  893. *rcNameID: 844
  894. *Command: CmdSelect
  895. {
  896. *Order: JOB_SETUP.8
  897. *Cmd: ",17."
  898. }
  899. }
  900. *Option: 18
  901. {
  902. *rcNameID: 845
  903. *Command: CmdSelect
  904. {
  905. *Order: JOB_SETUP.8
  906. *Cmd: ",18."
  907. }
  908. }
  909. *Option: 19
  910. {
  911. *rcNameID: 846
  912. *Command: CmdSelect
  913. {
  914. *Order: JOB_SETUP.8
  915. *Cmd: ",19."
  916. }
  917. }
  918. *Option: 20
  919. {
  920. *rcNameID: 847
  921. *Command: CmdSelect
  922. {
  923. *Order: JOB_SETUP.8
  924. *Cmd: ",20."
  925. }
  926. }
  927. }
  928. *%======== JobSeparate ========
  929. *Feature: JobSeparate
  930. {
  931. *rcNameID: 865
  932. *DefaultOption: ON
  933. *HelpIndex: 603 *%POP_DL_JOBSEPARATE
  934. *Option: ON
  935. {
  936. *rcNameID: 502
  937. *Command: CmdSelect
  938. {
  939. *Order: JOB_SETUP.2
  940. *Cmd: "@PJL SET PAPERSORT=ON<0D0A>"
  941. }
  942. }
  943. *Option: OFF
  944. {
  945. *rcNameID: 501
  946. *Command: CmdSelect
  947. {
  948. *Order: JOB_SETUP.2
  949. *Cmd: "@PJL SET PAPERSORT=OFF<0D0A>"
  950. }
  951. }
  952. }
  953. *%======== Set ========
  954. *Feature: Set
  955. {
  956. *rcNameID: 600
  957. *DefaultOption: ON
  958. *HelpIndex: 604 *%POP_DL_SET
  959. *Option: ON
  960. {
  961. *rcNameID: 502
  962. *Command: CmdSelect
  963. {
  964. *Order: JOB_SETUP.1
  965. *Cmd: "<1B>%%-12345X@PJL JOB<0D0A>@PJL SET LPARM:NPDL MSW068=ON<0D0A>@PJL SET RET=MEDIUM<0D0A>"
  966. }
  967. }
  968. *Option: OFF
  969. {
  970. *rcNameID: 501
  971. *Command: CmdSelect
  972. {
  973. *Order: JOB_SETUP.1
  974. *Cmd: "<1B>%%-12345X@PJL JOB<0D0A>@PJL SET LPARM:NPDL MSW068=ON<0D0A>@PJL SET RET=OFF<0D0A>"
  975. }
  976. }
  977. }
  978. *%======== EconoMode ========
  979. *Feature: EconoMode
  980. {
  981. *rcNameID: 500
  982. *DefaultOption: OFF
  983. *HelpIndex: 605 *%POP_DL_TONAR
  984. *Option: ON
  985. {
  986. *rcNameID: 502
  987. *switch: Resolution
  988. {
  989. *case: 400dpi
  990. {
  991. *Command: CmdSelect
  992. {
  993. *Order: JOB_SETUP.5
  994. *Cmd: "@PJL SET ECONOMODE=ON<0D0A>@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&400.<1C>d240."
  995. }
  996. }
  997. *case: 600dpi
  998. {
  999. *Command: CmdSelect
  1000. {
  1001. *Order: JOB_SETUP.5
  1002. *Cmd: "@PJL SET ECONOMODE=ON<0D0A>@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&600.<1C>d240."
  1003. }
  1004. }
  1005. }
  1006. }
  1007. *Option: OFF
  1008. {
  1009. *rcNameID: 501
  1010. *switch: Resolution
  1011. {
  1012. *case: 400dpi
  1013. {
  1014. *Command: CmdSelect
  1015. {
  1016. *Order: JOB_SETUP.5
  1017. *Cmd: "@PJL SET ECONOMODE=OFF<0D0A>@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&400.<1C>d240."
  1018. }
  1019. }
  1020. *case: 600dpi
  1021. {
  1022. *Command: CmdSelect
  1023. {
  1024. *Order: JOB_SETUP.5
  1025. *Cmd: "@PJL SET ECONOMODE=OFF<0D0A>@PJL ENTER LANGUAGE=NPDL<0D0A><1B>c1<1C>&600.<1C>d240."
  1026. }
  1027. }
  1028. }
  1029. }
  1030. }
  1031. *%======== Density ========
  1032. *Feature: Density
  1033. {
  1034. *rcNameID: 866
  1035. *DefaultOption: Depth3
  1036. *HelpIndex: 606 *%POP_DL_DENSITY
  1037. *Option: Depth1
  1038. {
  1039. *rcNameID: 867
  1040. *Command: CmdSelect
  1041. {
  1042. *Order: JOB_SETUP.3
  1043. *Cmd: "@PJL SET DENSITY=1<0D0A>"
  1044. }
  1045. }
  1046. *Option: Depth2
  1047. {
  1048. *rcNameID: 868
  1049. *Command: CmdSelect
  1050. {
  1051. *Order: JOB_SETUP.3
  1052. *Cmd: "@PJL SET DENSITY=2<0D0A>"
  1053. }
  1054. }
  1055. *Option: Depth3
  1056. {
  1057. *rcNameID: 869
  1058. *Command: CmdSelect
  1059. {
  1060. *Order: JOB_SETUP.3
  1061. *Cmd: "@PJL SET DENSITY=3<0D0A>"
  1062. }
  1063. }
  1064. *Option: Depth4
  1065. {
  1066. *rcNameID: 870
  1067. *Command: CmdSelect
  1068. {
  1069. *Order: JOB_SETUP.3
  1070. *Cmd: "@PJL SET DENSITY=4<0D0A>"
  1071. }
  1072. }
  1073. *Option: Depth5
  1074. {
  1075. *rcNameID: 871
  1076. *Command: CmdSelect
  1077. {
  1078. *Order: JOB_SETUP.3
  1079. *Cmd: "@PJL SET DENSITY=5<0D0A>"
  1080. }
  1081. }
  1082. }
  1083. *%======== JIS kirikae ========
  1084. *Feature: Jis
  1085. {
  1086. *rcNameID: 700
  1087. *FeatureType: PRINTER_PROPERTY
  1088. *DefaultOption: Jis90
  1089. *HelpIndex: 610 *%POP_DL_KANJICODE
  1090. *Option: Jis90
  1091. {
  1092. *rcNameID: 701
  1093. *Command: CmdSelect
  1094. {
  1095. *Order: JOB_SETUP.6
  1096. *Cmd: "<1C>05F2-02"
  1097. }
  1098. }
  1099. *Option: Jis78
  1100. {
  1101. *rcNameID: 702
  1102. *Command: CmdSelect
  1103. {
  1104. *Order: JOB_SETUP.6
  1105. *Cmd: "<1C>05F2-00"
  1106. }
  1107. }
  1108. }
  1109. *%======== TextHalftoneThreshold ========
  1110. *Feature: TextHalftoneThreshold
  1111. {
  1112. *rcNameID: =TEXTHALFTONE_DISPLAY
  1113. *DefaultOption: 400
  1114. *HelpIndex: 611 *%POP_DL_TEXTHALFTONE
  1115. *Option: NONE
  1116. {
  1117. *rcNameID: =NONE_DISPLAY
  1118. }
  1119. *Option: 400
  1120. {
  1121. *Name: "400"
  1122. EXTERN_GLOBAL: *TextHalftoneThreshold: 400
  1123. }
  1124. *Option: 600
  1125. {
  1126. *Name: "600"
  1127. EXTERN_GLOBAL: *TextHalftoneThreshold: 600
  1128. }
  1129. }
  1130. *%======== StartJob ========
  1131. *switch: PaperSize
  1132. {
  1133. *case: JAPANESE_POSTCARD
  1134. {
  1135. *Command: CmdStartJob
  1136. {
  1137. *Order: JOB_SETUP.4
  1138. *Cmd: "@PJL SET PAPERTYPE=HEAVY<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  1139. }
  1140. }
  1141. *case: DBL_JAPANESE_POSTCARD
  1142. {
  1143. *Command: CmdStartJob
  1144. {
  1145. *Order: JOB_SETUP.4
  1146. *Cmd: "@PJL SET PAPERTYPE=HEAVY<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  1147. }
  1148. }
  1149. *case: JENV_YOU4
  1150. {
  1151. *Command: CmdStartJob
  1152. {
  1153. *Order: JOB_SETUP.4
  1154. *Cmd: "@PJL SET PAPERTYPE=HEAVY<0D0A>@PJL SET NONFIXED=OFF<0D0A>"
  1155. }
  1156. }
  1157. *case: CUSTOMSIZE
  1158. {
  1159. *Command: CmdStartJob
  1160. {
  1161. *Order: JOB_SETUP.4
  1162. *Cmd: "@PJL SET NONFIXED=ON<0D0A>"
  1163. }
  1164. }
  1165. *default
  1166. {
  1167. *Command: CmdStartJob
  1168. {
  1169. *Order: JOB_SETUP.4
  1170. *Cmd: "@PJL SET NONFIXED=OFF<0D0A>"
  1171. }
  1172. }
  1173. }
  1174. *%======== StartDoc ========
  1175. *Command: CmdStartDoc
  1176. {
  1177. *Order: DOC_SETUP.1
  1178. *NoPageEject?: TRUE
  1179. *Cmd: "<1C>R"
  1180. }
  1181. *%======== CopyCmd ========
  1182. *Command: CmdCopies
  1183. {
  1184. *Order: DOC_SETUP.2
  1185. *NoPageEject?: TRUE
  1186. *Cmd: "<1C>x" %d[1,99]{NumOfCopies }",C."
  1187. }
  1188. *%======== StartPage ========
  1189. *Command: CmdStartPage
  1190. {
  1191. *Order: PAGE_SETUP.1
  1192. *CallbackID: =CMD_INIT_COORDINATE
  1193. }
  1194. *%======== EndPage ========
  1195. *Command: CmdEndPage
  1196. {
  1197. *Order: PAGE_FINISH.1
  1198. *Cmd: "" *% Reserved
  1199. }
  1200. *%======== EndDoc ========
  1201. *Command: CmdEndDoc
  1202. {
  1203. *Order: DOC_FINISH.1
  1204. *Cmd: "" *% Reserved
  1205. }
  1206. *%======== EndJob ========
  1207. *Command: CmdEndJob
  1208. {
  1209. *Order: JOB_FINISH.1
  1210. *Cmd: "<1C>fPC0.<1C>&0.<1B>c1<1B>%%-12345X@PJL EOJ<0D0A>@PJL ENTER LANGUAGE=DEFAULT<0D0A>"
  1211. }
  1212. *%======== Capabilities ========
  1213. *RotateCoordinate?: FALSE
  1214. *RotateRaster?: TRUE
  1215. *RotateFont?: TRUE
  1216. *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)
  1217. *%======== Cursor Control ========
  1218. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1219. *switch: Resolution
  1220. {
  1221. *case: 400dpi
  1222. {
  1223. *XMoveUnit: 400
  1224. *YMoveUnit: 400
  1225. }
  1226. *case: 600dpi
  1227. {
  1228. *XMoveUnit: 600
  1229. *YMoveUnit: 600
  1230. }
  1231. }
  1232. *Command: CmdXMoveAbsolute
  1233. {
  1234. *CallbackID: =CMD_MOVE_X
  1235. *Params: LIST(DestX,DestY,TextXRes,TextYRes)
  1236. }
  1237. *Command: CmdYMoveAbsolute
  1238. {
  1239. *CallbackID: =CMD_MOVE_Y
  1240. *Params: LIST(DestX,DestY,TextXRes,TextYRes)
  1241. }
  1242. *EjectPageWithFF?: TRUE
  1243. *Command: CmdCR { *CallbackID: =CMD_CR }
  1244. *Command: CmdLF { *Cmd : "<0A>" }
  1245. *Command: CmdFF { *CallbackID: =CMD_FF }
  1246. *Command: CmdSetSimpleRotation
  1247. {
  1248. *CallbackID: =CMD_PC_PRN_DIRECTION
  1249. *Params: LIST(PrintDirInCCDegrees)
  1250. }
  1251. *%======== Raster Data ========
  1252. *OutputDataFormat: H_BYTE
  1253. *OptimizeLeftBound?: TRUE
  1254. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  1255. *CursorYAfterSendBlockData: NO_MOVE
  1256. *Command: CmdSendBlockData
  1257. {
  1258. *CallbackID: =CMD_SEND_BLOCK_DATA
  1259. *Params: RasterDataWidthInBytes
  1260. }
  1261. *Command: CmdBeginRaster
  1262. {
  1263. *CallbackID: =CMD_BEGIN_RASTER
  1264. }
  1265. *%======== Device Font ========
  1266. *DefaultFont: =RC_FONT_MINCHO_P
  1267. *DefaultCTT: 1
  1268. *CharPosition: BASELINE
  1269. *DeviceFonts: LIST(=RC_FONT_COURIER_P,=RC_FONT_SANSERIF_P,=RC_FONT_ROMAN_P,
  1270. + =RC_FONT_OCRB_P,=RC_FONT_MINCHO_P,=RC_FONT_MINCHOV_P,
  1271. + =RC_FONT_GOTHIC_P,=RC_FONT_GOTHICV_P)
  1272. *%======== Font Subsitution ========
  1273. *TTFS: Mincho
  1274. {
  1275. *rcTTFontNameID: =RC_STR_MSMINCHO
  1276. *rcDevFontNameID: =RC_STR_MINCHO
  1277. }
  1278. *TTFS: Gothic
  1279. {
  1280. *rcTTFontNameID: =RC_STR_MSGOTHIC
  1281. *rcDevFontNameID: =RC_STR_GOTHIC
  1282. }
  1283. *TTFSEnabled?: FALSE
  1284. *%======== Font Simulation ========
  1285. *Command: CmdBoldOn { *CallbackID: =CMD_BOLD_ON }
  1286. *Command: CmdItalicOn { *CallbackID: =CMD_ITALIC_ON }
  1287. *Command: CmdClearAllFontAttribs { *CallbackID: =CMD_CLEAR_ATTRIB_P }
  1288. *Command: CmdWhiteTextOn { *CallbackID: =CMD_WHITE_ON }
  1289. *Command: CmdWhiteTextOff { *CallbackID: =CMD_WHITE_OFF }
  1290. *%========== RectFill ==========
  1291. *MinGrayFill: 1
  1292. *MaxGrayFill: 100
  1293. *Command: CmdSetRectWidth
  1294. {
  1295. *CallbackID: =CMD_RECTWIDTH
  1296. *Params: LIST(RectXSize)
  1297. }
  1298. *Command: CmdSetRectHeight
  1299. {
  1300. *CallbackID: =CMD_RECTHEIGHT
  1301. *Params: LIST(RectYSize)
  1302. }
  1303. *Command: CmdRectWhiteFill { *CallbackID: =CMD_RECTWHITE }
  1304. *Command: CmdRectBlackFill { *CallbackID: =CMD_RECTBLACK }
  1305. *Command: CmdRectGrayFill
  1306. {
  1307. *CallbackID: =CMD_RECTGRAY
  1308. *Params: LIST(GrayPercentage)
  1309. }