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.

889 lines
31 KiB

  1. *GPDSpecVersion: "1.0"
  2. *Include: "StdNames.gpd"
  3. *GPDFileVersion: "1.0"
  4. *GPDFileName: "FUF671FJ.GPD"
  5. *ModelName: "FUJITSU FMPR-671"
  6. *MasterUnits: PAIR(360, 360)
  7. *ResourceDLL: "FUPRJRES.DLL"
  8. *PrinterType: SERIAL
  9. *PrintRate: 100
  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: TRACTOR
  28. *Option: TRACTOR
  29. {
  30. *rcNameID: =TRACTOR_DISPLAY
  31. *Command: CmdSelect
  32. {
  33. *Order: PAGE_SETUP.5
  34. *CallbackID: 21
  35. *% Error: you must check if this command callback requires any parameters!
  36. }
  37. }
  38. *Option: Option2
  39. {
  40. *rcNameID: 260
  41. *OptionID: 260
  42. *Command: CmdSelect
  43. {
  44. *Order: PAGE_SETUP.5
  45. *CallbackID: 30
  46. *% Error: you must check if this command callback requires any parameters!
  47. }
  48. }
  49. }
  50. *Feature: Resolution
  51. {
  52. *rcNameID: =RESOLUTION_DISPLAY
  53. *DefaultOption: Option1
  54. *Option: Option1
  55. {
  56. *Name: "180 x 180 " =DOTS_PER_INCH
  57. *DPI: PAIR(180, 180)
  58. *TextDPI: PAIR(180, 180)
  59. *PinsPerLogPass: 24
  60. *PinsPerPhysPass: 24
  61. *MinStripBlankPixels: 9
  62. *RequireUniDir?: TRUE
  63. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  64. *SpotDiameter: 140
  65. *Command: CmdSendBlockData { *Cmd : "<1B>Q" %d[0,2448]{max_repeat((NumOfDataBytes / 3) )}" W" }
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.2
  69. *Cmd: "<1B>c<1C>$%"v"
  70. }
  71. }
  72. }
  73. *Feature: PaperSize
  74. {
  75. *rcNameID: =PAPER_SIZE_DISPLAY
  76. *DefaultOption: A4
  77. *Option: A3
  78. {
  79. *rcNameID: =A3_DISPLAY
  80. *Command: CmdSelect
  81. {
  82. *Order: DOC_SETUP.3
  83. *Cmd: "<1B>Q22 B"
  84. }
  85. *switch: InputBin
  86. {
  87. *case: TRACTOR
  88. {
  89. *PrintableArea: PAIR(4066, 5954)
  90. *PrintableOrigin: PAIR(71, 0)
  91. *switch: Resolution
  92. {
  93. *case: Option1
  94. {
  95. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  96. *PrintableArea: PAIR(4064, 5954)
  97. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  98. *PrintableOrigin: PAIR(72, 0)
  99. }
  100. }
  101. }
  102. *case: Option2
  103. {
  104. *PrintableArea: PAIR(4066, 5458)
  105. *PrintableOrigin: PAIR(71, 312)
  106. *switch: Resolution
  107. {
  108. *case: Option1
  109. {
  110. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  111. *PrintableArea: PAIR(4064, 5458)
  112. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  113. *PrintableOrigin: PAIR(72, 312)
  114. }
  115. }
  116. }
  117. }
  118. }
  119. *Option: A3_ROTATED
  120. {
  121. *rcNameID: =A3_ROTATED_DISPLAY
  122. *Command: CmdSelect
  123. {
  124. *Order: DOC_SETUP.3
  125. *Cmd: "<1B>Q22 B"
  126. }
  127. *switch: InputBin
  128. {
  129. *case: TRACTOR
  130. {
  131. *PrintableArea: PAIR(4896, 4208)
  132. *PrintableOrigin: PAIR(524, 0)
  133. }
  134. *case: Option2
  135. {
  136. *PrintableArea: PAIR(4896, 3712)
  137. *PrintableOrigin: PAIR(524, 312)
  138. }
  139. }
  140. }
  141. *Option: A4
  142. {
  143. *rcNameID: =A4_DISPLAY
  144. *Command: CmdSelect
  145. {
  146. *Order: DOC_SETUP.3
  147. *Cmd: "<1B>Q22 B"
  148. }
  149. *switch: InputBin
  150. {
  151. *case: TRACTOR
  152. {
  153. *PrintableArea: PAIR(2835, 4208)
  154. *PrintableOrigin: PAIR(71, 0)
  155. *switch: Resolution
  156. {
  157. *case: Option1
  158. {
  159. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  160. *PrintableArea: PAIR(2834, 4208)
  161. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  162. *PrintableOrigin: PAIR(72, 0)
  163. }
  164. }
  165. }
  166. *case: Option2
  167. {
  168. *PrintableArea: PAIR(2835, 3712)
  169. *PrintableOrigin: PAIR(71, 312)
  170. *switch: Resolution
  171. {
  172. *case: Option1
  173. {
  174. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  175. *PrintableArea: PAIR(2834, 3712)
  176. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  177. *PrintableOrigin: PAIR(72, 312)
  178. }
  179. }
  180. }
  181. }
  182. }
  183. *Option: A4_ROTATED
  184. {
  185. *rcNameID: =A4_ROTATED_DISPLAY
  186. *Command: CmdSelect
  187. {
  188. *Order: DOC_SETUP.3
  189. *Cmd: "<1B>Q22 B"
  190. }
  191. *switch: InputBin
  192. {
  193. *case: TRACTOR
  194. {
  195. *PrintableArea: PAIR(4066, 2977)
  196. *PrintableOrigin: PAIR(71, 0)
  197. *switch: Resolution
  198. {
  199. *case: Option1
  200. {
  201. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  202. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  203. *PrintableArea: PAIR(4064, 2976)
  204. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  205. *PrintableOrigin: PAIR(72, 0)
  206. }
  207. }
  208. }
  209. *case: Option2
  210. {
  211. *PrintableArea: PAIR(4066, 2481)
  212. *PrintableOrigin: PAIR(71, 312)
  213. *switch: Resolution
  214. {
  215. *case: Option1
  216. {
  217. *% Warning: the following printable width is adjusted (4066->4064) so it is divisible by the resolution X scale.
  218. *% Warning: the following printable length is adjusted (2481->2480) so it is divisible by the resolution Y scale.
  219. *PrintableArea: PAIR(4064, 2480)
  220. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  221. *PrintableOrigin: PAIR(72, 312)
  222. }
  223. }
  224. }
  225. }
  226. }
  227. *Option: A5
  228. {
  229. *rcNameID: =A5_DISPLAY
  230. *Command: CmdSelect
  231. {
  232. *Order: DOC_SETUP.3
  233. *Cmd: "<1B>Q22 B"
  234. }
  235. *switch: InputBin
  236. {
  237. *case: TRACTOR
  238. {
  239. *PrintableArea: PAIR(1957, 2977)
  240. *PrintableOrigin: PAIR(71, 0)
  241. *switch: Resolution
  242. {
  243. *case: Option1
  244. {
  245. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  246. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  247. *PrintableArea: PAIR(1956, 2976)
  248. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  249. *PrintableOrigin: PAIR(72, 0)
  250. }
  251. }
  252. }
  253. *case: Option2
  254. {
  255. *PrintableArea: PAIR(1957, 2481)
  256. *PrintableOrigin: PAIR(71, 312)
  257. *switch: Resolution
  258. {
  259. *case: Option1
  260. {
  261. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  262. *% Warning: the following printable length is adjusted (2481->2480) so it is divisible by the resolution Y scale.
  263. *PrintableArea: PAIR(1956, 2480)
  264. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  265. *PrintableOrigin: PAIR(72, 312)
  266. }
  267. }
  268. }
  269. }
  270. }
  271. *Option: A5_ROTATED
  272. {
  273. *rcNameID: =A5_ROTATED_DISPLAY
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.3
  277. *Cmd: "<1B>Q22 B"
  278. }
  279. *switch: InputBin
  280. {
  281. *case: TRACTOR
  282. {
  283. *PrintableArea: PAIR(2835, 2099)
  284. *PrintableOrigin: PAIR(71, 0)
  285. *switch: Resolution
  286. {
  287. *case: Option1
  288. {
  289. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  290. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  291. *PrintableArea: PAIR(2834, 2098)
  292. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  293. *PrintableOrigin: PAIR(72, 0)
  294. }
  295. }
  296. }
  297. *case: Option2
  298. {
  299. *PrintableArea: PAIR(2835, 1603)
  300. *PrintableOrigin: PAIR(71, 312)
  301. *switch: Resolution
  302. {
  303. *case: Option1
  304. {
  305. *% Warning: the following printable width is adjusted (2835->2834) so it is divisible by the resolution X scale.
  306. *% Warning: the following printable length is adjusted (1603->1602) so it is divisible by the resolution Y scale.
  307. *PrintableArea: PAIR(2834, 1602)
  308. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  309. *PrintableOrigin: PAIR(72, 312)
  310. }
  311. }
  312. }
  313. }
  314. }
  315. *Option: B4
  316. {
  317. *rcNameID: =B4_DISPLAY
  318. *Command: CmdSelect
  319. {
  320. *Order: DOC_SETUP.3
  321. *Cmd: "<1B>Q22 B"
  322. }
  323. *switch: InputBin
  324. {
  325. *case: TRACTOR
  326. {
  327. *PrintableArea: PAIR(3501, 5159)
  328. *PrintableOrigin: PAIR(71, 0)
  329. *switch: Resolution
  330. {
  331. *case: Option1
  332. {
  333. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  334. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  335. *PrintableArea: PAIR(3500, 5158)
  336. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  337. *PrintableOrigin: PAIR(72, 0)
  338. }
  339. }
  340. }
  341. *case: Option2
  342. {
  343. *PrintableArea: PAIR(3501, 4663)
  344. *PrintableOrigin: PAIR(71, 312)
  345. *switch: Resolution
  346. {
  347. *case: Option1
  348. {
  349. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  350. *% Warning: the following printable length is adjusted (4663->4662) so it is divisible by the resolution Y scale.
  351. *PrintableArea: PAIR(3500, 4662)
  352. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  353. *PrintableOrigin: PAIR(72, 312)
  354. }
  355. }
  356. }
  357. }
  358. }
  359. *Option: B4_JIS_ROTATED
  360. {
  361. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  362. *Command: CmdSelect
  363. {
  364. *Order: DOC_SETUP.3
  365. *Cmd: "<1B>Q22 B"
  366. }
  367. *switch: InputBin
  368. {
  369. *case: TRACTOR
  370. {
  371. *PrintableArea: PAIR(4890, 3643)
  372. *PrintableOrigin: PAIR(71, 0)
  373. *switch: Resolution
  374. {
  375. *case: Option1
  376. {
  377. *% Warning: the following printable width is adjusted (4890->4888) so it is divisible by the resolution X scale.
  378. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  379. *PrintableArea: PAIR(4888, 3642)
  380. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  381. *PrintableOrigin: PAIR(72, 0)
  382. }
  383. }
  384. }
  385. *case: Option2
  386. {
  387. *PrintableArea: PAIR(4890, 3147)
  388. *PrintableOrigin: PAIR(71, 312)
  389. *switch: Resolution
  390. {
  391. *case: Option1
  392. {
  393. *% Warning: the following printable width is adjusted (4890->4888) so it is divisible by the resolution X scale.
  394. *% Warning: the following printable length is adjusted (3147->3146) so it is divisible by the resolution Y scale.
  395. *PrintableArea: PAIR(4888, 3146)
  396. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  397. *PrintableOrigin: PAIR(72, 312)
  398. }
  399. }
  400. }
  401. }
  402. }
  403. *Option: B5
  404. {
  405. *rcNameID: =B5_DISPLAY
  406. *Command: CmdSelect
  407. {
  408. *Order: DOC_SETUP.3
  409. *Cmd: "<1B>Q22 B"
  410. }
  411. *switch: InputBin
  412. {
  413. *case: TRACTOR
  414. {
  415. *PrintableArea: PAIR(2439, 3643)
  416. *PrintableOrigin: PAIR(71, 0)
  417. *switch: Resolution
  418. {
  419. *case: Option1
  420. {
  421. *% Warning: the following printable width is adjusted (2439->2438) so it is divisible by the resolution X scale.
  422. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  423. *PrintableArea: PAIR(2438, 3642)
  424. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  425. *PrintableOrigin: PAIR(72, 0)
  426. }
  427. }
  428. }
  429. *case: Option2
  430. {
  431. *PrintableArea: PAIR(2439, 3147)
  432. *PrintableOrigin: PAIR(71, 312)
  433. *switch: Resolution
  434. {
  435. *case: Option1
  436. {
  437. *% Warning: the following printable width is adjusted (2439->2438) so it is divisible by the resolution X scale.
  438. *% Warning: the following printable length is adjusted (3147->3146) so it is divisible by the resolution Y scale.
  439. *PrintableArea: PAIR(2438, 3146)
  440. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  441. *PrintableOrigin: PAIR(72, 312)
  442. }
  443. }
  444. }
  445. }
  446. }
  447. *Option: B5_JIS_ROTATED
  448. {
  449. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  450. *Command: CmdSelect
  451. {
  452. *Order: DOC_SETUP.3
  453. *Cmd: "<1B>Q22 B"
  454. }
  455. *switch: InputBin
  456. {
  457. *case: TRACTOR
  458. {
  459. *PrintableArea: PAIR(3501, 2581)
  460. *PrintableOrigin: PAIR(71, 0)
  461. *switch: Resolution
  462. {
  463. *case: Option1
  464. {
  465. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  466. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  467. *PrintableArea: PAIR(3500, 2580)
  468. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  469. *PrintableOrigin: PAIR(72, 0)
  470. }
  471. }
  472. }
  473. *case: Option2
  474. {
  475. *PrintableArea: PAIR(3501, 2085)
  476. *PrintableOrigin: PAIR(71, 312)
  477. *switch: Resolution
  478. {
  479. *case: Option1
  480. {
  481. *% Warning: the following printable width is adjusted (3501->3500) so it is divisible by the resolution X scale.
  482. *% Warning: the following printable length is adjusted (2085->2084) so it is divisible by the resolution Y scale.
  483. *PrintableArea: PAIR(3500, 2084)
  484. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  485. *PrintableOrigin: PAIR(72, 312)
  486. }
  487. }
  488. }
  489. }
  490. }
  491. *Option: 10X11
  492. {
  493. *rcNameID: =10X11_DISPLAY
  494. *Command: CmdSelect
  495. {
  496. *Order: DOC_SETUP.3
  497. *Cmd: "<1B>Q22 B"
  498. }
  499. *switch: InputBin
  500. {
  501. *case: TRACTOR
  502. {
  503. *PrintableArea: PAIR(2880, 3960)
  504. *PrintableOrigin: PAIR(360, 0)
  505. }
  506. *case: Option2
  507. {
  508. *PrintableArea: PAIR(2880, 3464)
  509. *PrintableOrigin: PAIR(360, 312)
  510. }
  511. }
  512. }
  513. *Option: 15X11
  514. {
  515. *rcNameID: =15X11_DISPLAY
  516. *Command: CmdSelect
  517. {
  518. *Order: DOC_SETUP.3
  519. *Cmd: "<1B>Q22 B"
  520. }
  521. *switch: InputBin
  522. {
  523. *case: TRACTOR
  524. {
  525. *PrintableArea: PAIR(4896, 3960)
  526. *PrintableOrigin: PAIR(252, 0)
  527. }
  528. *case: Option2
  529. {
  530. *PrintableArea: PAIR(4896, 3464)
  531. *PrintableOrigin: PAIR(252, 312)
  532. }
  533. }
  534. }
  535. *Option: JAPANESE_POSTCARD
  536. {
  537. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  538. *Command: CmdSelect
  539. {
  540. *Order: DOC_SETUP.3
  541. *Cmd: "<1B>Q22 B"
  542. }
  543. *switch: InputBin
  544. {
  545. *case: TRACTOR
  546. {
  547. *PrintableArea: PAIR(1276, 2099)
  548. *PrintableOrigin: PAIR(71, 0)
  549. *switch: Resolution
  550. {
  551. *case: Option1
  552. {
  553. *% Warning: the following printable width is adjusted (1276->1274) so it is divisible by the resolution X scale.
  554. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  555. *PrintableArea: PAIR(1274, 2098)
  556. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  557. *PrintableOrigin: PAIR(72, 0)
  558. }
  559. }
  560. }
  561. *case: Option2
  562. {
  563. *PrintableArea: PAIR(1276, 1603)
  564. *PrintableOrigin: PAIR(71, 312)
  565. *switch: Resolution
  566. {
  567. *case: Option1
  568. {
  569. *% Warning: the following printable width is adjusted (1276->1274) so it is divisible by the resolution X scale.
  570. *% Warning: the following printable length is adjusted (1603->1602) so it is divisible by the resolution Y scale.
  571. *PrintableArea: PAIR(1274, 1602)
  572. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  573. *PrintableOrigin: PAIR(72, 312)
  574. }
  575. }
  576. }
  577. }
  578. }
  579. *Option: JAPANESE_POSTCARD_ROTATED
  580. {
  581. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  582. *Command: CmdSelect
  583. {
  584. *Order: DOC_SETUP.3
  585. *Cmd: "<1B>Q22 B"
  586. }
  587. *switch: InputBin
  588. {
  589. *case: TRACTOR
  590. {
  591. *PrintableArea: PAIR(1957, 1418)
  592. *PrintableOrigin: PAIR(71, 0)
  593. *switch: Resolution
  594. {
  595. *case: Option1
  596. {
  597. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  598. *PrintableArea: PAIR(1956, 1418)
  599. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  600. *PrintableOrigin: PAIR(72, 0)
  601. }
  602. }
  603. }
  604. *case: Option2
  605. {
  606. *PrintableArea: PAIR(1957, 922)
  607. *PrintableOrigin: PAIR(71, 312)
  608. *switch: Resolution
  609. {
  610. *case: Option1
  611. {
  612. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  613. *PrintableArea: PAIR(1956, 922)
  614. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  615. *PrintableOrigin: PAIR(72, 312)
  616. }
  617. }
  618. }
  619. }
  620. }
  621. *Option: DBL_JAPANESE_POSTCARD
  622. {
  623. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  624. *Command: CmdSelect
  625. {
  626. *Order: DOC_SETUP.3
  627. *Cmd: "<1B>Q22 B"
  628. }
  629. *switch: InputBin
  630. {
  631. *case: TRACTOR
  632. {
  633. *PrintableArea: PAIR(2691, 2099)
  634. *PrintableOrigin: PAIR(71, 0)
  635. *switch: Resolution
  636. {
  637. *case: Option1
  638. {
  639. *% Warning: the following printable width is adjusted (2691->2690) so it is divisible by the resolution X scale.
  640. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  641. *PrintableArea: PAIR(2690, 2098)
  642. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  643. *PrintableOrigin: PAIR(72, 0)
  644. }
  645. }
  646. }
  647. *case: Option2
  648. {
  649. *PrintableArea: PAIR(2691, 1603)
  650. *PrintableOrigin: PAIR(71, 312)
  651. *switch: Resolution
  652. {
  653. *case: Option1
  654. {
  655. *% Warning: the following printable width is adjusted (2691->2690) so it is divisible by the resolution X scale.
  656. *% Warning: the following printable length is adjusted (1603->1602) so it is divisible by the resolution Y scale.
  657. *PrintableArea: PAIR(2690, 1602)
  658. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  659. *PrintableOrigin: PAIR(72, 312)
  660. }
  661. }
  662. }
  663. }
  664. }
  665. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  666. {
  667. *rcNameID: =DBL_JAPANESE_POSTCARD_ROTATED_DISPLAY
  668. *Command: CmdSelect
  669. {
  670. *Order: DOC_SETUP.3
  671. *Cmd: "<1B>Q22 B"
  672. }
  673. *switch: InputBin
  674. {
  675. *case: TRACTOR
  676. {
  677. *PrintableArea: PAIR(1957, 2833)
  678. *PrintableOrigin: PAIR(71, 0)
  679. *switch: Resolution
  680. {
  681. *case: Option1
  682. {
  683. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  684. *% Warning: the following printable length is adjusted (2833->2832) so it is divisible by the resolution Y scale.
  685. *PrintableArea: PAIR(1956, 2832)
  686. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  687. *PrintableOrigin: PAIR(72, 0)
  688. }
  689. }
  690. }
  691. *case: Option2
  692. {
  693. *PrintableArea: PAIR(1957, 2337)
  694. *PrintableOrigin: PAIR(71, 312)
  695. *switch: Resolution
  696. {
  697. *case: Option1
  698. {
  699. *% Warning: the following printable width is adjusted (1957->1956) so it is divisible by the resolution X scale.
  700. *% Warning: the following printable length is adjusted (2337->2336) so it is divisible by the resolution Y scale.
  701. *PrintableArea: PAIR(1956, 2336)
  702. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  703. *PrintableOrigin: PAIR(72, 312)
  704. }
  705. }
  706. }
  707. }
  708. }
  709. *Option: LETTER
  710. {
  711. *rcNameID: =LETTER_DISPLAY
  712. *Command: CmdSelect
  713. {
  714. *Order: DOC_SETUP.3
  715. *Cmd: "<1B>Q22 B"
  716. }
  717. *switch: InputBin
  718. {
  719. *case: TRACTOR
  720. {
  721. *PrintableArea: PAIR(2918, 3960)
  722. *PrintableOrigin: PAIR(71, 0)
  723. *switch: Resolution
  724. {
  725. *case: Option1
  726. {
  727. *% Warning: the following printable width is adjusted (2918->2916) so it is divisible by the resolution X scale.
  728. *PrintableArea: PAIR(2916, 3960)
  729. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  730. *PrintableOrigin: PAIR(72, 0)
  731. }
  732. }
  733. }
  734. *case: Option2
  735. {
  736. *PrintableArea: PAIR(2918, 3464)
  737. *PrintableOrigin: PAIR(71, 312)
  738. *switch: Resolution
  739. {
  740. *case: Option1
  741. {
  742. *% Warning: the following printable width is adjusted (2918->2916) so it is divisible by the resolution X scale.
  743. *PrintableArea: PAIR(2916, 3464)
  744. *% Warning: the following printable origin X is adjusted (71->72) so it is divisible by the resolution X scale.
  745. *PrintableOrigin: PAIR(72, 312)
  746. }
  747. }
  748. }
  749. }
  750. }
  751. *Option: CUSTOMSIZE
  752. {
  753. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  754. *MinSize: PAIR(709, 709)
  755. *MaxSize: PAIR(4896, 5954)
  756. *MaxPrintableWidth: 4896
  757. *MinLeftMargin: 0
  758. *CenterPrintable?: FALSE
  759. *switch: InputBin
  760. {
  761. *case: TRACTOR
  762. {
  763. *TopMargin: 0
  764. *BottomMargin: 0
  765. }
  766. *case: Option2
  767. {
  768. *TopMargin: 312
  769. *BottomMargin: 184
  770. }
  771. }
  772. *Command: CmdSelect
  773. {
  774. *Order: DOC_SETUP.3
  775. *Cmd: "<1B>Q22 B"
  776. }
  777. }
  778. }
  779. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A3)
  780. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A3_ROTATED)
  781. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A4)
  782. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A4_ROTATED)
  783. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A5)
  784. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A5_ROTATED)
  785. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B4)
  786. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B4_JIS_ROTATED)
  787. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B5)
  788. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B5_JIS_ROTATED)
  789. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.JAPANESE_POSTCARD)
  790. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.JAPANESE_POSTCARD_ROTATED)
  791. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD)
  792. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  793. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LETTER)
  794. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  795. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  796. *Feature: Halftone
  797. {
  798. *rcNameID: =HALFTONING_DISPLAY
  799. *DefaultOption: HT_PATSIZE_AUTO
  800. *Option: HT_PATSIZE_AUTO
  801. {
  802. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  803. }
  804. *Option: HT_PATSIZE_SUPERCELL_M
  805. {
  806. *rcNameID: =HT_SUPERCELL_DISPLAY
  807. }
  808. *Option: HT_PATSIZE_6x6_M
  809. {
  810. *rcNameID: =HT_DITHER6X6_DISPLAY
  811. }
  812. *Option: HT_PATSIZE_8x8_M
  813. {
  814. *rcNameID: =HT_DITHER8X8_DISPLAY
  815. }
  816. }
  817. *Command: CmdStartDoc
  818. {
  819. *Order: DOC_SETUP.1
  820. *CallbackID: 3
  821. *% Error: you must check if this command callback requires any parameters!
  822. }
  823. *Command: CmdStartPage
  824. {
  825. *Order: PAGE_SETUP.1
  826. *CallbackID: 1
  827. *% Error: you must check if this command callback requires any parameters!
  828. }
  829. *Command: CmdEndJob
  830. {
  831. *Order: JOB_FINISH.1
  832. *CallbackID: 4
  833. *% Error: you must check if this command callback requires any parameters!
  834. }
  835. *Command: CmdEndPage
  836. {
  837. *Order: PAGE_FINISH.1
  838. *CallbackID: 2
  839. *% Error: you must check if this command callback requires any parameters!
  840. }
  841. *RotateCoordinate?: FALSE
  842. *RotateRaster?: FALSE
  843. *RotateFont?: FALSE
  844. *switch: Orientation
  845. {
  846. *case: PORTRAIT
  847. {
  848. *TextCaps: LIST(TC_UA_ABLE,TC_RA_ABLE)
  849. }
  850. *case: LANDSCAPE_CC270
  851. {
  852. *TextCaps: LIST(TC_RA_ABLE)
  853. }
  854. }
  855. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  856. *YMoveAttributes: LIST(SEND_CR_FIRST)
  857. *MaxLineSpacing: 60
  858. *XMoveThreshold: 0
  859. *YMoveThreshold: *
  860. *XMoveUnit: 180
  861. *YMoveUnit: 180
  862. *Command: CmdXMoveAbsolute { *Cmd : "<1B>[" %d{(DestX + 1) / 2}"`" }
  863. *Command: CmdYMoveRelDown { *Cmd : "<1B>[" %d[1,2520]{max_repeat((DestYRel / 2) )}"e" }
  864. *Command: CmdSetLineSpacing { *Cmd : "<1B>Q" %d[1,60]{(LinefeedSpacing / 2) }";180 G" }
  865. *Command: CmdCR { *Cmd : "<0D>" }
  866. *Command: CmdLF { *Cmd : "<0A>" }
  867. *Command: CmdFF { *Cmd : "<0C>" }
  868. *Command: CmdBackSpace { *Cmd : "<08>" }
  869. *Command: CmdUniDirectionOn { *Cmd : "<1B>Q1 `" }
  870. *EjectPageWithFF?: FALSE
  871. *OutputDataFormat: V_BYTE
  872. *OptimizeLeftBound?: TRUE
  873. *CursorXAfterSendBlockData: AT_GRXDATA_END
  874. *CursorYAfterSendBlockData: NO_MOVE
  875. *DefaultFont: 1
  876. *DefaultCTT: 0
  877. *switch: Orientation
  878. {
  879. *case: PORTRAIT
  880. {
  881. *DeviceFonts: LIST(1,4)
  882. }
  883. *case: LANDSCAPE_CC270
  884. {
  885. *DeviceFonts: LIST()
  886. }
  887. }
  888. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>(H" }
  889. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>$B" }