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.

1265 lines
45 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "ib5573jj.gpd"
  9. *ModelName: "IBM 5573-J02"
  10. *MasterUnits: PAIR(1440, 1440)
  11. *ResourceDLL: "ib557res.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. *Command: CmdSelect
  21. {
  22. *Order: DOC_SETUP.4
  23. *Cmd: "<1B>~<0E00010C>"
  24. }
  25. }
  26. *Option: LANDSCAPE_CC270
  27. {
  28. *rcNameID: =LANDSCAPE_DISPLAY
  29. *Command: CmdSelect
  30. {
  31. *Order: DOC_SETUP.4
  32. *Cmd: "<1B>~<0E00010B>"
  33. }
  34. }
  35. }
  36. *Feature: InputBin
  37. {
  38. *rcNameID: =PAPER_SOURCE_DISPLAY
  39. *DefaultOption: Option1
  40. *Option: Option1
  41. {
  42. *rcNameID: 301
  43. *OptionID: 301
  44. }
  45. *Option: Option2
  46. {
  47. *rcNameID: 302
  48. *OptionID: 302
  49. *Command: CmdSelect
  50. {
  51. *Order: DOC_SETUP.2
  52. *Cmd: "<1B>~<1000020101>"
  53. }
  54. }
  55. *Option: Option3
  56. {
  57. *rcNameID: 303
  58. *OptionID: 303
  59. *Command: CmdSelect
  60. {
  61. *Order: DOC_SETUP.2
  62. *Cmd: "<1B>~<1000020101>"
  63. }
  64. }
  65. *Option: Option4
  66. {
  67. *rcNameID: 304
  68. *OptionID: 304
  69. *Command: CmdSelect
  70. {
  71. *Order: DOC_SETUP.2
  72. *Cmd: "<1B>~<1000020102>"
  73. }
  74. }
  75. *Option: Option5
  76. {
  77. *rcNameID: 305
  78. *OptionID: 305
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.2
  82. *Cmd: "<1B>~<1000020102>"
  83. }
  84. }
  85. *Option: Option6
  86. {
  87. *rcNameID: 306
  88. *OptionID: 306
  89. }
  90. *Option: Option7
  91. {
  92. *rcNameID: 307
  93. *OptionID: 307
  94. }
  95. }
  96. *Feature: Resolution
  97. {
  98. *rcNameID: =RESOLUTION_DISPLAY
  99. *DefaultOption: Option1
  100. *Option: Option1
  101. {
  102. *Name: "180 x 180 " =DOTS_PER_INCH
  103. *DPI: PAIR(180, 180)
  104. *TextDPI: PAIR(180, 180)
  105. *PinsPerLogPass: 24
  106. *PinsPerPhysPass: 24
  107. *MinStripBlankPixels: 32
  108. *RequireUniDir?: TRUE
  109. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  110. *SpotDiameter: 140
  111. *Command: CmdSendBlockData { *Cmd : "<1B>%%1" %m{NumOfDataBytes / 3} }
  112. }
  113. }
  114. *Feature: PaperSize
  115. {
  116. *rcNameID: =PAPER_SIZE_DISPLAY
  117. *DefaultOption: A4
  118. *Option: A4
  119. {
  120. *rcNameID: =A4_DISPLAY
  121. *Command: CmdSelect
  122. {
  123. *Order: DOC_SETUP.5
  124. *Cmd: "<1B>~<0400030000>G"
  125. }
  126. *switch: InputBin
  127. {
  128. *case: Option1
  129. {
  130. *PrintableArea: PAIR(11189, 15834)
  131. *PrintableOrigin: PAIR(360, 360)
  132. *switch: Resolution
  133. {
  134. *case: Option1
  135. {
  136. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  137. *% Warning: the following printable length is adjusted (15834->15832) so it is divisible by the resolution Y scale.
  138. *PrintableArea: PAIR(11184, 15832)
  139. }
  140. }
  141. }
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(11189, 16114)
  145. *PrintableOrigin: PAIR(360, 360)
  146. *switch: Resolution
  147. {
  148. *case: Option1
  149. {
  150. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  151. *% Warning: the following printable length is adjusted (16114->16112) so it is divisible by the resolution Y scale.
  152. *PrintableArea: PAIR(11184, 16112)
  153. }
  154. }
  155. }
  156. *case: Option3
  157. {
  158. *PrintableArea: PAIR(11189, 16834)
  159. *PrintableOrigin: PAIR(360, 0)
  160. *switch: Resolution
  161. {
  162. *case: Option1
  163. {
  164. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  165. *% Warning: the following printable length is adjusted (16834->16832) so it is divisible by the resolution Y scale.
  166. *PrintableArea: PAIR(11184, 16832)
  167. }
  168. }
  169. }
  170. *case: Option4
  171. {
  172. *PrintableArea: PAIR(11189, 16114)
  173. *PrintableOrigin: PAIR(360, 360)
  174. *switch: Resolution
  175. {
  176. *case: Option1
  177. {
  178. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  179. *% Warning: the following printable length is adjusted (16114->16112) so it is divisible by the resolution Y scale.
  180. *PrintableArea: PAIR(11184, 16112)
  181. }
  182. }
  183. }
  184. *case: Option5
  185. {
  186. *PrintableArea: PAIR(11189, 16834)
  187. *PrintableOrigin: PAIR(360, 0)
  188. *switch: Resolution
  189. {
  190. *case: Option1
  191. {
  192. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  193. *% Warning: the following printable length is adjusted (16834->16832) so it is divisible by the resolution Y scale.
  194. *PrintableArea: PAIR(11184, 16832)
  195. }
  196. }
  197. }
  198. *case: Option6
  199. {
  200. *PrintableArea: PAIR(11189, 16114)
  201. *PrintableOrigin: PAIR(360, 360)
  202. *switch: Resolution
  203. {
  204. *case: Option1
  205. {
  206. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  207. *% Warning: the following printable length is adjusted (16114->16112) so it is divisible by the resolution Y scale.
  208. *PrintableArea: PAIR(11184, 16112)
  209. }
  210. }
  211. }
  212. *case: Option7
  213. {
  214. *PrintableArea: PAIR(11189, 16834)
  215. *PrintableOrigin: PAIR(360, 0)
  216. *switch: Resolution
  217. {
  218. *case: Option1
  219. {
  220. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  221. *% Warning: the following printable length is adjusted (16834->16832) so it is divisible by the resolution Y scale.
  222. *PrintableArea: PAIR(11184, 16832)
  223. }
  224. }
  225. }
  226. }
  227. }
  228. *Option: A5
  229. {
  230. *rcNameID: =A5_DISPLAY
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.5
  234. *Cmd: "<1B>~<0400030000>2"
  235. }
  236. *switch: InputBin
  237. {
  238. *case: Option1
  239. {
  240. *PrintableArea: PAIR(7675, 10909)
  241. *PrintableOrigin: PAIR(360, 360)
  242. *switch: Resolution
  243. {
  244. *case: Option1
  245. {
  246. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  247. *% Warning: the following printable length is adjusted (10909->10904) so it is divisible by the resolution Y scale.
  248. *PrintableArea: PAIR(7672, 10904)
  249. }
  250. }
  251. }
  252. *case: Option2
  253. {
  254. *PrintableArea: PAIR(7675, 11189)
  255. *PrintableOrigin: PAIR(360, 360)
  256. *switch: Resolution
  257. {
  258. *case: Option1
  259. {
  260. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  261. *% Warning: the following printable length is adjusted (11189->11184) so it is divisible by the resolution Y scale.
  262. *PrintableArea: PAIR(7672, 11184)
  263. }
  264. }
  265. }
  266. *case: Option3
  267. {
  268. *PrintableArea: PAIR(7675, 11909)
  269. *PrintableOrigin: PAIR(360, 0)
  270. *switch: Resolution
  271. {
  272. *case: Option1
  273. {
  274. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  275. *% Warning: the following printable length is adjusted (11909->11904) so it is divisible by the resolution Y scale.
  276. *PrintableArea: PAIR(7672, 11904)
  277. }
  278. }
  279. }
  280. *case: Option4
  281. {
  282. *PrintableArea: PAIR(7675, 11189)
  283. *PrintableOrigin: PAIR(360, 360)
  284. *switch: Resolution
  285. {
  286. *case: Option1
  287. {
  288. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  289. *% Warning: the following printable length is adjusted (11189->11184) so it is divisible by the resolution Y scale.
  290. *PrintableArea: PAIR(7672, 11184)
  291. }
  292. }
  293. }
  294. *case: Option5
  295. {
  296. *PrintableArea: PAIR(7675, 11909)
  297. *PrintableOrigin: PAIR(360, 0)
  298. *switch: Resolution
  299. {
  300. *case: Option1
  301. {
  302. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  303. *% Warning: the following printable length is adjusted (11909->11904) so it is divisible by the resolution Y scale.
  304. *PrintableArea: PAIR(7672, 11904)
  305. }
  306. }
  307. }
  308. *case: Option6
  309. {
  310. *PrintableArea: PAIR(7675, 11189)
  311. *PrintableOrigin: PAIR(360, 360)
  312. *switch: Resolution
  313. {
  314. *case: Option1
  315. {
  316. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  317. *% Warning: the following printable length is adjusted (11189->11184) so it is divisible by the resolution Y scale.
  318. *PrintableArea: PAIR(7672, 11184)
  319. }
  320. }
  321. }
  322. *case: Option7
  323. {
  324. *PrintableArea: PAIR(7675, 11909)
  325. *PrintableOrigin: PAIR(360, 0)
  326. *switch: Resolution
  327. {
  328. *case: Option1
  329. {
  330. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  331. *% Warning: the following printable length is adjusted (11909->11904) so it is divisible by the resolution Y scale.
  332. *PrintableArea: PAIR(7672, 11904)
  333. }
  334. }
  335. }
  336. }
  337. }
  338. *Option: A5_ROTATED
  339. {
  340. *rcNameID: =A5_ROTATED_DISPLAY
  341. *Command: CmdSelect
  342. {
  343. *Order: DOC_SETUP.5
  344. *Cmd: "<1B>~<0400030000>#"
  345. }
  346. *switch: InputBin
  347. {
  348. *case: Option1
  349. {
  350. *PrintableArea: PAIR(11189, 7395)
  351. *PrintableOrigin: PAIR(360, 360)
  352. *switch: Resolution
  353. {
  354. *case: Option1
  355. {
  356. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  357. *% Warning: the following printable length is adjusted (7395->7392) so it is divisible by the resolution Y scale.
  358. *PrintableArea: PAIR(11184, 7392)
  359. }
  360. }
  361. }
  362. *case: Option2
  363. {
  364. *PrintableArea: PAIR(11189, 7675)
  365. *PrintableOrigin: PAIR(360, 360)
  366. *switch: Resolution
  367. {
  368. *case: Option1
  369. {
  370. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  371. *% Warning: the following printable length is adjusted (7675->7672) so it is divisible by the resolution Y scale.
  372. *PrintableArea: PAIR(11184, 7672)
  373. }
  374. }
  375. }
  376. *case: Option3
  377. {
  378. *PrintableArea: PAIR(11189, 8395)
  379. *PrintableOrigin: PAIR(360, 0)
  380. *switch: Resolution
  381. {
  382. *case: Option1
  383. {
  384. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  385. *% Warning: the following printable length is adjusted (8395->8392) so it is divisible by the resolution Y scale.
  386. *PrintableArea: PAIR(11184, 8392)
  387. }
  388. }
  389. }
  390. *case: Option4
  391. {
  392. *PrintableArea: PAIR(11189, 7675)
  393. *PrintableOrigin: PAIR(360, 360)
  394. *switch: Resolution
  395. {
  396. *case: Option1
  397. {
  398. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  399. *% Warning: the following printable length is adjusted (7675->7672) so it is divisible by the resolution Y scale.
  400. *PrintableArea: PAIR(11184, 7672)
  401. }
  402. }
  403. }
  404. *case: Option5
  405. {
  406. *PrintableArea: PAIR(11189, 8395)
  407. *PrintableOrigin: PAIR(360, 0)
  408. *switch: Resolution
  409. {
  410. *case: Option1
  411. {
  412. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  413. *% Warning: the following printable length is adjusted (8395->8392) so it is divisible by the resolution Y scale.
  414. *PrintableArea: PAIR(11184, 8392)
  415. }
  416. }
  417. }
  418. *case: Option6
  419. {
  420. *PrintableArea: PAIR(11189, 7675)
  421. *PrintableOrigin: PAIR(360, 360)
  422. *switch: Resolution
  423. {
  424. *case: Option1
  425. {
  426. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  427. *% Warning: the following printable length is adjusted (7675->7672) so it is divisible by the resolution Y scale.
  428. *PrintableArea: PAIR(11184, 7672)
  429. }
  430. }
  431. }
  432. *case: Option7
  433. {
  434. *PrintableArea: PAIR(11189, 8395)
  435. *PrintableOrigin: PAIR(360, 0)
  436. *switch: Resolution
  437. {
  438. *case: Option1
  439. {
  440. *% Warning: the following printable width is adjusted (11189->11184) so it is divisible by the resolution X scale.
  441. *% Warning: the following printable length is adjusted (8395->8392) so it is divisible by the resolution Y scale.
  442. *PrintableArea: PAIR(11184, 8392)
  443. }
  444. }
  445. }
  446. }
  447. }
  448. *Option: B5
  449. {
  450. *rcNameID: =B5_DISPLAY
  451. *Command: CmdSelect
  452. {
  453. *Order: DOC_SETUP.5
  454. *Cmd: "<1B>~<0400030000>="
  455. }
  456. *switch: InputBin
  457. {
  458. *case: Option1
  459. {
  460. *PrintableArea: PAIR(9605, 13573)
  461. *PrintableOrigin: PAIR(360, 360)
  462. *switch: Resolution
  463. {
  464. *case: Option1
  465. {
  466. *% Warning: the following printable width is adjusted (9605->9600) so it is divisible by the resolution X scale.
  467. *% Warning: the following printable length is adjusted (13573->13568) so it is divisible by the resolution Y scale.
  468. *PrintableArea: PAIR(9600, 13568)
  469. }
  470. }
  471. }
  472. *case: Option2
  473. {
  474. *PrintableArea: PAIR(9605, 13853)
  475. *PrintableOrigin: PAIR(360, 360)
  476. *switch: Resolution
  477. {
  478. *case: Option1
  479. {
  480. *% Warning: the following printable width is adjusted (9605->9600) so it is divisible by the resolution X scale.
  481. *% Warning: the following printable length is adjusted (13853->13848) so it is divisible by the resolution Y scale.
  482. *PrintableArea: PAIR(9600, 13848)
  483. }
  484. }
  485. }
  486. *case: Option3
  487. {
  488. *PrintableArea: PAIR(9605, 14573)
  489. *PrintableOrigin: PAIR(360, 0)
  490. *switch: Resolution
  491. {
  492. *case: Option1
  493. {
  494. *% Warning: the following printable width is adjusted (9605->9600) so it is divisible by the resolution X scale.
  495. *% Warning: the following printable length is adjusted (14573->14568) so it is divisible by the resolution Y scale.
  496. *PrintableArea: PAIR(9600, 14568)
  497. }
  498. }
  499. }
  500. *case: Option4
  501. {
  502. *PrintableArea: PAIR(9605, 13853)
  503. *PrintableOrigin: PAIR(360, 360)
  504. *switch: Resolution
  505. {
  506. *case: Option1
  507. {
  508. *% Warning: the following printable width is adjusted (9605->9600) so it is divisible by the resolution X scale.
  509. *% Warning: the following printable length is adjusted (13853->13848) so it is divisible by the resolution Y scale.
  510. *PrintableArea: PAIR(9600, 13848)
  511. }
  512. }
  513. }
  514. *case: Option5
  515. {
  516. *PrintableArea: PAIR(9605, 14573)
  517. *PrintableOrigin: PAIR(360, 0)
  518. *switch: Resolution
  519. {
  520. *case: Option1
  521. {
  522. *% Warning: the following printable width is adjusted (9605->9600) so it is divisible by the resolution X scale.
  523. *% Warning: the following printable length is adjusted (14573->14568) so it is divisible by the resolution Y scale.
  524. *PrintableArea: PAIR(9600, 14568)
  525. }
  526. }
  527. }
  528. *case: Option6
  529. {
  530. *PrintableArea: PAIR(9605, 13853)
  531. *PrintableOrigin: PAIR(360, 360)
  532. *switch: Resolution
  533. {
  534. *case: Option1
  535. {
  536. *% Warning: the following printable width is adjusted (9605->9600) so it is divisible by the resolution X scale.
  537. *% Warning: the following printable length is adjusted (13853->13848) so it is divisible by the resolution Y scale.
  538. *PrintableArea: PAIR(9600, 13848)
  539. }
  540. }
  541. }
  542. *case: Option7
  543. {
  544. *PrintableArea: PAIR(9605, 14573)
  545. *PrintableOrigin: PAIR(360, 0)
  546. *switch: Resolution
  547. {
  548. *case: Option1
  549. {
  550. *% Warning: the following printable width is adjusted (9605->9600) so it is divisible by the resolution X scale.
  551. *% Warning: the following printable length is adjusted (14573->14568) so it is divisible by the resolution Y scale.
  552. *PrintableArea: PAIR(9600, 14568)
  553. }
  554. }
  555. }
  556. }
  557. }
  558. *Option: B5_JIS_ROTATED
  559. {
  560. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  561. *Command: CmdSelect
  562. {
  563. *Order: DOC_SETUP.5
  564. *Cmd: "<1B>~<0400030000>+"
  565. }
  566. *switch: InputBin
  567. {
  568. *case: Option1
  569. {
  570. *PrintableArea: PAIR(11520, 9325)
  571. *PrintableOrigin: PAIR(360, 360)
  572. *switch: Resolution
  573. {
  574. *case: Option1
  575. {
  576. *% Warning: the following printable length is adjusted (9325->9320) so it is divisible by the resolution Y scale.
  577. *PrintableArea: PAIR(11520, 9320)
  578. }
  579. }
  580. }
  581. *case: Option2
  582. {
  583. *PrintableArea: PAIR(11520, 9605)
  584. *PrintableOrigin: PAIR(360, 360)
  585. *switch: Resolution
  586. {
  587. *case: Option1
  588. {
  589. *% Warning: the following printable length is adjusted (9605->9600) so it is divisible by the resolution Y scale.
  590. *PrintableArea: PAIR(11520, 9600)
  591. }
  592. }
  593. }
  594. *case: Option3
  595. {
  596. *PrintableArea: PAIR(11520, 10325)
  597. *PrintableOrigin: PAIR(360, 0)
  598. *switch: Resolution
  599. {
  600. *case: Option1
  601. {
  602. *% Warning: the following printable length is adjusted (10325->10320) so it is divisible by the resolution Y scale.
  603. *PrintableArea: PAIR(11520, 10320)
  604. }
  605. }
  606. }
  607. *case: Option4
  608. {
  609. *PrintableArea: PAIR(11520, 9605)
  610. *PrintableOrigin: PAIR(360, 360)
  611. *switch: Resolution
  612. {
  613. *case: Option1
  614. {
  615. *% Warning: the following printable length is adjusted (9605->9600) so it is divisible by the resolution Y scale.
  616. *PrintableArea: PAIR(11520, 9600)
  617. }
  618. }
  619. }
  620. *case: Option5
  621. {
  622. *PrintableArea: PAIR(11520, 10325)
  623. *PrintableOrigin: PAIR(360, 0)
  624. *switch: Resolution
  625. {
  626. *case: Option1
  627. {
  628. *% Warning: the following printable length is adjusted (10325->10320) so it is divisible by the resolution Y scale.
  629. *PrintableArea: PAIR(11520, 10320)
  630. }
  631. }
  632. }
  633. *case: Option6
  634. {
  635. *PrintableArea: PAIR(11520, 9605)
  636. *PrintableOrigin: PAIR(360, 360)
  637. *switch: Resolution
  638. {
  639. *case: Option1
  640. {
  641. *% Warning: the following printable length is adjusted (9605->9600) so it is divisible by the resolution Y scale.
  642. *PrintableArea: PAIR(11520, 9600)
  643. }
  644. }
  645. }
  646. *case: Option7
  647. {
  648. *PrintableArea: PAIR(11520, 10325)
  649. *PrintableOrigin: PAIR(360, 0)
  650. *switch: Resolution
  651. {
  652. *case: Option1
  653. {
  654. *% Warning: the following printable length is adjusted (10325->10320) so it is divisible by the resolution Y scale.
  655. *PrintableArea: PAIR(11520, 10320)
  656. }
  657. }
  658. }
  659. }
  660. }
  661. *Option: LETTER
  662. {
  663. *rcNameID: =LETTER_DISPLAY
  664. *Command: CmdSelect
  665. {
  666. *Order: DOC_SETUP.5
  667. *Cmd: "<1B>~<040002020B>"
  668. }
  669. *switch: InputBin
  670. {
  671. *case: Option1
  672. {
  673. *PrintableArea: PAIR(11520, 14840)
  674. *PrintableOrigin: PAIR(360, 360)
  675. }
  676. *case: Option2
  677. {
  678. *PrintableArea: PAIR(11520, 15120)
  679. *PrintableOrigin: PAIR(360, 360)
  680. }
  681. *case: Option3
  682. {
  683. *PrintableArea: PAIR(11520, 15840)
  684. *PrintableOrigin: PAIR(360, 0)
  685. }
  686. *case: Option4
  687. {
  688. *PrintableArea: PAIR(11520, 15120)
  689. *PrintableOrigin: PAIR(360, 360)
  690. }
  691. *case: Option5
  692. {
  693. *PrintableArea: PAIR(11520, 15840)
  694. *PrintableOrigin: PAIR(360, 0)
  695. }
  696. *case: Option6
  697. {
  698. *PrintableArea: PAIR(11520, 15120)
  699. *PrintableOrigin: PAIR(360, 360)
  700. }
  701. *case: Option7
  702. {
  703. *PrintableArea: PAIR(11520, 15840)
  704. *PrintableOrigin: PAIR(360, 0)
  705. }
  706. }
  707. }
  708. *Option: JAPANESE_POSTCARD
  709. {
  710. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  711. *Command: CmdSelect
  712. {
  713. *Order: DOC_SETUP.5
  714. *Cmd: "<1B>~<0400030000>#"
  715. }
  716. *switch: InputBin
  717. {
  718. *case: Option1
  719. {
  720. *PrintableArea: PAIR(4954, 7395)
  721. *PrintableOrigin: PAIR(360, 360)
  722. *switch: Resolution
  723. {
  724. *case: Option1
  725. {
  726. *% Warning: the following printable width is adjusted (4954->4952) so it is divisible by the resolution X scale.
  727. *% Warning: the following printable length is adjusted (7395->7392) so it is divisible by the resolution Y scale.
  728. *PrintableArea: PAIR(4952, 7392)
  729. }
  730. }
  731. }
  732. *case: Option2
  733. {
  734. *PrintableArea: PAIR(4954, 7675)
  735. *PrintableOrigin: PAIR(360, 360)
  736. *switch: Resolution
  737. {
  738. *case: Option1
  739. {
  740. *% Warning: the following printable width is adjusted (4954->4952) so it is divisible by the resolution X scale.
  741. *% Warning: the following printable length is adjusted (7675->7672) so it is divisible by the resolution Y scale.
  742. *PrintableArea: PAIR(4952, 7672)
  743. }
  744. }
  745. }
  746. *case: Option3
  747. {
  748. *PrintableArea: PAIR(4954, 8395)
  749. *PrintableOrigin: PAIR(360, 0)
  750. *switch: Resolution
  751. {
  752. *case: Option1
  753. {
  754. *% Warning: the following printable width is adjusted (4954->4952) so it is divisible by the resolution X scale.
  755. *% Warning: the following printable length is adjusted (8395->8392) so it is divisible by the resolution Y scale.
  756. *PrintableArea: PAIR(4952, 8392)
  757. }
  758. }
  759. }
  760. *case: Option4
  761. {
  762. *PrintableArea: PAIR(4954, 7675)
  763. *PrintableOrigin: PAIR(360, 360)
  764. *switch: Resolution
  765. {
  766. *case: Option1
  767. {
  768. *% Warning: the following printable width is adjusted (4954->4952) so it is divisible by the resolution X scale.
  769. *% Warning: the following printable length is adjusted (7675->7672) so it is divisible by the resolution Y scale.
  770. *PrintableArea: PAIR(4952, 7672)
  771. }
  772. }
  773. }
  774. *case: Option5
  775. {
  776. *PrintableArea: PAIR(4954, 8395)
  777. *PrintableOrigin: PAIR(360, 0)
  778. *switch: Resolution
  779. {
  780. *case: Option1
  781. {
  782. *% Warning: the following printable width is adjusted (4954->4952) so it is divisible by the resolution X scale.
  783. *% Warning: the following printable length is adjusted (8395->8392) so it is divisible by the resolution Y scale.
  784. *PrintableArea: PAIR(4952, 8392)
  785. }
  786. }
  787. }
  788. *case: Option6
  789. {
  790. *PrintableArea: PAIR(4954, 7675)
  791. *PrintableOrigin: PAIR(360, 360)
  792. *switch: Resolution
  793. {
  794. *case: Option1
  795. {
  796. *% Warning: the following printable width is adjusted (4954->4952) so it is divisible by the resolution X scale.
  797. *% Warning: the following printable length is adjusted (7675->7672) so it is divisible by the resolution Y scale.
  798. *PrintableArea: PAIR(4952, 7672)
  799. }
  800. }
  801. }
  802. *case: Option7
  803. {
  804. *PrintableArea: PAIR(4954, 8395)
  805. *PrintableOrigin: PAIR(360, 0)
  806. *switch: Resolution
  807. {
  808. *case: Option1
  809. {
  810. *% Warning: the following printable width is adjusted (4954->4952) so it is divisible by the resolution X scale.
  811. *% Warning: the following printable length is adjusted (8395->8392) so it is divisible by the resolution Y scale.
  812. *PrintableArea: PAIR(4952, 8392)
  813. }
  814. }
  815. }
  816. }
  817. }
  818. *Option: JAPANESE_POSTCARD_ROTATED
  819. {
  820. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  821. *Command: CmdSelect
  822. {
  823. *Order: DOC_SETUP.5
  824. *Cmd: "<1B>~<040003000018>"
  825. }
  826. *switch: InputBin
  827. {
  828. *case: Option1
  829. {
  830. *PrintableArea: PAIR(7675, 4674)
  831. *PrintableOrigin: PAIR(360, 360)
  832. *switch: Resolution
  833. {
  834. *case: Option1
  835. {
  836. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  837. *% Warning: the following printable length is adjusted (4674->4672) so it is divisible by the resolution Y scale.
  838. *PrintableArea: PAIR(7672, 4672)
  839. }
  840. }
  841. }
  842. *case: Option2
  843. {
  844. *PrintableArea: PAIR(7675, 4954)
  845. *PrintableOrigin: PAIR(360, 360)
  846. *switch: Resolution
  847. {
  848. *case: Option1
  849. {
  850. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  851. *% Warning: the following printable length is adjusted (4954->4952) so it is divisible by the resolution Y scale.
  852. *PrintableArea: PAIR(7672, 4952)
  853. }
  854. }
  855. }
  856. *case: Option3
  857. {
  858. *PrintableArea: PAIR(7675, 5674)
  859. *PrintableOrigin: PAIR(360, 0)
  860. *switch: Resolution
  861. {
  862. *case: Option1
  863. {
  864. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  865. *% Warning: the following printable length is adjusted (5674->5672) so it is divisible by the resolution Y scale.
  866. *PrintableArea: PAIR(7672, 5672)
  867. }
  868. }
  869. }
  870. *case: Option4
  871. {
  872. *PrintableArea: PAIR(7675, 4954)
  873. *PrintableOrigin: PAIR(360, 360)
  874. *switch: Resolution
  875. {
  876. *case: Option1
  877. {
  878. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  879. *% Warning: the following printable length is adjusted (4954->4952) so it is divisible by the resolution Y scale.
  880. *PrintableArea: PAIR(7672, 4952)
  881. }
  882. }
  883. }
  884. *case: Option5
  885. {
  886. *PrintableArea: PAIR(7675, 5674)
  887. *PrintableOrigin: PAIR(360, 0)
  888. *switch: Resolution
  889. {
  890. *case: Option1
  891. {
  892. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  893. *% Warning: the following printable length is adjusted (5674->5672) so it is divisible by the resolution Y scale.
  894. *PrintableArea: PAIR(7672, 5672)
  895. }
  896. }
  897. }
  898. *case: Option6
  899. {
  900. *PrintableArea: PAIR(7675, 4954)
  901. *PrintableOrigin: PAIR(360, 360)
  902. *switch: Resolution
  903. {
  904. *case: Option1
  905. {
  906. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  907. *% Warning: the following printable length is adjusted (4954->4952) so it is divisible by the resolution Y scale.
  908. *PrintableArea: PAIR(7672, 4952)
  909. }
  910. }
  911. }
  912. *case: Option7
  913. {
  914. *PrintableArea: PAIR(7675, 5674)
  915. *PrintableOrigin: PAIR(360, 0)
  916. *switch: Resolution
  917. {
  918. *case: Option1
  919. {
  920. *% Warning: the following printable width is adjusted (7675->7672) so it is divisible by the resolution X scale.
  921. *% Warning: the following printable length is adjusted (5674->5672) so it is divisible by the resolution Y scale.
  922. *PrintableArea: PAIR(7672, 5672)
  923. }
  924. }
  925. }
  926. }
  927. }
  928. *Option: Option17
  929. {
  930. *rcNameID: 267
  931. *OptionID: 267
  932. *PageDimensions: PAIR(12240, 15840)
  933. *Command: CmdSelect
  934. {
  935. *Order: DOC_SETUP.5
  936. *Cmd: "<1B>~<040002020B>"
  937. }
  938. *switch: InputBin
  939. {
  940. *case: Option1
  941. {
  942. *PrintableArea: PAIR(10800, 14840)
  943. *PrintableOrigin: PAIR(360, 360)
  944. }
  945. *case: Option2
  946. {
  947. *PrintableArea: PAIR(10800, 15120)
  948. *PrintableOrigin: PAIR(360, 360)
  949. }
  950. *case: Option3
  951. {
  952. *PrintableArea: PAIR(10800, 15840)
  953. *PrintableOrigin: PAIR(360, 0)
  954. }
  955. *case: Option4
  956. {
  957. *PrintableArea: PAIR(10800, 15120)
  958. *PrintableOrigin: PAIR(360, 360)
  959. }
  960. *case: Option5
  961. {
  962. *PrintableArea: PAIR(10800, 15840)
  963. *PrintableOrigin: PAIR(360, 0)
  964. }
  965. *case: Option6
  966. {
  967. *PrintableArea: PAIR(10800, 15120)
  968. *PrintableOrigin: PAIR(360, 360)
  969. }
  970. *case: Option7
  971. {
  972. *PrintableArea: PAIR(10800, 15840)
  973. *PrintableOrigin: PAIR(360, 0)
  974. }
  975. }
  976. }
  977. *Option: Option18
  978. {
  979. *rcNameID: 268
  980. *OptionID: 268
  981. *PageDimensions: PAIR(14400, 15840)
  982. *Command: CmdSelect
  983. {
  984. *Order: DOC_SETUP.5
  985. *Cmd: "<1B>~<040002020B>"
  986. }
  987. *switch: InputBin
  988. {
  989. *case: Option1
  990. {
  991. *PrintableArea: PAIR(11520, 14840)
  992. *PrintableOrigin: PAIR(360, 360)
  993. }
  994. *case: Option2
  995. {
  996. *PrintableArea: PAIR(11520, 15120)
  997. *PrintableOrigin: PAIR(360, 360)
  998. }
  999. *case: Option3
  1000. {
  1001. *PrintableArea: PAIR(11520, 15840)
  1002. *PrintableOrigin: PAIR(360, 0)
  1003. }
  1004. *case: Option4
  1005. {
  1006. *PrintableArea: PAIR(11520, 15120)
  1007. *PrintableOrigin: PAIR(360, 360)
  1008. }
  1009. *case: Option5
  1010. {
  1011. *PrintableArea: PAIR(11520, 15840)
  1012. *PrintableOrigin: PAIR(360, 0)
  1013. }
  1014. *case: Option6
  1015. {
  1016. *PrintableArea: PAIR(11520, 15120)
  1017. *PrintableOrigin: PAIR(360, 360)
  1018. }
  1019. *case: Option7
  1020. {
  1021. *PrintableArea: PAIR(11520, 15840)
  1022. *PrintableOrigin: PAIR(360, 0)
  1023. }
  1024. }
  1025. }
  1026. *Option: CUSTOMSIZE
  1027. {
  1028. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1029. *MinSize: PAIR(2880, 2880)
  1030. *MaxSize: PAIR(23040, 31680)
  1031. *MaxPrintableWidth: 19584
  1032. *switch: InputBin
  1033. {
  1034. *case: Option1
  1035. {
  1036. *CustPrintableSizeX: %d{min(19584, PhysPaperWidth)}
  1037. *CustPrintableSizeY: %d{PhysPaperLength-(360+640)}
  1038. *CustPrintableOriginX: %d{360}
  1039. *CustPrintableOriginY: %d{360}
  1040. *CustCursorOriginX: %d{360}
  1041. *CustCursorOriginY: %d{360}
  1042. }
  1043. *case: Option2
  1044. {
  1045. *CustPrintableSizeX: %d{min(19584, PhysPaperWidth)}
  1046. *CustPrintableSizeY: %d{PhysPaperLength-(360+360)}
  1047. *CustPrintableOriginX: %d{360}
  1048. *CustPrintableOriginY: %d{360}
  1049. *CustCursorOriginX: %d{360}
  1050. *CustCursorOriginY: %d{360}
  1051. }
  1052. *case: Option3
  1053. {
  1054. *CustPrintableSizeX: %d{min(19584, PhysPaperWidth)}
  1055. *CustPrintableSizeY: %d{PhysPaperLength}
  1056. *CustPrintableOriginX: %d{360}
  1057. *CustPrintableOriginY: %d{0}
  1058. *CustCursorOriginX: %d{360}
  1059. *CustCursorOriginY: %d{0}
  1060. }
  1061. *case: Option4
  1062. {
  1063. *CustPrintableSizeX: %d{min(19584, PhysPaperWidth)}
  1064. *CustPrintableSizeY: %d{PhysPaperLength-(360+360)}
  1065. *CustPrintableOriginX: %d{360}
  1066. *CustPrintableOriginY: %d{360}
  1067. *CustCursorOriginX: %d{360}
  1068. *CustCursorOriginY: %d{360}
  1069. }
  1070. *case: Option5
  1071. {
  1072. *CustPrintableSizeX: %d{min(19584, PhysPaperWidth)}
  1073. *CustPrintableSizeY: %d{PhysPaperLength}
  1074. *CustPrintableOriginX: %d{360}
  1075. *CustPrintableOriginY: %d{0}
  1076. *CustCursorOriginX: %d{360}
  1077. *CustCursorOriginY: %d{0}
  1078. }
  1079. *case: Option6
  1080. {
  1081. *CustPrintableSizeX: %d{min(19584, PhysPaperWidth)}
  1082. *CustPrintableSizeY: %d{PhysPaperLength-(360+360)}
  1083. *CustPrintableOriginX: %d{360}
  1084. *CustPrintableOriginY: %d{360}
  1085. *CustCursorOriginX: %d{360}
  1086. *CustCursorOriginY: %d{360}
  1087. }
  1088. *case: Option7
  1089. {
  1090. *CustPrintableSizeX: %d{min(19584, PhysPaperWidth)}
  1091. *CustPrintableSizeY: %d{PhysPaperLength}
  1092. *CustPrintableOriginX: %d{360}
  1093. *CustPrintableOriginY: %d{0}
  1094. *CustCursorOriginX: %d{360}
  1095. *CustCursorOriginY: %d{0}
  1096. }
  1097. }
  1098. *Command: CmdSelect
  1099. {
  1100. *Order: DOC_SETUP.5
  1101. *Cmd: "<1B>~<04000300>" %m[0,132]{max_repeat((PhysPaperLength / 240) )}
  1102. }
  1103. }
  1104. }
  1105. *InvalidCombination: LIST(InputBin.Option1, PaperSize.Option17)
  1106. *InvalidCombination: LIST(InputBin.Option1, PaperSize.Option18)
  1107. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4)
  1108. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5)
  1109. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5_ROTATED)
  1110. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5)
  1111. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5_JIS_ROTATED)
  1112. *InvalidCombination: LIST(InputBin.Option2, PaperSize.LETTER)
  1113. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  1114. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1115. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  1116. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  1117. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5_ROTATED)
  1118. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  1119. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5_JIS_ROTATED)
  1120. *InvalidCombination: LIST(InputBin.Option3, PaperSize.LETTER)
  1121. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  1122. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1123. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A4)
  1124. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5)
  1125. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5_ROTATED)
  1126. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B5)
  1127. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B5_JIS_ROTATED)
  1128. *InvalidCombination: LIST(InputBin.Option4, PaperSize.LETTER)
  1129. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD)
  1130. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1131. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A4)
  1132. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5)
  1133. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5_ROTATED)
  1134. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5)
  1135. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5_JIS_ROTATED)
  1136. *InvalidCombination: LIST(InputBin.Option5, PaperSize.LETTER)
  1137. *InvalidCombination: LIST(InputBin.Option5, PaperSize.JAPANESE_POSTCARD)
  1138. *InvalidCombination: LIST(InputBin.Option5, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1139. *Feature: PrintQuality
  1140. {
  1141. *rcNameID: =TEXT_QUALITY_DISPLAY
  1142. *DefaultOption: Option1
  1143. *Option: Option1
  1144. {
  1145. *rcNameID: 308
  1146. *Command: CmdSelect
  1147. {
  1148. *Order: DOC_SETUP.3
  1149. *Cmd: "<1B>%%B<1B>~<0E0001021B>~<0E00011A>"
  1150. }
  1151. }
  1152. *Option: Option2
  1153. {
  1154. *rcNameID: 309
  1155. *Command: CmdSelect
  1156. {
  1157. *Order: DOC_SETUP.3
  1158. *Cmd: "<1B>%%U<1B>~<0E0001021B>~<0E00011A>"
  1159. }
  1160. }
  1161. *Option: Option3
  1162. {
  1163. *rcNameID: 310
  1164. *Command: CmdSelect
  1165. {
  1166. *Order: DOC_SETUP.3
  1167. *Cmd: "<1B>%%B<1B>~<0E0001011B>~<0E00011A>"
  1168. }
  1169. }
  1170. *Option: Option4
  1171. {
  1172. *rcNameID: 311
  1173. *Command: CmdSelect
  1174. {
  1175. *Order: DOC_SETUP.3
  1176. *Cmd: "<1B>%%U<1B>~<0E0001011B>~<0E00011A>"
  1177. }
  1178. }
  1179. *Option: Option5
  1180. {
  1181. *rcNameID: 312
  1182. *Command: CmdSelect
  1183. {
  1184. *Order: DOC_SETUP.3
  1185. *Cmd: "<1B>%%B<1B>~<0E0001021B>~<0E000119>"
  1186. }
  1187. }
  1188. }
  1189. *Feature: Halftone
  1190. {
  1191. *rcNameID: =HALFTONING_DISPLAY
  1192. *DefaultOption: HT_PATSIZE_AUTO
  1193. *Option: HT_PATSIZE_AUTO
  1194. {
  1195. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1196. }
  1197. *Option: HT_PATSIZE_SUPERCELL_M
  1198. {
  1199. *rcNameID: =HT_SUPERCELL_DISPLAY
  1200. }
  1201. *Option: HT_PATSIZE_6x6_M
  1202. {
  1203. *rcNameID: =HT_DITHER6X6_DISPLAY
  1204. }
  1205. *Option: HT_PATSIZE_8x8_M
  1206. {
  1207. *rcNameID: =HT_DITHER8X8_DISPLAY
  1208. }
  1209. }
  1210. *Command: CmdStartDoc
  1211. {
  1212. *Order: DOC_SETUP.1
  1213. *Cmd: "<1B>~<120001111B>~<0100001B>~<020001>K<1B>~<030001>K"
  1214. }
  1215. *Command: CmdStartPage
  1216. {
  1217. *Order: PAGE_SETUP.1
  1218. *Cmd: "<0D>"
  1219. }
  1220. *Command: CmdEndJob
  1221. {
  1222. *Order: JOB_FINISH.1
  1223. *Cmd: "<1B>~<010000>"
  1224. }
  1225. *Command: CmdEndPage
  1226. {
  1227. *Order: PAGE_FINISH.1
  1228. *Cmd: "<0D>"
  1229. }
  1230. *RotateCoordinate?: FALSE
  1231. *RotateRaster?: FALSE
  1232. *RotateFont?: FALSE
  1233. *TextCaps: LIST(TC_OP_CHARACTER,TC_SA_DOUBLE,TC_EA_DOUBLE,TC_RA_ABLE)
  1234. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1235. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1236. *XMoveThreshold: *
  1237. *YMoveThreshold: *
  1238. *XMoveUnit: 180
  1239. *YMoveUnit: 120
  1240. *Command: CmdXMoveRelRight { *Cmd : "<1B>%%3" %m[1,2448]{max_repeat((DestXRel / 8) )} }
  1241. *Command: CmdYMoveRelDown { *Cmd : "<1B>%%5" %m[1,255]{max_repeat((DestYRel / 12) )} }
  1242. *Command: CmdCR { *Cmd : "<0D>" }
  1243. *Command: CmdLF { *Cmd : "<0A>" }
  1244. *Command: CmdFF { *Cmd : "<0C>" }
  1245. *Command: CmdBackSpace { *Cmd : "<08>" }
  1246. *EjectPageWithFF?: TRUE
  1247. *OutputDataFormat: V_BYTE
  1248. *OptimizeLeftBound?: FALSE
  1249. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1250. *CursorYAfterSendBlockData: NO_MOVE
  1251. *DefaultFont: 4
  1252. *DefaultCTT: 0
  1253. *switch: Orientation
  1254. {
  1255. *case: PORTRAIT
  1256. {
  1257. *DeviceFonts: LIST(1,2,3,4,5)
  1258. }
  1259. *case: LANDSCAPE_CC270
  1260. {
  1261. *DeviceFonts: LIST()
  1262. }
  1263. }
  1264. *Command: CmdBoldOn { *Cmd : "<1B>~<0E000117>" }
  1265. *Command: CmdBoldOff { *Cmd : "<1B>~<0E000118>" }