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.

854 lines
22 KiB

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