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.

1243 lines
37 KiB

  1. *%
  2. *% Core GPD file for Ricoh PCL5e printer
  3. *% FileName: RIAF18X.GPD
  4. *% Created: 1999/05/10
  5. *% Modified: 2001/12/06
  6. *%
  7. *% Copyright (c) 1999 - 2001 Ricoh Co., Ltd.
  8. *% All rights reserved.
  9. *%
  10. *GPDFileVersion: "1.202"
  11. *Include: "TTFSUB.GPD"
  12. *Include: "RIAF5MAC.GPD"
  13. *MasterUnits: PAIR(1200, 1200)
  14. *ResourceDLL: "RIAFRES.DLL"
  15. *PrinterType: PAGE
  16. *MaxCopies: 999
  17. *rcInstalledOptionNameID: 330 *%%% "Installed"
  18. *rcNotInstalledOptionNameID: 329 *%%% "Not Installed"
  19. *%======== Memory ========
  20. *Feature: Memory
  21. {
  22. *rcNameID: =PRINTER_MEMORY_DISPLAY
  23. *DefaultOption: 16384KB
  24. *Option: 16384KB
  25. {
  26. *Name: "16MB"
  27. *MemoryConfigKB: PAIR(16384, 13950)
  28. }
  29. *Option: 49152KB
  30. {
  31. *Name: "48MB"
  32. *MemoryConfigKB: PAIR(49152, 42750)
  33. }
  34. *Option: 81920KB
  35. {
  36. *Name: "80MB"
  37. *MemoryConfigKB: PAIR(81920, 71520)
  38. }
  39. }
  40. *%======== Hard Disk (custom feature) ========
  41. *Feature: HardDisk
  42. {
  43. *rcNameID: 380 *%%% "Hard Disk"
  44. *FeatureType: PRINTER_PROPERTY
  45. *DefaultOption: NotInstalled
  46. *Option: NotInstalled
  47. {
  48. *rcNameID: 329
  49. *DisabledFeatures: LIST(Collate)
  50. }
  51. *Option: Installed
  52. {
  53. *rcNameID: 330
  54. }
  55. }
  56. *%======== Output Upper Tray (custom feature) ========
  57. *Feature: UpperTray
  58. {
  59. *rcNameID: 382 *%%% "Upper Tray"
  60. *FeatureType: PRINTER_PROPERTY
  61. *DefaultOption: NotInstalled
  62. *Option: NotInstalled
  63. {
  64. *rcNameID: 329
  65. *Constraints: OutputBin.UpperTray
  66. }
  67. *Option: Installed
  68. {
  69. *rcNameID: 330
  70. *NotInstalledConstraints: OutputBin.UpperTray
  71. }
  72. }
  73. *%======== Orientation ========
  74. *Feature: Orientation
  75. {
  76. *rcNameID: =ORIENTATION_DISPLAY
  77. *DefaultOption: PORTRAIT
  78. *Option: PORTRAIT
  79. {
  80. *rcNameID: =PORTRAIT_DISPLAY
  81. }
  82. *Option: LANDSCAPE_CC90
  83. {
  84. *rcNameID: =LANDSCAPE_DISPLAY
  85. }
  86. }
  87. *%======== InputBin ========
  88. *Macros: CmdStrings_InputBin
  89. {
  90. PRECMD_INPUTBIN_PORT: "<1B>&l0O"
  91. PRECMD_INPUTBIN_LAND: "<1B>&l1O"
  92. }
  93. *Feature: InputBin
  94. {
  95. *rcNameID: =PAPER_SOURCE_DISPLAY
  96. *DefaultOption: AUTO
  97. *Option: AUTO
  98. {
  99. *rcNameID: 267 *%%% "Auto Select by Printer"
  100. *switch: Orientation
  101. {
  102. *case: PORTRAIT
  103. {
  104. *Command: CmdSelect
  105. {
  106. *Order: DOC_SETUP.30
  107. *NoPageEject?: TRUE
  108. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l7H"
  109. }
  110. }
  111. *case: LANDSCAPE_CC90
  112. {
  113. *Command: CmdSelect
  114. {
  115. *Order: DOC_SETUP.30
  116. *NoPageEject?: TRUE
  117. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l7H"
  118. }
  119. }
  120. }
  121. }
  122. *Option: BypassTray
  123. {
  124. *rcNameID: 272 *%%% "Bypass Tray"
  125. *OptionID: 4 *%%% DMBIN_MANUAL
  126. *switch: Orientation
  127. {
  128. *case: PORTRAIT
  129. {
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.30
  133. *NoPageEject?: TRUE
  134. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l2H"
  135. }
  136. }
  137. *case: LANDSCAPE_CC90
  138. {
  139. *Command: CmdSelect
  140. {
  141. *Order: DOC_SETUP.30
  142. *NoPageEject?: TRUE
  143. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l2H"
  144. }
  145. }
  146. }
  147. }
  148. *Option: Tray1
  149. {
  150. *rcNameID: 268 *%%% "Tray 1"
  151. *OptionID: 1 *%%% DMBIN_UPPER
  152. *switch: Orientation
  153. {
  154. *case: PORTRAIT
  155. {
  156. *Command: CmdSelect
  157. {
  158. *Order: DOC_SETUP.30
  159. *NoPageEject?: TRUE
  160. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l8H"
  161. }
  162. }
  163. *case: LANDSCAPE_CC90
  164. {
  165. *Command: CmdSelect
  166. {
  167. *Order: DOC_SETUP.30
  168. *NoPageEject?: TRUE
  169. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l8H"
  170. }
  171. }
  172. }
  173. }
  174. *Option: Tray2
  175. {
  176. *rcNameID: 269 *%%% "Tray 2"
  177. *OptionID: 3 *%%% DMBIN_MIDDLE
  178. *Installable?: TRUE
  179. *rcInstallableFeatureNameID: 269
  180. *switch: Orientation
  181. {
  182. *case: PORTRAIT
  183. {
  184. *Command: CmdSelect
  185. {
  186. *Order: DOC_SETUP.30
  187. *NoPageEject?: TRUE
  188. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l1H"
  189. }
  190. }
  191. *case: LANDSCAPE_CC90
  192. {
  193. *Command: CmdSelect
  194. {
  195. *Order: DOC_SETUP.30
  196. *NoPageEject?: TRUE
  197. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l1H"
  198. }
  199. }
  200. }
  201. }
  202. *Option: Tray3
  203. {
  204. *rcNameID: 270 *%%% "Tray 3"
  205. *OptionID: 2 *%%% DMBIN_LOWER
  206. *Installable?: TRUE
  207. *rcInstallableFeatureNameID: 270
  208. *switch: Orientation
  209. {
  210. *case: PORTRAIT
  211. {
  212. *Command: CmdSelect
  213. {
  214. *Order: DOC_SETUP.30
  215. *NoPageEject?: TRUE
  216. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l4H"
  217. }
  218. }
  219. *case: LANDSCAPE_CC90
  220. {
  221. *Command: CmdSelect
  222. {
  223. *Order: DOC_SETUP.30
  224. *NoPageEject?: TRUE
  225. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l4H"
  226. }
  227. }
  228. }
  229. }
  230. }
  231. *%======== MediaType ========
  232. *Feature: MediaType
  233. {
  234. *rcNameID: =MEDIA_TYPE_DISPLAY
  235. *DefaultOption: STANDARD
  236. *Option: STANDARD
  237. {
  238. *rcNameID: =PLAIN_PAPER_DISPLAY
  239. *Command: CmdSelect
  240. {
  241. *Order: JOB_SETUP.80
  242. *Cmd: "@PJL SET FUSERCONTROL=PLAINPAPER<0A>"
  243. }
  244. }
  245. *Option: ThickPaper *%%% custom option
  246. {
  247. *rcNameID: 378 *%%% "Thick Paper"
  248. *Command: CmdSelect
  249. {
  250. *Order: JOB_SETUP.80
  251. *Cmd: "@PJL SET FUSERCONTROL=THICK<0A>"
  252. }
  253. }
  254. }
  255. *InvalidCombination: LIST(InputBin.AUTO, MediaType.ThickPaper)
  256. *InvalidCombination: LIST(InputBin.Tray1, MediaType.ThickPaper)
  257. *InvalidCombination: LIST(InputBin.Tray2, MediaType.ThickPaper)
  258. *InvalidCombination: LIST(InputBin.Tray3, MediaType.ThickPaper)
  259. *%======== Resolution ========
  260. *Feature: Resolution
  261. {
  262. *rcNameID: =RESOLUTION_DISPLAY
  263. *DefaultOption: 600dpi
  264. *Option: 600dpi
  265. {
  266. *rcNameID: 395 *%%% "600 dpi"
  267. *DPI: PAIR(600, 600)
  268. *TextDPI: PAIR(600, 600)
  269. *MinStripBlankPixels: 32
  270. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  271. *SpotDiameter: 100
  272. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  273. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  274. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  275. *Command: CmdSelect
  276. {
  277. *Order: JOB_SETUP.90
  278. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t600R"
  279. }
  280. }
  281. *Option: 300dpi
  282. {
  283. *rcNameID: 396 *%%% "300 dpi"
  284. *DPI: PAIR(300, 300)
  285. *TextDPI: PAIR(300, 300)
  286. *MinStripBlankPixels: 32
  287. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  288. *SpotDiameter: 100
  289. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  290. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  291. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  292. *Command: CmdSelect
  293. {
  294. *Order: JOB_SETUP.90
  295. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t300R"
  296. }
  297. }
  298. }
  299. *%======== PaperSize ========
  300. *Feature: PaperSize
  301. {
  302. *rcNameID: =PAPER_SIZE_DISPLAY
  303. *DefaultOption: LETTER
  304. *Option: 11X17
  305. {
  306. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  307. *switch: Orientation
  308. {
  309. *case: PORTRAIT
  310. {
  311. *PrintableArea: PAIR(12600, 19800)
  312. *PrintableOrigin: PAIR(300, 300)
  313. *CursorOrigin: PAIR(300, 200)
  314. *Command: CmdSelect
  315. {
  316. *Order: DOC_SETUP.40
  317. *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  318. }
  319. }
  320. *case: LANDSCAPE_CC90
  321. {
  322. *PrintableArea: PAIR(12600, 19800)
  323. *PrintableOrigin: PAIR(300, 300)
  324. *CursorOrigin: PAIR(200, 20100)
  325. *Command: CmdSelect
  326. {
  327. *Order: DOC_SETUP.40
  328. *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11880x7680Y"
  329. }
  330. }
  331. }
  332. }
  333. *Option: LETTER
  334. {
  335. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  336. *switch: Orientation
  337. {
  338. *case: PORTRAIT
  339. {
  340. *PrintableArea: PAIR(9600, 12648)
  341. *PrintableOrigin: PAIR(300, 300)
  342. *CursorOrigin: PAIR(300, 180)
  343. *Command: CmdSelect
  344. {
  345. *Order: DOC_SETUP.40
  346. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  347. }
  348. }
  349. *case: LANDSCAPE_CC90
  350. {
  351. *PrintableArea: PAIR(9760, 12688)
  352. *PrintableOrigin: PAIR(200, 272)
  353. *CursorOrigin: PAIR(200, 12960)
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.40
  357. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  358. }
  359. }
  360. }
  361. }
  362. *Option: LEGAL
  363. {
  364. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  365. *switch: Orientation
  366. {
  367. *case: PORTRAIT
  368. {
  369. *PrintableArea: PAIR(9600, 16248)
  370. *PrintableOrigin: PAIR(300, 300)
  371. *CursorOrigin: PAIR(300, 180)
  372. *Command: CmdSelect
  373. {
  374. *Order: DOC_SETUP.40
  375. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  376. }
  377. }
  378. *case: LANDSCAPE_CC90
  379. {
  380. *PrintableArea: PAIR(9760, 16284)
  381. *PrintableOrigin: PAIR(200, 276)
  382. *CursorOrigin: PAIR(200, 16560)
  383. *Command: CmdSelect
  384. {
  385. *Order: DOC_SETUP.40
  386. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  387. }
  388. }
  389. }
  390. }
  391. *Option: EXECUTIVE
  392. {
  393. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  394. *switch: Orientation
  395. {
  396. *case: PORTRAIT
  397. {
  398. *PrintableArea: PAIR(8100, 12048)
  399. *PrintableOrigin: PAIR(300, 300)
  400. *CursorOrigin: PAIR(300, 180)
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.40
  404. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  405. }
  406. }
  407. *case: LANDSCAPE_CC90
  408. {
  409. *PrintableArea: PAIR(8220, 12080)
  410. *PrintableOrigin: PAIR(240, 280)
  411. *CursorOrigin: PAIR(200, 12360)
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.40
  415. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  416. }
  417. }
  418. }
  419. }
  420. *Option: STATEMENT
  421. {
  422. *rcNameID: 394 *%%% "5.5x8.5"
  423. *switch: Orientation
  424. {
  425. *case: PORTRAIT
  426. {
  427. *PrintableArea: PAIR(6000, 9600)
  428. *% *PrintableOrigin: PAIR(300, 300)
  429. *PrintableOrigin: PAIR(300, 240)
  430. *CursorOrigin: PAIR(300, 180)
  431. *Command: CmdSelect
  432. {
  433. *Order: DOC_SETUP.40
  434. *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t3618x5778Y"
  435. }
  436. }
  437. *case: LANDSCAPE_CC90
  438. {
  439. *PrintableArea: PAIR(6000, 9600)
  440. *% *PrintableOrigin: PAIR(300, 300)
  441. *% *CursorOrigin: PAIR(200, 9900)
  442. *PrintableOrigin: PAIR(300, 400)
  443. *CursorOrigin: PAIR(200, 10090)
  444. *Command: CmdSelect
  445. {
  446. *Order: DOC_SETUP.40
  447. *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t5778x3618Y"
  448. }
  449. }
  450. }
  451. }
  452. *Option: A3
  453. {
  454. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  455. *switch: Orientation
  456. {
  457. *case: PORTRAIT
  458. {
  459. *PrintableArea: PAIR(13428, 19308)
  460. *PrintableOrigin: PAIR(300, 300)
  461. *CursorOrigin: PAIR(300, 180)
  462. *Command: CmdSelect
  463. {
  464. *Order: DOC_SETUP.40
  465. *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y"
  466. }
  467. }
  468. *case: LANDSCAPE_CC90
  469. {
  470. *PrintableArea: PAIR(13588, 19368)
  471. *PrintableOrigin: PAIR(200, 240)
  472. *CursorOrigin: PAIR(200, 19608)
  473. *Command: CmdSelect
  474. {
  475. *Order: DOC_SETUP.40
  476. *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  477. }
  478. }
  479. }
  480. }
  481. *Option: A4
  482. {
  483. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  484. *switch: Orientation
  485. {
  486. *case: PORTRAIT
  487. {
  488. *PrintableArea: PAIR(9292, 13476)
  489. *PrintableOrigin: PAIR(300, 300)
  490. *CursorOrigin: PAIR(300, 180)
  491. *Command: CmdSelect
  492. {
  493. *Order: DOC_SETUP.40
  494. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  495. }
  496. }
  497. *case: LANDSCAPE_CC90
  498. {
  499. *PrintableArea: PAIR(9464, 13516)
  500. *PrintableOrigin: PAIR(220, 272)
  501. *CursorOrigin: PAIR(200, 13788)
  502. *Command: CmdSelect
  503. {
  504. *Order: DOC_SETUP.40
  505. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  506. }
  507. }
  508. }
  509. }
  510. *Option: A5
  511. {
  512. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  513. *switch: Orientation
  514. {
  515. *case: PORTRAIT
  516. {
  517. *PrintableArea: PAIR(6416, 9420)
  518. *% *PrintableOrigin: PAIR(300, 300)
  519. *PrintableOrigin: PAIR(300, 220)
  520. *CursorOrigin: PAIR(300, 180)
  521. *Command: CmdSelect
  522. {
  523. *Order: DOC_SETUP.40
  524. *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t3868x5670Y"
  525. }
  526. }
  527. *case: LANDSCAPE_CC90
  528. {
  529. *PrintableArea: PAIR(6416, 9420)
  530. *% *PrintableOrigin: PAIR(280, 204)
  531. *% *CursorOrigin: PAIR(200, 9624)
  532. *PrintableOrigin: PAIR(280, 360)
  533. *CursorOrigin: PAIR(200, 9800)
  534. *Command: CmdSelect
  535. {
  536. *Order: DOC_SETUP.40
  537. *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t5670x3868Y"
  538. }
  539. }
  540. }
  541. }
  542. *Option: A6
  543. {
  544. *rcNameID: 259 *%%% "A6"
  545. *PageDimensions: PAIR(4956, 6996)
  546. *switch: Orientation
  547. {
  548. *case: PORTRAIT
  549. {
  550. *PrintableArea: PAIR(4360, 6416)
  551. *PrintableOrigin: PAIR(300, 300)
  552. *CursorOrigin: PAIR(300, 180)
  553. *Command: CmdSelect
  554. {
  555. *Order: DOC_SETUP.40
  556. *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t2634x3868Y"
  557. }
  558. }
  559. *case: LANDSCAPE_CC90
  560. {
  561. *PrintableArea: PAIR(4360, 6416)
  562. *PrintableOrigin: PAIR(296, 280)
  563. *CursorOrigin: PAIR(200, 6696)
  564. *Command: CmdSelect
  565. {
  566. *Order: DOC_SETUP.40
  567. *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t3868x2634Y"
  568. }
  569. }
  570. }
  571. }
  572. *Option: B4
  573. {
  574. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  575. *switch: Orientation
  576. {
  577. *case: PORTRAIT
  578. {
  579. *PrintableArea: PAIR(11544, 16656)
  580. *PrintableOrigin: PAIR(300, 300)
  581. *CursorOrigin: PAIR(300, 180)
  582. *Command: CmdSelect
  583. {
  584. *Order: DOC_SETUP.40
  585. *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6926x10102Y"
  586. }
  587. }
  588. *case: LANDSCAPE_CC90
  589. {
  590. *PrintableArea: PAIR(11704, 16716)
  591. *PrintableOrigin: PAIR(200, 240)
  592. *CursorOrigin: PAIR(200, 16956)
  593. *Command: CmdSelect
  594. {
  595. *Order: DOC_SETUP.40
  596. *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10030x7046Y"
  597. }
  598. }
  599. }
  600. }
  601. *Option: B5
  602. {
  603. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  604. *switch: Orientation
  605. {
  606. *case: PORTRAIT
  607. {
  608. *PrintableArea: PAIR(8004, 11604)
  609. *PrintableOrigin: PAIR(300, 300)
  610. *CursorOrigin: PAIR(300, 180)
  611. *Command: CmdSelect
  612. {
  613. *Order: DOC_SETUP.40
  614. *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
  615. }
  616. }
  617. *case: LANDSCAPE_CC90
  618. {
  619. *PrintableArea: PAIR(8144, 11664)
  620. *PrintableOrigin: PAIR(220, 240)
  621. *CursorOrigin: PAIR(200, 11904)
  622. *Command: CmdSelect
  623. {
  624. *Order: DOC_SETUP.40
  625. *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
  626. }
  627. }
  628. }
  629. }
  630. *Option: ENV_10
  631. {
  632. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  633. *switch: Orientation
  634. {
  635. *case: PORTRAIT
  636. {
  637. *PrintableArea: PAIR(4296, 10800)
  638. *PrintableOrigin: PAIR(300, 300)
  639. *CursorOrigin: PAIR(300, 160)
  640. *Command: CmdSelect
  641. {
  642. *Order: DOC_SETUP.40
  643. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6648Y"
  644. }
  645. }
  646. *case: LANDSCAPE_CC90
  647. {
  648. *PrintableArea: PAIR(4356, 10800)
  649. *PrintableOrigin: PAIR(300, 300)
  650. *CursorOrigin: PAIR(200, 11100)
  651. *Command: CmdSelect
  652. {
  653. *Order: DOC_SETUP.40
  654. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  655. }
  656. }
  657. }
  658. }
  659. *Option: ENV_DL
  660. {
  661. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  662. *switch: Orientation
  663. {
  664. *case: PORTRAIT
  665. {
  666. *PrintableArea: PAIR(4596, 9792)
  667. *PrintableOrigin: PAIR(300, 300)
  668. *CursorOrigin: PAIR(300, 160)
  669. *Command: CmdSelect
  670. {
  671. *Order: DOC_SETUP.40
  672. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x6043Y"
  673. }
  674. }
  675. *case: LANDSCAPE_CC90
  676. {
  677. *PrintableArea: PAIR(4596, 9792)
  678. *PrintableOrigin: PAIR(300, 300)
  679. *CursorOrigin: PAIR(200, 10092)
  680. *Command: CmdSelect
  681. {
  682. *Order: DOC_SETUP.40
  683. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  684. }
  685. }
  686. }
  687. }
  688. *Option: ENV_MONARCH
  689. {
  690. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  691. *switch: Orientation
  692. {
  693. *case: PORTRAIT
  694. {
  695. *PrintableArea: PAIR(3996, 8400)
  696. *PrintableOrigin: PAIR(300, 300)
  697. *CursorOrigin: PAIR(300, 200)
  698. *Command: CmdSelect
  699. {
  700. *Order: DOC_SETUP.40
  701. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5160Y"
  702. }
  703. }
  704. *case: LANDSCAPE_CC90
  705. {
  706. *PrintableArea: PAIR(4056, 8400)
  707. *PrintableOrigin: PAIR(300, 300)
  708. *CursorOrigin: PAIR(200, 8700)
  709. *Command: CmdSelect
  710. {
  711. *Order: DOC_SETUP.40
  712. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2554Y"
  713. }
  714. }
  715. }
  716. }
  717. *Option: ENV_C5
  718. {
  719. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  720. *switch: Orientation
  721. {
  722. *case: PORTRAIT
  723. {
  724. *PrintableArea: PAIR(7036, 10224)
  725. *PrintableOrigin: PAIR(300, 300)
  726. *CursorOrigin: PAIR(300, 180)
  727. *Command: CmdSelect
  728. {
  729. *Order: DOC_SETUP.40
  730. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
  731. }
  732. }
  733. *case: LANDSCAPE_CC90
  734. {
  735. *PrintableArea: PAIR(7056, 10224)
  736. *PrintableOrigin: PAIR(300, 300)
  737. *CursorOrigin: PAIR(200, 10524)
  738. *Command: CmdSelect
  739. {
  740. *Order: DOC_SETUP.40
  741. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  742. }
  743. }
  744. }
  745. }
  746. *Option: ENV_C6
  747. {
  748. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  749. *switch: Orientation
  750. {
  751. *case: PORTRAIT
  752. {
  753. *PrintableArea: PAIR(4768, 7040)
  754. *PrintableOrigin: PAIR(300, 300)
  755. *CursorOrigin: PAIR(300, 180)
  756. *Command: CmdSelect
  757. {
  758. *Order: DOC_SETUP.40
  759. *Cmd: "<1B>&l2022a8c1E<1B>*p0x0Y<1B>*c0t2879x4242Y"
  760. }
  761. }
  762. *case: LANDSCAPE_CC90
  763. {
  764. *PrintableArea: PAIR(4768, 7040)
  765. *PrintableOrigin: PAIR(320, 316)
  766. *CursorOrigin: PAIR(200, 7356)
  767. *Command: CmdSelect
  768. {
  769. *Order: DOC_SETUP.40
  770. *Cmd: "<1B>&l2022a8c1E<1B>*p0x0Y<1B>*c0t4242x2879Y"
  771. }
  772. }
  773. }
  774. }
  775. *Option: GovernmentLegal
  776. {
  777. *rcNameID: 393 *%%% "8x13"
  778. *PageDimensions: PAIR(9600, 15600)
  779. *switch: Orientation
  780. {
  781. *case: PORTRAIT
  782. {
  783. *PrintableArea: PAIR(9000, 15000)
  784. *PrintableOrigin: PAIR(300, 300)
  785. *CursorOrigin: PAIR(300, 180)
  786. *Command: CmdSelect
  787. {
  788. *Order: DOC_SETUP.40
  789. *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t5418x9018Y"
  790. }
  791. }
  792. *case: LANDSCAPE_CC90
  793. {
  794. *PrintableArea: PAIR(9000, 15000)
  795. *PrintableOrigin: PAIR(300, 300)
  796. *CursorOrigin: PAIR(200, 15300)
  797. *Command: CmdSelect
  798. {
  799. *Order: DOC_SETUP.40
  800. *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t9018x5418Y"
  801. }
  802. }
  803. }
  804. }
  805. *Option: Foolscap
  806. {
  807. *rcNameID: 392 *%%% "8.25x13"
  808. *PageDimensions: PAIR(9900, 15600)
  809. *switch: Orientation
  810. {
  811. *case: PORTRAIT
  812. {
  813. *PrintableArea: PAIR(9300, 15000)
  814. *PrintableOrigin: PAIR(300, 300)
  815. *CursorOrigin: PAIR(300, 180)
  816. *Command: CmdSelect
  817. {
  818. *Order: DOC_SETUP.40
  819. *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t5598x9018Y"
  820. }
  821. }
  822. *case: LANDSCAPE_CC90
  823. {
  824. *PrintableArea: PAIR(9300, 15000)
  825. *PrintableOrigin: PAIR(300, 300)
  826. *CursorOrigin: PAIR(200, 15300)
  827. *Command: CmdSelect
  828. {
  829. *Order: DOC_SETUP.40
  830. *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t9018x5598Y"
  831. }
  832. }
  833. }
  834. }
  835. *Option: FOLIO
  836. {
  837. *rcNameID: 391 *%%% "8.5x13"
  838. *switch: Orientation
  839. {
  840. *case: PORTRAIT
  841. {
  842. *PrintableArea: PAIR(9600, 15000)
  843. *PrintableOrigin: PAIR(300, 300)
  844. *CursorOrigin: PAIR(300, 180)
  845. *Command: CmdSelect
  846. {
  847. *Order: DOC_SETUP.40
  848. *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t5760x9018Y"
  849. }
  850. }
  851. *case: LANDSCAPE_CC90
  852. {
  853. *PrintableArea: PAIR(9600, 15000)
  854. *PrintableOrigin: PAIR(300, 300)
  855. *CursorOrigin: PAIR(200, 15300)
  856. *Command: CmdSelect
  857. {
  858. *Order: DOC_SETUP.40
  859. *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t9018x5880Y"
  860. }
  861. }
  862. }
  863. }
  864. *Option: CUSTOMSIZE
  865. {
  866. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  867. *MinSize: PAIR(4251, 6992)
  868. *MaxSize: PAIR(14032, 20410)
  869. *MaxPrintableWidth: 14032
  870. *MinLeftMargin: 100
  871. *CenterPrintable?: FALSE
  872. *PageProtectMem: 1692
  873. *switch: Orientation
  874. {
  875. *case: PORTRAIT
  876. {
  877. *CustCursorOriginX: %d{300}
  878. *CustCursorOriginY: %d{200}
  879. *CustPrintableOriginX: %d{300}
  880. *CustPrintableOriginY: %d{300}
  881. *CustPrintableSizeX: %d{PhysPaperWidth - 300}
  882. *CustPrintableSizeY: %d{PhysPaperLength - 200}
  883. *Command: CmdSelect
  884. {
  885. *Order: DOC_SETUP.40
  886. *Cmd: "<1B>&l101a4d1E<1B>*p0x0Y<1B>*c0t"
  887. + %d{(((PhysPaperWidth - 300) * 6) / 10)}"x"
  888. + %d{(((PhysPaperLength - 200) * 6) / 10)}"Y"
  889. }
  890. }
  891. *case: LANDSCAPE_CC90
  892. {
  893. *CustCursorOriginX: %d{300}
  894. *CustCursorOriginY: %d{PhysPaperLength - 240}
  895. *CustPrintableOriginX: %d{300}
  896. *CustPrintableOriginY: %d{240}
  897. *CustPrintableSizeX: %d{PhysPaperWidth - 300}
  898. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  899. *Command: CmdSelect
  900. {
  901. *Order: DOC_SETUP.40
  902. *Cmd: "<1B>&l101a4d1E<1B>*p0x0Y<1B>*c0t"
  903. + %d{(((PhysPaperLength - 480) * 6) / 10)}"x"
  904. + %d{(((PhysPaperWidth - 300) * 6) / 10)}"Y"
  905. *%%% Win9x monolithic driver emits following param.
  906. *%%% + %d{(((PhysPaperLength - 240) * 6) / 10)}"x"
  907. *%%% + %d{(((PhysPaperWidth - 200) * 6) / 10)}"Y"
  908. }
  909. }
  910. }
  911. }
  912. }
  913. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.A6)
  914. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_10)
  915. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_DL)
  916. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_MONARCH)
  917. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_C5)
  918. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_C6)
  919. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.CUSTOMSIZE)
  920. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.A6)
  921. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_10)
  922. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_DL)
  923. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_MONARCH)
  924. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_C5)
  925. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_C6)
  926. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.CUSTOMSIZE)
  927. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.A6)
  928. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_10)
  929. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_DL)
  930. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_MONARCH)
  931. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_C5)
  932. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_C6)
  933. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.CUSTOMSIZE)
  934. *%======== OutputBin ========
  935. *Feature: OutputBin
  936. {
  937. *rcNameID: =OUTPUTBIN_DISPLAY
  938. *DefaultOption: PrinterDefault
  939. *Option: PrinterDefault
  940. {
  941. *rcNameID: 291 *%%% "Printer Default"
  942. *Command: CmdSelect
  943. {
  944. *Order: JOB_SETUP.40
  945. *Cmd: ""
  946. }
  947. }
  948. *Option: StandardTray
  949. {
  950. *rcNameID: 381 *%%% "Standard Tray"
  951. *Command: CmdSelect
  952. {
  953. *Order: JOB_SETUP.40
  954. *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  955. }
  956. }
  957. *Option: UpperTray
  958. {
  959. *rcNameID: 382 *%%% "Upper Tray"
  960. *Command: CmdSelect
  961. {
  962. *Order: JOB_SETUP.40
  963. *Cmd: "@PJL SET OUTBIN=INNER<0A>"
  964. }
  965. }
  966. }
  967. *%======== Collate ========
  968. *Feature: Collate
  969. {
  970. *Name: "Collated" *%%% This string isn't used in UI.
  971. *DefaultOption: OFF
  972. *Option: ON
  973. {
  974. *rcNameID: =ON_DISPLAY
  975. *switch: HardDisk
  976. {
  977. *case: NotInstalled
  978. {
  979. *Command: CmdSelect
  980. {
  981. *Order: JOB_SETUP.50
  982. *Cmd: "@PJL SET QTY=1<0A>"
  983. }
  984. }
  985. *case: Installed
  986. {
  987. *Command: CmdSelect
  988. {
  989. *Order: JOB_SETUP.50
  990. *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  991. }
  992. }
  993. }
  994. }
  995. *Option: OFF
  996. {
  997. *rcNameID: =OFF_DISPLAY
  998. *Command: CmdSelect
  999. {
  1000. *Order: JOB_SETUP.50
  1001. *Cmd: "@PJL SET QTY=1<0A>"
  1002. }
  1003. }
  1004. }
  1005. *%======== PrintQuality ========
  1006. *Feature: PrintQuality
  1007. {
  1008. *rcNameID: =TEXT_QUALITY_DISPLAY
  1009. *DefaultOption: SmoothingOn
  1010. *Option: SmoothingOff
  1011. {
  1012. *rcNameID: 306 *%%% "Edge Smoothing - Off"
  1013. *Command: CmdSelect
  1014. {
  1015. *Order: JOB_SETUP.20
  1016. *Cmd: "@PJL SET SMOOTHING=OFF<0A>"
  1017. }
  1018. }
  1019. *Option: SmoothingOn
  1020. {
  1021. *rcNameID: 305 *%%% "Edge Smoothing - On"
  1022. *Command: CmdSelect
  1023. {
  1024. *Order: JOB_SETUP.20
  1025. *Cmd: "@PJL SET SMOOTHING=ON<0A>"
  1026. }
  1027. }
  1028. }
  1029. *%======== PrintDensity ========
  1030. *Feature: PrintDensity
  1031. {
  1032. *rcNameID: =PRINTDENSITY_DISPLAY
  1033. *DefaultOption: EconomodeOff
  1034. *Option: EconomodeOff
  1035. {
  1036. *rcNameID: 322 *%%% "Toner Saver - Off"
  1037. *Command: CmdSelect
  1038. {
  1039. *Order: JOB_SETUP.30
  1040. *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  1041. }
  1042. }
  1043. *Option: EconomodeOn
  1044. {
  1045. *rcNameID: 323 *%%% "Toner Saver - On"
  1046. *Command: CmdSelect
  1047. {
  1048. *Order: JOB_SETUP.30
  1049. *Cmd: "@PJL SET SMOOTHING=OFF<0A>@PJL SET ECONOMODE=ON<0A>"
  1050. }
  1051. }
  1052. }
  1053. *%======== Halftone ========
  1054. *Feature: Halftone
  1055. {
  1056. *rcNameID: =HALFTONING_DISPLAY
  1057. *DefaultOption: HT_PATSIZE_AUTO
  1058. *Option: HT_PATSIZE_AUTO
  1059. {
  1060. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1061. }
  1062. *Option: HT_PATSIZE_6x6_M
  1063. {
  1064. *rcNameID: =HT_DITHER6X6_DISPLAY
  1065. }
  1066. *Option: HT_PATSIZE_8x8_M
  1067. {
  1068. *rcNameID: =HT_DITHER8X8_DISPLAY
  1069. }
  1070. *Option: HT_PATSIZE_10x10_M
  1071. {
  1072. *rcNameID: 397 *%%% "Dither 10x10"
  1073. }
  1074. }
  1075. *%======== StartJob ========
  1076. *switch: InputBin
  1077. {
  1078. *case: AUTO
  1079. {
  1080. *Command: CmdStartJob
  1081. {
  1082. *Order: JOB_SETUP.10
  1083. *Cmd: "<1B>%%-12345X@PJL SET AUTOTRAYCHANGE=ON<0A>"
  1084. }
  1085. }
  1086. *default:
  1087. {
  1088. *Command: CmdStartJob
  1089. {
  1090. *Order: JOB_SETUP.10
  1091. *Cmd: "<1B>%%-12345X@PJL SET AUTOTRAYCHANGE=OFF<0A>"
  1092. }
  1093. }
  1094. }
  1095. *%======== StartDoc ========
  1096. *Command: CmdStartDoc
  1097. {
  1098. *Order: DOC_SETUP.10
  1099. *Cmd: "<1B>&u600D<1B>*r0F"
  1100. }
  1101. *%======== StartPage ========
  1102. *Command: CmdStartPage
  1103. {
  1104. *Order: PAGE_SETUP.10
  1105. *Cmd: "<1B>*b0M<0D>"
  1106. }
  1107. *%======== EndJob ========
  1108. *Command: CmdEndJob
  1109. {
  1110. *Order: JOB_FINISH.10
  1111. *Cmd: "<1B>E<1B>%%-12345X"
  1112. }
  1113. *%======== Copies ========
  1114. *switch: Collate
  1115. {
  1116. *case: OFF
  1117. {
  1118. *Command: CmdCopies
  1119. {
  1120. *Order: DOC_SETUP.50
  1121. *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1122. }
  1123. }
  1124. *case: ON
  1125. {
  1126. *Command: CmdCopies
  1127. {
  1128. *Order: DOC_SETUP.50
  1129. *Cmd: "<1B>&l1X"
  1130. }
  1131. }
  1132. }
  1133. *%======== Capabilities ========
  1134. *RotateCoordinate?: TRUE
  1135. *RotateRaster?: TRUE
  1136. *RotateFont?: TRUE
  1137. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1138. *MemoryUsage: LIST(FONT)
  1139. *%======== Cursor Control ========
  1140. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1141. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1142. *XMoveThreshold: 0
  1143. *YMoveThreshold: 0
  1144. *XMoveUnit: 600
  1145. *YMoveUnit: 600
  1146. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2)}"X" }
  1147. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  1148. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  1149. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2)}"Y" }
  1150. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2)}"Y" }
  1151. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2)}"Y" }
  1152. *Command: CmdCR { *Cmd : "<0D>" }
  1153. *Command: CmdLF { *Cmd : "<0A>" }
  1154. *Command: CmdFF { *Cmd : "<0C>" }
  1155. *Command: CmdBackSpace { *Cmd : "<08>" }
  1156. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1157. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1158. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1159. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1160. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1161. *EjectPageWithFF?: TRUE
  1162. *%======== Raster Data ========
  1163. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1164. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1165. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1166. *OutputDataFormat: H_BYTE
  1167. *OptimizeLeftBound?: TRUE
  1168. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1169. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1170. *%======== Font ========
  1171. *DefaultFont: =RC_FONT_COURIERR
  1172. *DeviceFonts: =ALL_DEVICEFONTS
  1173. *DefaultCTT: 0
  1174. *CharPosition: BASELINE
  1175. *TTFSEnabled?: TRUE
  1176. *MinFontID: 16534
  1177. *MaxFontID: 32768
  1178. *switch: Resolution
  1179. {
  1180. *case: 600dpi
  1181. {
  1182. *FontFormat: HPPCL_OUTLINE
  1183. }
  1184. *case: 300dpi
  1185. {
  1186. *FontFormat: HPPCL_RES
  1187. }
  1188. }
  1189. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1190. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1191. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1192. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1193. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1194. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1195. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1196. *%======== RectFill ========
  1197. *MinGrayFill: 1
  1198. *MaxGrayFill: 100
  1199. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2)}"A" }
  1200. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2)}"B" }
  1201. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  1202. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1203. *Ifdef: WINNT_51
  1204. *Personality: =PERSONALITY_HPGL2
  1205. *%======== HP-GL/2 Graphics Mode ========
  1206. *Feature: GraphicsMode
  1207. {
  1208. *rcNameID: =GRAPHICSMODE_DISPLAY
  1209. *DefaultOption: HPGL2MODE
  1210. *Option: HPGL2MODE
  1211. {
  1212. *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  1213. }
  1214. *Option: RASTERMODE
  1215. {
  1216. *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  1217. }
  1218. }
  1219. *Endif: