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.

1141 lines
42 KiB

  1. *GPDSpecVersion: "1.0"
  2. *Include: "StdNames.gpd"
  3. *GPDFileVersion: "1.0"
  4. *GPDFileName: "FUF371AJ.GPD"
  5. *ModelName: "FUJITSU FMPR-371A"
  6. *MasterUnits: PAIR(360, 360)
  7. *ResourceDLL: "FUPRJRES.DLL"
  8. *PrinterType: SERIAL
  9. *PrintRate: 160
  10. *PrintRateUnit: CPS
  11. *Feature: Orientation
  12. {
  13. *rcNameID: =ORIENTATION_DISPLAY
  14. *DefaultOption: PORTRAIT
  15. *Option: PORTRAIT
  16. {
  17. *rcNameID: =PORTRAIT_DISPLAY
  18. }
  19. *Option: LANDSCAPE_CC270
  20. {
  21. *rcNameID: =LANDSCAPE_DISPLAY
  22. }
  23. }
  24. *Feature: InputBin
  25. {
  26. *rcNameID: =PAPER_SOURCE_DISPLAY
  27. *DefaultOption: MANUAL
  28. *Option: MANUAL
  29. {
  30. *rcNameID: =MANUAL_FEED_DISPLAY
  31. *Command: CmdSelect
  32. {
  33. *Order: PAGE_SETUP.5
  34. *CallbackID: 20
  35. *% Error: you must check if this command callback requires any parameters!
  36. }
  37. }
  38. *Option: TRACTOR
  39. {
  40. *rcNameID: =TRACTOR_DISPLAY
  41. *Command: CmdSelect
  42. {
  43. *Order: PAGE_SETUP.5
  44. *CallbackID: 21
  45. *% Error: you must check if this command callback requires any parameters!
  46. }
  47. }
  48. *Option: Option3
  49. {
  50. *rcNameID: 260
  51. *OptionID: 260
  52. *Command: CmdSelect
  53. {
  54. *Order: PAGE_SETUP.5
  55. *CallbackID: 22
  56. *% Error: you must check if this command callback requires any parameters!
  57. }
  58. }
  59. }
  60. *Feature: Resolution
  61. {
  62. *rcNameID: =RESOLUTION_DISPLAY
  63. *DefaultOption: Option1
  64. *Option: Option1
  65. {
  66. *Name: "180 x 180 " =DOTS_PER_INCH
  67. *DPI: PAIR(180, 180)
  68. *TextDPI: PAIR(180, 180)
  69. *PinsPerLogPass: 24
  70. *PinsPerPhysPass: 24
  71. *MinStripBlankPixels: 9
  72. *RequireUniDir?: TRUE
  73. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  74. *SpotDiameter: 140
  75. *Command: CmdSendBlockData { *Cmd : "<1B>Q" %d[0,2448]{max_repeat((NumOfDataBytes / 3) )}" W" }
  76. *Command: CmdSelect
  77. {
  78. *Order: DOC_SETUP.2
  79. *Cmd: "<1B>c<1C>$%"v"
  80. }
  81. }
  82. }
  83. *Feature: PaperSize
  84. {
  85. *rcNameID: =PAPER_SIZE_DISPLAY
  86. *DefaultOption: A4
  87. *Option: A3
  88. {
  89. *rcNameID: =A3_DISPLAY
  90. *Command: CmdSelect
  91. {
  92. *Order: DOC_SETUP.3
  93. *Cmd: "<1B>Q22 B"
  94. }
  95. *switch: InputBin
  96. {
  97. *case: MANUAL
  98. {
  99. *PrintableArea: PAIR(4066, 5354)
  100. *PrintableOrigin: PAIR(71, 300)
  101. *switch: Resolution
  102. {
  103. *case: Option1
  104. {
  105. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  106. *PrintableArea: PAIR(4064, 5354)
  107. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  108. *PrintableOrigin: PAIR(72, 300)
  109. }
  110. }
  111. }
  112. *case: TRACTOR
  113. {
  114. *PrintableArea: PAIR(4066, 5954)
  115. *PrintableOrigin: PAIR(71, 0)
  116. *switch: Resolution
  117. {
  118. *case: Option1
  119. {
  120. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  121. *PrintableArea: PAIR(4064, 5954)
  122. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  123. *PrintableOrigin: PAIR(72, 0)
  124. }
  125. }
  126. }
  127. *case: Option3
  128. {
  129. *PrintableArea: PAIR(4066, 5354)
  130. *PrintableOrigin: PAIR(71, 300)
  131. *switch: Resolution
  132. {
  133. *case: Option1
  134. {
  135. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  136. *PrintableArea: PAIR(4064, 5354)
  137. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  138. *PrintableOrigin: PAIR(72, 300)
  139. }
  140. }
  141. }
  142. }
  143. }
  144. *Option: A3_ROTATED
  145. {
  146. *rcNameID: =A3_ROTATED_DISPLAY
  147. *Command: CmdSelect
  148. {
  149. *Order: DOC_SETUP.3
  150. *Cmd: "<1B>Q22 B"
  151. }
  152. *switch: InputBin
  153. {
  154. *case: MANUAL
  155. {
  156. *PrintableArea: PAIR(4896, 3608)
  157. *PrintableOrigin: PAIR(524, 300)
  158. }
  159. *case: TRACTOR
  160. {
  161. *PrintableArea: PAIR(4896, 4208)
  162. *PrintableOrigin: PAIR(524, 0)
  163. }
  164. *case: Option3
  165. {
  166. *PrintableArea: PAIR(4896, 3608)
  167. *PrintableOrigin: PAIR(524, 300)
  168. }
  169. }
  170. }
  171. *Option: A4
  172. {
  173. *rcNameID: =A4_DISPLAY
  174. *Command: CmdSelect
  175. {
  176. *Order: DOC_SETUP.3
  177. *Cmd: "<1B>Q22 B"
  178. }
  179. *switch: InputBin
  180. {
  181. *case: MANUAL
  182. {
  183. *PrintableArea: PAIR(2835, 3608)
  184. *PrintableOrigin: PAIR(71, 300)
  185. *switch: Resolution
  186. {
  187. *case: Option1
  188. {
  189. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  190. *PrintableArea: PAIR(2834, 3608)
  191. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  192. *PrintableOrigin: PAIR(72, 300)
  193. }
  194. }
  195. }
  196. *case: TRACTOR
  197. {
  198. *PrintableArea: PAIR(2835, 4208)
  199. *PrintableOrigin: PAIR(71, 0)
  200. *switch: Resolution
  201. {
  202. *case: Option1
  203. {
  204. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  205. *PrintableArea: PAIR(2834, 4208)
  206. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  207. *PrintableOrigin: PAIR(72, 0)
  208. }
  209. }
  210. }
  211. *case: Option3
  212. {
  213. *PrintableArea: PAIR(2835, 3608)
  214. *PrintableOrigin: PAIR(71, 300)
  215. *switch: Resolution
  216. {
  217. *case: Option1
  218. {
  219. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  220. *PrintableArea: PAIR(2834, 3608)
  221. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  222. *PrintableOrigin: PAIR(72, 300)
  223. }
  224. }
  225. }
  226. }
  227. }
  228. *Option: A4_ROTATED
  229. {
  230. *rcNameID: =A4_ROTATED_DISPLAY
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.3
  234. *Cmd: "<1B>Q22 B"
  235. }
  236. *switch: InputBin
  237. {
  238. *case: MANUAL
  239. {
  240. *PrintableArea: PAIR(4066, 2377)
  241. *PrintableOrigin: PAIR(71, 300)
  242. *switch: Resolution
  243. {
  244. *case: Option1
  245. {
  246. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  247. *% Warning: the following printable length is adjusted (2377->2376) so it is divisible by the resolution Y scale.
  248. *PrintableArea: PAIR(4064, 2376)
  249. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  250. *PrintableOrigin: PAIR(72, 300)
  251. }
  252. }
  253. }
  254. *case: TRACTOR
  255. {
  256. *PrintableArea: PAIR(4066, 2977)
  257. *PrintableOrigin: PAIR(71, 0)
  258. *switch: Resolution
  259. {
  260. *case: Option1
  261. {
  262. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  263. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  264. *PrintableArea: PAIR(4064, 2976)
  265. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  266. *PrintableOrigin: PAIR(72, 0)
  267. }
  268. }
  269. }
  270. *case: Option3
  271. {
  272. *PrintableArea: PAIR(4066, 2377)
  273. *PrintableOrigin: PAIR(71, 300)
  274. *switch: Resolution
  275. {
  276. *case: Option1
  277. {
  278. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  279. *% Warning: the following printable length is adjusted (2377->2376) so it is divisible by the resolution Y scale.
  280. *PrintableArea: PAIR(4064, 2376)
  281. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  282. *PrintableOrigin: PAIR(72, 300)
  283. }
  284. }
  285. }
  286. }
  287. }
  288. *Option: A5
  289. {
  290. *rcNameID: =A5_DISPLAY
  291. *Command: CmdSelect
  292. {
  293. *Order: DOC_SETUP.3
  294. *Cmd: "<1B>Q22 B"
  295. }
  296. *switch: InputBin
  297. {
  298. *case: MANUAL
  299. {
  300. *PrintableArea: PAIR(1957, 2377)
  301. *PrintableOrigin: PAIR(71, 300)
  302. *switch: Resolution
  303. {
  304. *case: Option1
  305. {
  306. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  307. *% Warning: the following printable length is adjusted (2377->2376) so it is divisible by the resolution Y scale.
  308. *PrintableArea: PAIR(1956, 2376)
  309. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  310. *PrintableOrigin: PAIR(72, 300)
  311. }
  312. }
  313. }
  314. *case: TRACTOR
  315. {
  316. *PrintableArea: PAIR(1957, 2977)
  317. *PrintableOrigin: PAIR(71, 0)
  318. *switch: Resolution
  319. {
  320. *case: Option1
  321. {
  322. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  323. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  324. *PrintableArea: PAIR(1956, 2976)
  325. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  326. *PrintableOrigin: PAIR(72, 0)
  327. }
  328. }
  329. }
  330. *case: Option3
  331. {
  332. *PrintableArea: PAIR(1957, 2377)
  333. *PrintableOrigin: PAIR(71, 300)
  334. *switch: Resolution
  335. {
  336. *case: Option1
  337. {
  338. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  339. *% Warning: the following printable length is adjusted (2377->2376) so it is divisible by the resolution Y scale.
  340. *PrintableArea: PAIR(1956, 2376)
  341. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  342. *PrintableOrigin: PAIR(72, 300)
  343. }
  344. }
  345. }
  346. }
  347. }
  348. *Option: A5_ROTATED
  349. {
  350. *rcNameID: =A5_ROTATED_DISPLAY
  351. *Command: CmdSelect
  352. {
  353. *Order: DOC_SETUP.3
  354. *Cmd: "<1B>Q22 B"
  355. }
  356. *switch: InputBin
  357. {
  358. *case: MANUAL
  359. {
  360. *PrintableArea: PAIR(2835, 1499)
  361. *PrintableOrigin: PAIR(71, 300)
  362. *switch: Resolution
  363. {
  364. *case: Option1
  365. {
  366. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  367. *% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
  368. *PrintableArea: PAIR(2834, 1498)
  369. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  370. *PrintableOrigin: PAIR(72, 300)
  371. }
  372. }
  373. }
  374. *case: TRACTOR
  375. {
  376. *PrintableArea: PAIR(2835, 2099)
  377. *PrintableOrigin: PAIR(71, 0)
  378. *switch: Resolution
  379. {
  380. *case: Option1
  381. {
  382. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  383. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  384. *PrintableArea: PAIR(2834, 2098)
  385. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  386. *PrintableOrigin: PAIR(72, 0)
  387. }
  388. }
  389. }
  390. *case: Option3
  391. {
  392. *PrintableArea: PAIR(2835, 1499)
  393. *PrintableOrigin: PAIR(71, 300)
  394. *switch: Resolution
  395. {
  396. *case: Option1
  397. {
  398. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  399. *% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
  400. *PrintableArea: PAIR(2834, 1498)
  401. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  402. *PrintableOrigin: PAIR(72, 300)
  403. }
  404. }
  405. }
  406. }
  407. }
  408. *Option: B4
  409. {
  410. *rcNameID: =B4_DISPLAY
  411. *Command: CmdSelect
  412. {
  413. *Order: DOC_SETUP.3
  414. *Cmd: "<1B>Q22 B"
  415. }
  416. *switch: InputBin
  417. {
  418. *case: MANUAL
  419. {
  420. *PrintableArea: PAIR(3501, 4559)
  421. *PrintableOrigin: PAIR(71, 300)
  422. *switch: Resolution
  423. {
  424. *case: Option1
  425. {
  426. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  427. *% Warning: the following printable length is adjusted (4559->4558) so it is divisible by the resolution Y scale.
  428. *PrintableArea: PAIR(3500, 4558)
  429. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  430. *PrintableOrigin: PAIR(72, 300)
  431. }
  432. }
  433. }
  434. *case: TRACTOR
  435. {
  436. *PrintableArea: PAIR(3501, 5159)
  437. *PrintableOrigin: PAIR(71, 0)
  438. *switch: Resolution
  439. {
  440. *case: Option1
  441. {
  442. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  443. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  444. *PrintableArea: PAIR(3500, 5158)
  445. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  446. *PrintableOrigin: PAIR(72, 0)
  447. }
  448. }
  449. }
  450. *case: Option3
  451. {
  452. *PrintableArea: PAIR(3501, 4559)
  453. *PrintableOrigin: PAIR(71, 300)
  454. *switch: Resolution
  455. {
  456. *case: Option1
  457. {
  458. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  459. *% Warning: the following printable length is adjusted (4559->4558) so it is divisible by the resolution Y scale.
  460. *PrintableArea: PAIR(3500, 4558)
  461. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  462. *PrintableOrigin: PAIR(72, 300)
  463. }
  464. }
  465. }
  466. }
  467. }
  468. *Option: B4_JIS_ROTATED
  469. {
  470. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  471. *Command: CmdSelect
  472. {
  473. *Order: DOC_SETUP.3
  474. *Cmd: "<1B>Q22 B"
  475. }
  476. *switch: InputBin
  477. {
  478. *case: MANUAL
  479. {
  480. *PrintableArea: PAIR(4890, 3043)
  481. *PrintableOrigin: PAIR(71, 300)
  482. *switch: Resolution
  483. {
  484. *case: Option1
  485. {
  486. *% Warning: the following printable width is adjusted (4890->4888) so it is divisible by the resolution X scale.
  487. *% Warning: the following printable length is adjusted (3043->3042) so it is divisible by the resolution Y scale.
  488. *PrintableArea: PAIR(4888, 3042)
  489. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  490. *PrintableOrigin: PAIR(72, 300)
  491. }
  492. }
  493. }
  494. *case: TRACTOR
  495. {
  496. *PrintableArea: PAIR(4890, 3643)
  497. *PrintableOrigin: PAIR(71, 0)
  498. *switch: Resolution
  499. {
  500. *case: Option1
  501. {
  502. *% Warning: the following printable width is adjusted (4890->4888) so it is divisible by the resolution X scale.
  503. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  504. *PrintableArea: PAIR(4888, 3642)
  505. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  506. *PrintableOrigin: PAIR(72, 0)
  507. }
  508. }
  509. }
  510. *case: Option3
  511. {
  512. *PrintableArea: PAIR(4890, 3043)
  513. *PrintableOrigin: PAIR(71, 300)
  514. *switch: Resolution
  515. {
  516. *case: Option1
  517. {
  518. *% Warning: the following printable width is adjusted (4890->4888) so it is divisible by the resolution X scale.
  519. *% Warning: the following printable length is adjusted (3043->3042) so it is divisible by the resolution Y scale.
  520. *PrintableArea: PAIR(4888, 3042)
  521. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  522. *PrintableOrigin: PAIR(72, 300)
  523. }
  524. }
  525. }
  526. }
  527. }
  528. *Option: B5
  529. {
  530. *rcNameID: =B5_DISPLAY
  531. *Command: CmdSelect
  532. {
  533. *Order: DOC_SETUP.3
  534. *Cmd: "<1B>Q22 B"
  535. }
  536. *switch: InputBin
  537. {
  538. *case: MANUAL
  539. {
  540. *PrintableArea: PAIR(2439, 3043)
  541. *PrintableOrigin: PAIR(71, 300)
  542. *switch: Resolution
  543. {
  544. *case: Option1
  545. {
  546. *% Warning: the following printable width is adjusted (2439->2438) so it is divisible by the resolution X scale.
  547. *% Warning: the following printable length is adjusted (3043->3042) so it is divisible by the resolution Y scale.
  548. *PrintableArea: PAIR(2438, 3042)
  549. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  550. *PrintableOrigin: PAIR(72, 300)
  551. }
  552. }
  553. }
  554. *case: TRACTOR
  555. {
  556. *PrintableArea: PAIR(2439, 3643)
  557. *PrintableOrigin: PAIR(71, 0)
  558. *switch: Resolution
  559. {
  560. *case: Option1
  561. {
  562. *% Warning: the following printable width is adjusted (2439->2438) so it is divisible by the resolution X scale.
  563. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  564. *PrintableArea: PAIR(2438, 3642)
  565. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  566. *PrintableOrigin: PAIR(72, 0)
  567. }
  568. }
  569. }
  570. *case: Option3
  571. {
  572. *PrintableArea: PAIR(2439, 3043)
  573. *PrintableOrigin: PAIR(71, 300)
  574. *switch: Resolution
  575. {
  576. *case: Option1
  577. {
  578. *% Warning: the following printable width is adjusted (2439->2438) so it is divisible by the resolution X scale.
  579. *% Warning: the following printable length is adjusted (3043->3042) so it is divisible by the resolution Y scale.
  580. *PrintableArea: PAIR(2438, 3042)
  581. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  582. *PrintableOrigin: PAIR(72, 300)
  583. }
  584. }
  585. }
  586. }
  587. }
  588. *Option: B5_JIS_ROTATED
  589. {
  590. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  591. *Command: CmdSelect
  592. {
  593. *Order: DOC_SETUP.3
  594. *Cmd: "<1B>Q22 B"
  595. }
  596. *switch: InputBin
  597. {
  598. *case: MANUAL
  599. {
  600. *PrintableArea: PAIR(3501, 1981)
  601. *PrintableOrigin: PAIR(71, 300)
  602. *switch: Resolution
  603. {
  604. *case: Option1
  605. {
  606. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  607. *% Warning: the following printable length is adjusted (1981->1980) so it is divisible by the resolution Y scale.
  608. *PrintableArea: PAIR(3500, 1980)
  609. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  610. *PrintableOrigin: PAIR(72, 300)
  611. }
  612. }
  613. }
  614. *case: TRACTOR
  615. {
  616. *PrintableArea: PAIR(3501, 2581)
  617. *PrintableOrigin: PAIR(71, 0)
  618. *switch: Resolution
  619. {
  620. *case: Option1
  621. {
  622. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  623. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  624. *PrintableArea: PAIR(3500, 2580)
  625. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  626. *PrintableOrigin: PAIR(72, 0)
  627. }
  628. }
  629. }
  630. *case: Option3
  631. {
  632. *PrintableArea: PAIR(3501, 1981)
  633. *PrintableOrigin: PAIR(71, 300)
  634. *switch: Resolution
  635. {
  636. *case: Option1
  637. {
  638. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  639. *% Warning: the following printable length is adjusted (1981->1980) so it is divisible by the resolution Y scale.
  640. *PrintableArea: PAIR(3500, 1980)
  641. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  642. *PrintableOrigin: PAIR(72, 300)
  643. }
  644. }
  645. }
  646. }
  647. }
  648. *Option: 10X11
  649. {
  650. *rcNameID: =10X11_DISPLAY
  651. *Command: CmdSelect
  652. {
  653. *Order: DOC_SETUP.3
  654. *Cmd: "<1B>Q22 B"
  655. }
  656. *switch: InputBin
  657. {
  658. *case: MANUAL
  659. {
  660. *PrintableArea: PAIR(2880, 3360)
  661. *PrintableOrigin: PAIR(360, 300)
  662. }
  663. *case: TRACTOR
  664. {
  665. *PrintableArea: PAIR(2880, 3960)
  666. *PrintableOrigin: PAIR(360, 0)
  667. }
  668. *case: Option3
  669. {
  670. *PrintableArea: PAIR(2880, 3360)
  671. *PrintableOrigin: PAIR(360, 300)
  672. }
  673. }
  674. }
  675. *Option: 15X11
  676. {
  677. *rcNameID: =15X11_DISPLAY
  678. *Command: CmdSelect
  679. {
  680. *Order: DOC_SETUP.3
  681. *Cmd: "<1B>Q22 B"
  682. }
  683. *switch: InputBin
  684. {
  685. *case: MANUAL
  686. {
  687. *PrintableArea: PAIR(4896, 3360)
  688. *PrintableOrigin: PAIR(252, 300)
  689. }
  690. *case: TRACTOR
  691. {
  692. *PrintableArea: PAIR(4896, 3960)
  693. *PrintableOrigin: PAIR(252, 0)
  694. }
  695. *case: Option3
  696. {
  697. *PrintableArea: PAIR(4896, 3360)
  698. *PrintableOrigin: PAIR(252, 300)
  699. }
  700. }
  701. }
  702. *Option: JAPANESE_POSTCARD
  703. {
  704. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  705. *Command: CmdSelect
  706. {
  707. *Order: DOC_SETUP.3
  708. *Cmd: "<1B>Q22 B"
  709. }
  710. *switch: InputBin
  711. {
  712. *case: MANUAL
  713. {
  714. *PrintableArea: PAIR(1276, 1499)
  715. *PrintableOrigin: PAIR(71, 300)
  716. *switch: Resolution
  717. {
  718. *case: Option1
  719. {
  720. *% Warning: the following printable width is adjusted (1276->1274) so it is divisible by the resolution X scale.
  721. *% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
  722. *PrintableArea: PAIR(1274, 1498)
  723. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  724. *PrintableOrigin: PAIR(72, 300)
  725. }
  726. }
  727. }
  728. *case: TRACTOR
  729. {
  730. *PrintableArea: PAIR(1276, 2099)
  731. *PrintableOrigin: PAIR(71, 0)
  732. *switch: Resolution
  733. {
  734. *case: Option1
  735. {
  736. *% Warning: the following printable width is adjusted (1276->1274) so it is divisible by the resolution X scale.
  737. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  738. *PrintableArea: PAIR(1274, 2098)
  739. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  740. *PrintableOrigin: PAIR(72, 0)
  741. }
  742. }
  743. }
  744. *case: Option3
  745. {
  746. *PrintableArea: PAIR(1276, 1499)
  747. *PrintableOrigin: PAIR(71, 300)
  748. *switch: Resolution
  749. {
  750. *case: Option1
  751. {
  752. *% Warning: the following printable width is adjusted (1276->1274) so it is divisible by the resolution X scale.
  753. *% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
  754. *PrintableArea: PAIR(1274, 1498)
  755. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  756. *PrintableOrigin: PAIR(72, 300)
  757. }
  758. }
  759. }
  760. }
  761. }
  762. *Option: JAPANESE_POSTCARD_ROTATED
  763. {
  764. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  765. *Command: CmdSelect
  766. {
  767. *Order: DOC_SETUP.3
  768. *Cmd: "<1B>Q22 B"
  769. }
  770. *switch: InputBin
  771. {
  772. *case: MANUAL
  773. {
  774. *PrintableArea: PAIR(1957, 818)
  775. *PrintableOrigin: PAIR(71, 300)
  776. *switch: Resolution
  777. {
  778. *case: Option1
  779. {
  780. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  781. *PrintableArea: PAIR(1956, 818)
  782. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  783. *PrintableOrigin: PAIR(72, 300)
  784. }
  785. }
  786. }
  787. *case: TRACTOR
  788. {
  789. *PrintableArea: PAIR(1957, 1418)
  790. *PrintableOrigin: PAIR(71, 0)
  791. *switch: Resolution
  792. {
  793. *case: Option1
  794. {
  795. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  796. *PrintableArea: PAIR(1956, 1418)
  797. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  798. *PrintableOrigin: PAIR(72, 0)
  799. }
  800. }
  801. }
  802. *case: Option3
  803. {
  804. *PrintableArea: PAIR(1957, 818)
  805. *PrintableOrigin: PAIR(71, 300)
  806. *switch: Resolution
  807. {
  808. *case: Option1
  809. {
  810. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  811. *PrintableArea: PAIR(1956, 818)
  812. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  813. *PrintableOrigin: PAIR(72, 300)
  814. }
  815. }
  816. }
  817. }
  818. }
  819. *Option: DBL_JAPANESE_POSTCARD
  820. {
  821. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  822. *Command: CmdSelect
  823. {
  824. *Order: DOC_SETUP.3
  825. *Cmd: "<1B>Q22 B"
  826. }
  827. *switch: InputBin
  828. {
  829. *case: MANUAL
  830. {
  831. *PrintableArea: PAIR(2691, 1499)
  832. *PrintableOrigin: PAIR(71, 300)
  833. *switch: Resolution
  834. {
  835. *case: Option1
  836. {
  837. *% Warning: the following printable width is adjusted (2691->2690) so it is divisible by the resolution X scale.
  838. *% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
  839. *PrintableArea: PAIR(2690, 1498)
  840. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  841. *PrintableOrigin: PAIR(72, 300)
  842. }
  843. }
  844. }
  845. *case: TRACTOR
  846. {
  847. *PrintableArea: PAIR(2691, 2099)
  848. *PrintableOrigin: PAIR(71, 0)
  849. *switch: Resolution
  850. {
  851. *case: Option1
  852. {
  853. *% Warning: the following printable width is adjusted (2691->2690) so it is divisible by the resolution X scale.
  854. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  855. *PrintableArea: PAIR(2690, 2098)
  856. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  857. *PrintableOrigin: PAIR(72, 0)
  858. }
  859. }
  860. }
  861. *case: Option3
  862. {
  863. *PrintableArea: PAIR(2691, 1499)
  864. *PrintableOrigin: PAIR(71, 300)
  865. *switch: Resolution
  866. {
  867. *case: Option1
  868. {
  869. *% Warning: the following printable width is adjusted (2691->2690) so it is divisible by the resolution X scale.
  870. *% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
  871. *PrintableArea: PAIR(2690, 1498)
  872. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  873. *PrintableOrigin: PAIR(72, 300)
  874. }
  875. }
  876. }
  877. }
  878. }
  879. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  880. {
  881. *rcNameID: =DBL_JAPANESE_POSTCARD_ROTATED_DISPLAY
  882. *Command: CmdSelect
  883. {
  884. *Order: DOC_SETUP.3
  885. *Cmd: "<1B>Q22 B"
  886. }
  887. *switch: InputBin
  888. {
  889. *case: MANUAL
  890. {
  891. *PrintableArea: PAIR(1957, 2233)
  892. *PrintableOrigin: PAIR(71, 300)
  893. *switch: Resolution
  894. {
  895. *case: Option1
  896. {
  897. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  898. *% Warning: the following printable length is adjusted (2233->2232) so it is divisible by the resolution Y scale.
  899. *PrintableArea: PAIR(1956, 2232)
  900. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  901. *PrintableOrigin: PAIR(72, 300)
  902. }
  903. }
  904. }
  905. *case: TRACTOR
  906. {
  907. *PrintableArea: PAIR(1957, 2833)
  908. *PrintableOrigin: PAIR(71, 0)
  909. *switch: Resolution
  910. {
  911. *case: Option1
  912. {
  913. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  914. *% Warning: the following printable length is adjusted (2833->2832) so it is divisible by the resolution Y scale.
  915. *PrintableArea: PAIR(1956, 2832)
  916. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  917. *PrintableOrigin: PAIR(72, 0)
  918. }
  919. }
  920. }
  921. *case: Option3
  922. {
  923. *PrintableArea: PAIR(1957, 2233)
  924. *PrintableOrigin: PAIR(71, 300)
  925. *switch: Resolution
  926. {
  927. *case: Option1
  928. {
  929. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  930. *% Warning: the following printable length is adjusted (2233->2232) so it is divisible by the resolution Y scale.
  931. *PrintableArea: PAIR(1956, 2232)
  932. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  933. *PrintableOrigin: PAIR(72, 300)
  934. }
  935. }
  936. }
  937. }
  938. }
  939. *Option: LETTER
  940. {
  941. *rcNameID: =LETTER_DISPLAY
  942. *Command: CmdSelect
  943. {
  944. *Order: DOC_SETUP.3
  945. *Cmd: "<1B>Q22 B"
  946. }
  947. *switch: InputBin
  948. {
  949. *case: MANUAL
  950. {
  951. *PrintableArea: PAIR(2918, 3360)
  952. *PrintableOrigin: PAIR(71, 300)
  953. *switch: Resolution
  954. {
  955. *case: Option1
  956. {
  957. *% Warning: the following printable width is adjusted (2918->2916) so it is divisible by the resolution X scale.
  958. *PrintableArea: PAIR(2916, 3360)
  959. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  960. *PrintableOrigin: PAIR(72, 300)
  961. }
  962. }
  963. }
  964. *case: TRACTOR
  965. {
  966. *PrintableArea: PAIR(2918, 3960)
  967. *PrintableOrigin: PAIR(71, 0)
  968. *switch: Resolution
  969. {
  970. *case: Option1
  971. {
  972. *% Warning: the following printable width is adjusted (2918->2916) so it is divisible by the resolution X scale.
  973. *PrintableArea: PAIR(2916, 3960)
  974. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  975. *PrintableOrigin: PAIR(72, 0)
  976. }
  977. }
  978. }
  979. *case: Option3
  980. {
  981. *PrintableArea: PAIR(2918, 3360)
  982. *PrintableOrigin: PAIR(71, 300)
  983. *switch: Resolution
  984. {
  985. *case: Option1
  986. {
  987. *% Warning: the following printable width is adjusted (2918->2916) so it is divisible by the resolution X scale.
  988. *PrintableArea: PAIR(2916, 3360)
  989. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  990. *PrintableOrigin: PAIR(72, 300)
  991. }
  992. }
  993. }
  994. }
  995. }
  996. *Option: CUSTOMSIZE
  997. {
  998. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  999. *MinSize: PAIR(709, 709)
  1000. *MaxSize: PAIR(4896, 5954)
  1001. *MaxPrintableWidth: 4896
  1002. *MinLeftMargin: 0
  1003. *CenterPrintable?: FALSE
  1004. *switch: InputBin
  1005. {
  1006. *case: MANUAL
  1007. {
  1008. *TopMargin: 300
  1009. *BottomMargin: 300
  1010. }
  1011. *case: TRACTOR
  1012. {
  1013. *TopMargin: 0
  1014. *BottomMargin: 0
  1015. }
  1016. *case: Option3
  1017. {
  1018. *TopMargin: 300
  1019. *BottomMargin: 300
  1020. }
  1021. }
  1022. *Command: CmdSelect
  1023. {
  1024. *Order: DOC_SETUP.3
  1025. *Cmd: "<1B>Q22 B"
  1026. }
  1027. }
  1028. }
  1029. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.10X11)
  1030. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.15X11)
  1031. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A3)
  1032. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A3_ROTATED)
  1033. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A4)
  1034. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A4_ROTATED)
  1035. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A5)
  1036. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A5_ROTATED)
  1037. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B4)
  1038. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B4_JIS_ROTATED)
  1039. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B5)
  1040. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B5_JIS_ROTATED)
  1041. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.JAPANESE_POSTCARD)
  1042. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1043. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD)
  1044. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1045. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LETTER)
  1046. *InvalidCombination: LIST(InputBin.Option3, PaperSize.10X11)
  1047. *InvalidCombination: LIST(InputBin.Option3, PaperSize.15X11)
  1048. *Feature: Halftone
  1049. {
  1050. *rcNameID: =HALFTONING_DISPLAY
  1051. *DefaultOption: HT_PATSIZE_AUTO
  1052. *Option: HT_PATSIZE_AUTO
  1053. {
  1054. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1055. }
  1056. *Option: HT_PATSIZE_SUPERCELL_M
  1057. {
  1058. *rcNameID: =HT_SUPERCELL_DISPLAY
  1059. }
  1060. *Option: HT_PATSIZE_6x6_M
  1061. {
  1062. *rcNameID: =HT_DITHER6X6_DISPLAY
  1063. }
  1064. *Option: HT_PATSIZE_8x8_M
  1065. {
  1066. *rcNameID: =HT_DITHER8X8_DISPLAY
  1067. }
  1068. }
  1069. *Command: CmdStartDoc
  1070. {
  1071. *Order: DOC_SETUP.1
  1072. *CallbackID: 3
  1073. *% Error: you must check if this command callback requires any parameters!
  1074. }
  1075. *Command: CmdStartPage
  1076. {
  1077. *Order: PAGE_SETUP.1
  1078. *CallbackID: 1
  1079. *% Error: you must check if this command callback requires any parameters!
  1080. }
  1081. *Command: CmdEndJob
  1082. {
  1083. *Order: JOB_FINISH.1
  1084. *CallbackID: 4
  1085. *% Error: you must check if this command callback requires any parameters!
  1086. }
  1087. *Command: CmdEndPage
  1088. {
  1089. *Order: PAGE_FINISH.1
  1090. *CallbackID: 2
  1091. *% Error: you must check if this command callback requires any parameters!
  1092. }
  1093. *RotateCoordinate?: FALSE
  1094. *RotateRaster?: FALSE
  1095. *RotateFont?: FALSE
  1096. *switch: Orientation
  1097. {
  1098. *case: PORTRAIT
  1099. {
  1100. *TextCaps: LIST(TC_UA_ABLE,TC_RA_ABLE)
  1101. }
  1102. *case: LANDSCAPE_CC270
  1103. {
  1104. *TextCaps: LIST(TC_RA_ABLE)
  1105. }
  1106. }
  1107. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1108. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1109. *MaxLineSpacing: 60
  1110. *XMoveThreshold: 0
  1111. *YMoveThreshold: *
  1112. *XMoveUnit: 180
  1113. *YMoveUnit: 180
  1114. *Command: CmdXMoveAbsolute { *Cmd : "<1B>[" %d{(DestX + 1) / 2}"`" }
  1115. *Command: CmdYMoveRelDown { *Cmd : "<1B>[" %d[1,2520]{max_repeat((DestYRel / 2) )}"e" }
  1116. *Command: CmdSetLineSpacing { *Cmd : "<1B>Q" %d[1,60]{(LinefeedSpacing / 2) }";180 G" }
  1117. *Command: CmdCR { *Cmd : "<0D>" }
  1118. *Command: CmdLF { *Cmd : "<0A>" }
  1119. *Command: CmdFF { *Cmd : "<0C>" }
  1120. *Command: CmdBackSpace { *Cmd : "<08>" }
  1121. *Command: CmdUniDirectionOn { *Cmd : "<1B>Q1 `" }
  1122. *EjectPageWithFF?: FALSE
  1123. *OutputDataFormat: V_BYTE
  1124. *OptimizeLeftBound?: TRUE
  1125. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1126. *CursorYAfterSendBlockData: NO_MOVE
  1127. *DefaultFont: 1
  1128. *DefaultCTT: 0
  1129. *switch: Orientation
  1130. {
  1131. *case: PORTRAIT
  1132. {
  1133. *DeviceFonts: LIST(1,4)
  1134. }
  1135. *case: LANDSCAPE_CC270
  1136. {
  1137. *DeviceFonts: LIST()
  1138. }
  1139. }
  1140. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>(H" }
  1141. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>$B" }