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.

921 lines
35 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: "stjp200j.gpd"
  9. *ModelName: "Star JP-200"
  10. *MasterUnits: PAIR(480, 480)
  11. *ResourceDLL: "st21jres.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: Option1
  30. *Option: Option1
  31. {
  32. *rcNameID: 258
  33. *OptionID: 258
  34. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  35. }
  36. *Option: Option2
  37. {
  38. *rcNameID: 259
  39. *OptionID: 259
  40. }
  41. *Option: Option3
  42. {
  43. *rcNameID: 260
  44. *OptionID: 260
  45. }
  46. }
  47. *Feature: Resolution
  48. {
  49. *rcNameID: =RESOLUTION_DISPLAY
  50. *DefaultOption: Option1
  51. *Option: Option1
  52. {
  53. *Name: "160 x 160 " =DOTS_PER_INCH
  54. *DPI: PAIR(160, 160)
  55. *TextDPI: PAIR(160, 160)
  56. *PinsPerLogPass: 24
  57. *PinsPerPhysPass: 24
  58. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  59. *% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
  60. *SpotDiameter: 120
  61. *Command: CmdSendBlockData { *Cmd : "<1B>J" %4d{NumOfDataBytes / 3} }
  62. }
  63. }
  64. *Feature: PaperSize
  65. {
  66. *rcNameID: =PAPER_SIZE_DISPLAY
  67. *DefaultOption: A4
  68. *Option: A4
  69. {
  70. *rcNameID: =A4_DISPLAY
  71. *switch: InputBin
  72. {
  73. *case: Option1
  74. {
  75. *PrintableArea: PAIR(3836, 5166)
  76. *PrintableOrigin: PAIR(67, 445)
  77. *switch: Resolution
  78. {
  79. *case: Option1
  80. {
  81. *% Warning: the following printable width is adjusted (3836->3834) so it is divisible by the resolution X scale.
  82. *% Warning: the following printable length is adjusted (5166->5163) so it is divisible by the resolution Y scale.
  83. *PrintableArea: PAIR(3834, 5163)
  84. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  85. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  86. *PrintableOrigin: PAIR(69, 447)
  87. }
  88. }
  89. }
  90. *case: Option2
  91. {
  92. *PrintableArea: PAIR(3836, 5611)
  93. *PrintableOrigin: PAIR(67, 0)
  94. *switch: Resolution
  95. {
  96. *case: Option1
  97. {
  98. *% Warning: the following printable width is adjusted (3836->3834) so it is divisible by the resolution X scale.
  99. *% Warning: the following printable length is adjusted (5611->5610) so it is divisible by the resolution Y scale.
  100. *PrintableArea: PAIR(3834, 5610)
  101. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  102. *PrintableOrigin: PAIR(69, 0)
  103. }
  104. }
  105. }
  106. *case: Option3
  107. {
  108. *PrintableArea: PAIR(3836, 5311)
  109. *PrintableOrigin: PAIR(67, 150)
  110. *switch: Resolution
  111. {
  112. *case: Option1
  113. {
  114. *% Warning: the following printable width is adjusted (3836->3834) so it is divisible by the resolution X scale.
  115. *% Warning: the following printable length is adjusted (5311->5310) so it is divisible by the resolution Y scale.
  116. *PrintableArea: PAIR(3834, 5310)
  117. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  118. *PrintableOrigin: PAIR(69, 150)
  119. }
  120. }
  121. }
  122. }
  123. }
  124. *Option: A4_ROTATED
  125. {
  126. *rcNameID: =A4_ROTATED_DISPLAY
  127. *switch: InputBin
  128. {
  129. *case: Option1
  130. {
  131. *PrintableArea: PAIR(5477, 3525)
  132. *PrintableOrigin: PAIR(67, 445)
  133. *switch: Resolution
  134. {
  135. *case: Option1
  136. {
  137. *% Warning: the following printable width is adjusted (5477->5475) so it is divisible by the resolution X scale.
  138. *% Warning: the following printable length is adjusted (3525->3522) so it is divisible by the resolution Y scale.
  139. *PrintableArea: PAIR(5475, 3522)
  140. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  141. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  142. *PrintableOrigin: PAIR(69, 447)
  143. }
  144. }
  145. }
  146. *case: Option2
  147. {
  148. *PrintableArea: PAIR(5477, 3970)
  149. *PrintableOrigin: PAIR(67, 0)
  150. *switch: Resolution
  151. {
  152. *case: Option1
  153. {
  154. *% Warning: the following printable width is adjusted (5477->5475) so it is divisible by the resolution X scale.
  155. *% Warning: the following printable length is adjusted (3970->3969) so it is divisible by the resolution Y scale.
  156. *PrintableArea: PAIR(5475, 3969)
  157. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  158. *PrintableOrigin: PAIR(69, 0)
  159. }
  160. }
  161. }
  162. *case: Option3
  163. {
  164. *PrintableArea: PAIR(5477, 3670)
  165. *PrintableOrigin: PAIR(67, 150)
  166. *switch: Resolution
  167. {
  168. *case: Option1
  169. {
  170. *% Warning: the following printable width is adjusted (5477->5475) so it is divisible by the resolution X scale.
  171. *% Warning: the following printable length is adjusted (3670->3669) so it is divisible by the resolution Y scale.
  172. *PrintableArea: PAIR(5475, 3669)
  173. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  174. *PrintableOrigin: PAIR(69, 150)
  175. }
  176. }
  177. }
  178. }
  179. }
  180. *Option: A2
  181. {
  182. *rcNameID: =A2_DISPLAY
  183. *switch: InputBin
  184. {
  185. *case: Option1
  186. {
  187. *PrintableArea: PAIR(7200, 10782)
  188. *PrintableOrigin: PAIR(67, 445)
  189. *switch: Resolution
  190. {
  191. *case: Option1
  192. {
  193. *% Warning: the following printable width is adjusted (7200->7197) so it is divisible by the resolution X scale.
  194. *% Warning: the following printable length is adjusted (10782->10779) so it is divisible by the resolution Y scale.
  195. *PrintableArea: PAIR(7197, 10779)
  196. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  197. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  198. *PrintableOrigin: PAIR(69, 447)
  199. }
  200. }
  201. }
  202. *case: Option2
  203. {
  204. *PrintableArea: PAIR(7200, 11227)
  205. *PrintableOrigin: PAIR(67, 0)
  206. *switch: Resolution
  207. {
  208. *case: Option1
  209. {
  210. *% Warning: the following printable width is adjusted (7200->7197) so it is divisible by the resolution X scale.
  211. *% Warning: the following printable length is adjusted (11227->11226) so it is divisible by the resolution Y scale.
  212. *PrintableArea: PAIR(7197, 11226)
  213. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  214. *PrintableOrigin: PAIR(69, 0)
  215. }
  216. }
  217. }
  218. *case: Option3
  219. {
  220. *PrintableArea: PAIR(7200, 10927)
  221. *PrintableOrigin: PAIR(67, 150)
  222. *switch: Resolution
  223. {
  224. *case: Option1
  225. {
  226. *% Warning: the following printable width is adjusted (7200->7197) so it is divisible by the resolution X scale.
  227. *% Warning: the following printable length is adjusted (10927->10926) so it is divisible by the resolution Y scale.
  228. *PrintableArea: PAIR(7197, 10926)
  229. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  230. *PrintableOrigin: PAIR(69, 150)
  231. }
  232. }
  233. }
  234. }
  235. }
  236. *Option: A3_ROTATED
  237. {
  238. *rcNameID: =A3_ROTATED_DISPLAY
  239. *switch: InputBin
  240. {
  241. *case: Option1
  242. {
  243. *PrintableArea: PAIR(7200, 5166)
  244. *PrintableOrigin: PAIR(67, 445)
  245. *switch: Resolution
  246. {
  247. *case: Option1
  248. {
  249. *% Warning: the following printable width is adjusted (7200->7197) so it is divisible by the resolution X scale.
  250. *% Warning: the following printable length is adjusted (5166->5163) so it is divisible by the resolution Y scale.
  251. *PrintableArea: PAIR(7197, 5163)
  252. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  253. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  254. *PrintableOrigin: PAIR(69, 447)
  255. }
  256. }
  257. }
  258. *case: Option2
  259. {
  260. *PrintableArea: PAIR(7200, 5611)
  261. *PrintableOrigin: PAIR(67, 0)
  262. *switch: Resolution
  263. {
  264. *case: Option1
  265. {
  266. *% Warning: the following printable width is adjusted (7200->7197) so it is divisible by the resolution X scale.
  267. *% Warning: the following printable length is adjusted (5611->5610) so it is divisible by the resolution Y scale.
  268. *PrintableArea: PAIR(7197, 5610)
  269. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  270. *PrintableOrigin: PAIR(69, 0)
  271. }
  272. }
  273. }
  274. *case: Option3
  275. {
  276. *PrintableArea: PAIR(7200, 5311)
  277. *PrintableOrigin: PAIR(67, 150)
  278. *switch: Resolution
  279. {
  280. *case: Option1
  281. {
  282. *% Warning: the following printable width is adjusted (7200->7197) so it is divisible by the resolution X scale.
  283. *% Warning: the following printable length is adjusted (5311->5310) so it is divisible by the resolution Y scale.
  284. *PrintableArea: PAIR(7197, 5310)
  285. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  286. *PrintableOrigin: PAIR(69, 150)
  287. }
  288. }
  289. }
  290. }
  291. }
  292. *Option: A3
  293. {
  294. *rcNameID: =A3_DISPLAY
  295. *switch: InputBin
  296. {
  297. *case: Option1
  298. {
  299. *PrintableArea: PAIR(5477, 7494)
  300. *PrintableOrigin: PAIR(67, 445)
  301. *switch: Resolution
  302. {
  303. *case: Option1
  304. {
  305. *% Warning: the following printable width is adjusted (5477->5475) so it is divisible by the resolution X scale.
  306. *% Warning: the following printable length is adjusted (7494->7491) so it is divisible by the resolution Y scale.
  307. *PrintableArea: PAIR(5475, 7491)
  308. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  309. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  310. *PrintableOrigin: PAIR(69, 447)
  311. }
  312. }
  313. }
  314. *case: Option2
  315. {
  316. *PrintableArea: PAIR(5477, 7939)
  317. *PrintableOrigin: PAIR(67, 0)
  318. *switch: Resolution
  319. {
  320. *case: Option1
  321. {
  322. *% Warning: the following printable width is adjusted (5477->5475) so it is divisible by the resolution X scale.
  323. *% Warning: the following printable length is adjusted (7939->7938) so it is divisible by the resolution Y scale.
  324. *PrintableArea: PAIR(5475, 7938)
  325. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  326. *PrintableOrigin: PAIR(69, 0)
  327. }
  328. }
  329. }
  330. *case: Option3
  331. {
  332. *PrintableArea: PAIR(5477, 7639)
  333. *PrintableOrigin: PAIR(67, 150)
  334. *switch: Resolution
  335. {
  336. *case: Option1
  337. {
  338. *% Warning: the following printable width is adjusted (5477->5475) so it is divisible by the resolution X scale.
  339. *% Warning: the following printable length is adjusted (7639->7638) so it is divisible by the resolution Y scale.
  340. *PrintableArea: PAIR(5475, 7638)
  341. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  342. *PrintableOrigin: PAIR(69, 150)
  343. }
  344. }
  345. }
  346. }
  347. }
  348. *Option: B5
  349. {
  350. *rcNameID: =B5_DISPLAY
  351. *switch: InputBin
  352. {
  353. *case: Option1
  354. {
  355. *PrintableArea: PAIR(3308, 4413)
  356. *PrintableOrigin: PAIR(67, 445)
  357. *switch: Resolution
  358. {
  359. *case: Option1
  360. {
  361. *% Warning: the following printable width is adjusted (3308->3306) so it is divisible by the resolution X scale.
  362. *% Warning: the following printable length is adjusted (4413->4410) so it is divisible by the resolution Y scale.
  363. *PrintableArea: PAIR(3306, 4410)
  364. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  365. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  366. *PrintableOrigin: PAIR(69, 447)
  367. }
  368. }
  369. }
  370. *case: Option2
  371. {
  372. *PrintableArea: PAIR(3308, 4858)
  373. *PrintableOrigin: PAIR(67, 0)
  374. *switch: Resolution
  375. {
  376. *case: Option1
  377. {
  378. *% Warning: the following printable width is adjusted (3308->3306) so it is divisible by the resolution X scale.
  379. *% Warning: the following printable length is adjusted (4858->4857) so it is divisible by the resolution Y scale.
  380. *PrintableArea: PAIR(3306, 4857)
  381. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  382. *PrintableOrigin: PAIR(69, 0)
  383. }
  384. }
  385. }
  386. *case: Option3
  387. {
  388. *PrintableArea: PAIR(3308, 4558)
  389. *PrintableOrigin: PAIR(67, 150)
  390. *switch: Resolution
  391. {
  392. *case: Option1
  393. {
  394. *% Warning: the following printable width is adjusted (3308->3306) so it is divisible by the resolution X scale.
  395. *% Warning: the following printable length is adjusted (4558->4557) so it is divisible by the resolution Y scale.
  396. *PrintableArea: PAIR(3306, 4557)
  397. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  398. *PrintableOrigin: PAIR(69, 150)
  399. }
  400. }
  401. }
  402. }
  403. }
  404. *Option: JAPANESE_POSTCARD
  405. {
  406. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  407. *switch: InputBin
  408. {
  409. *case: Option1
  410. {
  411. *PrintableArea: PAIR(1757, 2353)
  412. *PrintableOrigin: PAIR(67, 445)
  413. *switch: Resolution
  414. {
  415. *case: Option1
  416. {
  417. *% Warning: the following printable width is adjusted (1757->1755) so it is divisible by the resolution X scale.
  418. *% Warning: the following printable length is adjusted (2353->2349) so it is divisible by the resolution Y scale.
  419. *PrintableArea: PAIR(1755, 2349)
  420. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  421. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  422. *PrintableOrigin: PAIR(69, 447)
  423. }
  424. }
  425. }
  426. *case: Option2
  427. {
  428. *PrintableArea: PAIR(1757, 2798)
  429. *PrintableOrigin: PAIR(67, 0)
  430. *switch: Resolution
  431. {
  432. *case: Option1
  433. {
  434. *% Warning: the following printable width is adjusted (1757->1755) so it is divisible by the resolution X scale.
  435. *% Warning: the following printable length is adjusted (2798->2796) so it is divisible by the resolution Y scale.
  436. *PrintableArea: PAIR(1755, 2796)
  437. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  438. *PrintableOrigin: PAIR(69, 0)
  439. }
  440. }
  441. }
  442. *case: Option3
  443. {
  444. *PrintableArea: PAIR(1757, 2498)
  445. *PrintableOrigin: PAIR(67, 150)
  446. *switch: Resolution
  447. {
  448. *case: Option1
  449. {
  450. *% Warning: the following printable width is adjusted (1757->1755) so it is divisible by the resolution X scale.
  451. *% Warning: the following printable length is adjusted (2498->2496) so it is divisible by the resolution Y scale.
  452. *PrintableArea: PAIR(1755, 2496)
  453. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  454. *PrintableOrigin: PAIR(69, 150)
  455. }
  456. }
  457. }
  458. }
  459. }
  460. *Option: JAPANESE_POSTCARD_ROTATED
  461. {
  462. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  463. *switch: InputBin
  464. {
  465. *case: Option1
  466. {
  467. *PrintableArea: PAIR(2664, 1446)
  468. *PrintableOrigin: PAIR(67, 445)
  469. *switch: Resolution
  470. {
  471. *case: Option1
  472. {
  473. *% Warning: the following printable width is adjusted (2664->2661) so it is divisible by the resolution X scale.
  474. *% Warning: the following printable length is adjusted (1446->1443) so it is divisible by the resolution Y scale.
  475. *PrintableArea: PAIR(2661, 1443)
  476. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  477. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  478. *PrintableOrigin: PAIR(69, 447)
  479. }
  480. }
  481. }
  482. *case: Option2
  483. {
  484. *PrintableArea: PAIR(2664, 1891)
  485. *PrintableOrigin: PAIR(67, 0)
  486. *switch: Resolution
  487. {
  488. *case: Option1
  489. {
  490. *% Warning: the following printable width is adjusted (2664->2661) so it is divisible by the resolution X scale.
  491. *% Warning: the following printable length is adjusted (1891->1890) so it is divisible by the resolution Y scale.
  492. *PrintableArea: PAIR(2661, 1890)
  493. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  494. *PrintableOrigin: PAIR(69, 0)
  495. }
  496. }
  497. }
  498. *case: Option3
  499. {
  500. *PrintableArea: PAIR(2664, 1591)
  501. *PrintableOrigin: PAIR(67, 150)
  502. *switch: Resolution
  503. {
  504. *case: Option1
  505. {
  506. *% Warning: the following printable width is adjusted (2664->2661) so it is divisible by the resolution X scale.
  507. *% Warning: the following printable length is adjusted (1591->1590) so it is divisible by the resolution Y scale.
  508. *PrintableArea: PAIR(2661, 1590)
  509. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  510. *PrintableOrigin: PAIR(69, 150)
  511. }
  512. }
  513. }
  514. }
  515. }
  516. *Option: 10X11
  517. {
  518. *rcNameID: =10X11_DISPLAY
  519. *switch: InputBin
  520. {
  521. *case: Option1
  522. {
  523. *PrintableArea: PAIR(4800, 4835)
  524. *PrintableOrigin: PAIR(0, 445)
  525. *switch: Resolution
  526. {
  527. *case: Option1
  528. {
  529. *% Warning: the following printable length is adjusted (4835->4833) so it is divisible by the resolution Y scale.
  530. *PrintableArea: PAIR(4800, 4833)
  531. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  532. *PrintableOrigin: PAIR(0, 447)
  533. }
  534. }
  535. }
  536. *case: Option2
  537. {
  538. *PrintableArea: PAIR(4800, 5280)
  539. *PrintableOrigin: PAIR(0, 0)
  540. }
  541. *case: Option3
  542. {
  543. *PrintableArea: PAIR(4800, 4980)
  544. *PrintableOrigin: PAIR(0, 150)
  545. }
  546. }
  547. }
  548. *Option: B5_JIS_ROTATED
  549. {
  550. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  551. *switch: InputBin
  552. {
  553. *case: Option1
  554. {
  555. *PrintableArea: PAIR(4858, 2997)
  556. *PrintableOrigin: PAIR(0, 445)
  557. *switch: Resolution
  558. {
  559. *case: Option1
  560. {
  561. *% Warning: the following printable width is adjusted (4858->4857) so it is divisible by the resolution X scale.
  562. *% Warning: the following printable length is adjusted (2997->2994) so it is divisible by the resolution Y scale.
  563. *PrintableArea: PAIR(4857, 2994)
  564. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  565. *PrintableOrigin: PAIR(0, 447)
  566. }
  567. }
  568. }
  569. *case: Option2
  570. {
  571. *PrintableArea: PAIR(4858, 3442)
  572. *PrintableOrigin: PAIR(0, 0)
  573. *switch: Resolution
  574. {
  575. *case: Option1
  576. {
  577. *% Warning: the following printable width is adjusted (4858->4857) so it is divisible by the resolution X scale.
  578. *% Warning: the following printable length is adjusted (3442->3441) so it is divisible by the resolution Y scale.
  579. *PrintableArea: PAIR(4857, 3441)
  580. }
  581. }
  582. }
  583. *case: Option3
  584. {
  585. *PrintableArea: PAIR(4858, 3142)
  586. *PrintableOrigin: PAIR(0, 150)
  587. *switch: Resolution
  588. {
  589. *case: Option1
  590. {
  591. *% Warning: the following printable width is adjusted (4858->4857) so it is divisible by the resolution X scale.
  592. *% Warning: the following printable length is adjusted (3142->3141) so it is divisible by the resolution Y scale.
  593. *PrintableArea: PAIR(4857, 3141)
  594. }
  595. }
  596. }
  597. }
  598. }
  599. *Option: B4_JIS_ROTATED
  600. {
  601. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  602. *switch: InputBin
  603. {
  604. *case: Option1
  605. {
  606. *PrintableArea: PAIR(6878, 4413)
  607. *PrintableOrigin: PAIR(0, 445)
  608. *switch: Resolution
  609. {
  610. *case: Option1
  611. {
  612. *% Warning: the following printable width is adjusted (6878->6876) so it is divisible by the resolution X scale.
  613. *% Warning: the following printable length is adjusted (4413->4410) so it is divisible by the resolution Y scale.
  614. *PrintableArea: PAIR(6876, 4410)
  615. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  616. *PrintableOrigin: PAIR(0, 447)
  617. }
  618. }
  619. }
  620. *case: Option2
  621. {
  622. *PrintableArea: PAIR(6878, 4858)
  623. *PrintableOrigin: PAIR(0, 0)
  624. *switch: Resolution
  625. {
  626. *case: Option1
  627. {
  628. *% Warning: the following printable width is adjusted (6878->6876) so it is divisible by the resolution X scale.
  629. *% Warning: the following printable length is adjusted (4858->4857) so it is divisible by the resolution Y scale.
  630. *PrintableArea: PAIR(6876, 4857)
  631. }
  632. }
  633. }
  634. *case: Option3
  635. {
  636. *PrintableArea: PAIR(6878, 4558)
  637. *PrintableOrigin: PAIR(0, 150)
  638. *switch: Resolution
  639. {
  640. *case: Option1
  641. {
  642. *% Warning: the following printable width is adjusted (6878->6876) so it is divisible by the resolution X scale.
  643. *% Warning: the following printable length is adjusted (4558->4557) so it is divisible by the resolution Y scale.
  644. *PrintableArea: PAIR(6876, 4557)
  645. }
  646. }
  647. }
  648. }
  649. }
  650. *Option: B4
  651. {
  652. *rcNameID: =B4_DISPLAY
  653. *switch: InputBin
  654. {
  655. *case: Option1
  656. {
  657. *PrintableArea: PAIR(4858, 6433)
  658. *PrintableOrigin: PAIR(0, 445)
  659. *switch: Resolution
  660. {
  661. *case: Option1
  662. {
  663. *% Warning: the following printable width is adjusted (4858->4857) so it is divisible by the resolution X scale.
  664. *% Warning: the following printable length is adjusted (6433->6429) so it is divisible by the resolution Y scale.
  665. *PrintableArea: PAIR(4857, 6429)
  666. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  667. *PrintableOrigin: PAIR(0, 447)
  668. }
  669. }
  670. }
  671. *case: Option2
  672. {
  673. *PrintableArea: PAIR(4858, 6878)
  674. *PrintableOrigin: PAIR(0, 0)
  675. *switch: Resolution
  676. {
  677. *case: Option1
  678. {
  679. *% Warning: the following printable width is adjusted (4858->4857) so it is divisible by the resolution X scale.
  680. *% Warning: the following printable length is adjusted (6878->6876) so it is divisible by the resolution Y scale.
  681. *PrintableArea: PAIR(4857, 6876)
  682. }
  683. }
  684. }
  685. *case: Option3
  686. {
  687. *PrintableArea: PAIR(4858, 6578)
  688. *PrintableOrigin: PAIR(0, 150)
  689. *switch: Resolution
  690. {
  691. *case: Option1
  692. {
  693. *% Warning: the following printable width is adjusted (4858->4857) so it is divisible by the resolution X scale.
  694. *% Warning: the following printable length is adjusted (6578->6576) so it is divisible by the resolution Y scale.
  695. *PrintableArea: PAIR(4857, 6576)
  696. }
  697. }
  698. }
  699. }
  700. }
  701. *Option: 15X11
  702. {
  703. *rcNameID: =15X11_DISPLAY
  704. *switch: InputBin
  705. {
  706. *case: Option1
  707. {
  708. *PrintableArea: PAIR(7200, 4835)
  709. *PrintableOrigin: PAIR(0, 445)
  710. *switch: Resolution
  711. {
  712. *case: Option1
  713. {
  714. *% Warning: the following printable length is adjusted (4835->4833) so it is divisible by the resolution Y scale.
  715. *PrintableArea: PAIR(7200, 4833)
  716. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  717. *PrintableOrigin: PAIR(0, 447)
  718. }
  719. }
  720. }
  721. *case: Option2
  722. {
  723. *PrintableArea: PAIR(7200, 5280)
  724. *PrintableOrigin: PAIR(0, 0)
  725. }
  726. *case: Option3
  727. {
  728. *PrintableArea: PAIR(7200, 4980)
  729. *PrintableOrigin: PAIR(0, 150)
  730. }
  731. }
  732. }
  733. *Option: 12X11
  734. {
  735. *rcNameID: =12X11_DISPLAY
  736. *switch: InputBin
  737. {
  738. *case: Option1
  739. {
  740. *PrintableArea: PAIR(5760, 4835)
  741. *PrintableOrigin: PAIR(0, 445)
  742. *switch: Resolution
  743. {
  744. *case: Option1
  745. {
  746. *% Warning: the following printable length is adjusted (4835->4833) so it is divisible by the resolution Y scale.
  747. *PrintableArea: PAIR(5760, 4833)
  748. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  749. *PrintableOrigin: PAIR(0, 447)
  750. }
  751. }
  752. }
  753. *case: Option2
  754. {
  755. *PrintableArea: PAIR(5760, 5280)
  756. *PrintableOrigin: PAIR(0, 0)
  757. }
  758. *case: Option3
  759. {
  760. *PrintableArea: PAIR(5760, 4980)
  761. *PrintableOrigin: PAIR(0, 150)
  762. }
  763. }
  764. }
  765. *Option: CUSTOMSIZE
  766. {
  767. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  768. *MinSize: PAIR(1890, 1890)
  769. *MaxSize: PAIR(7200, 7920)
  770. *MaxPrintableWidth: 7200
  771. *MinLeftMargin: 0
  772. *CenterPrintable?: FALSE
  773. *switch: InputBin
  774. {
  775. *case: Option1
  776. {
  777. *TopMargin: 445
  778. *BottomMargin: 0
  779. }
  780. *case: Option2
  781. {
  782. *TopMargin: 0
  783. *BottomMargin: 0
  784. }
  785. *case: Option3
  786. {
  787. *TopMargin: 150
  788. *BottomMargin: 150
  789. }
  790. }
  791. *Command: CmdSelect
  792. {
  793. *Order: DOC_SETUP.3
  794. *Cmd: %v{(PhysPaperLength / 53) }
  795. }
  796. }
  797. }
  798. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4)
  799. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4_ROTATED)
  800. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A2)
  801. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A3_ROTATED)
  802. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A3)
  803. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5)
  804. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  805. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  806. *InvalidCombination: LIST(InputBin.Option3, PaperSize.10X11)
  807. *InvalidCombination: LIST(InputBin.Option3, PaperSize.15X11)
  808. *InvalidCombination: LIST(InputBin.Option3, PaperSize.12X11)
  809. *Feature: PrintQuality
  810. {
  811. *rcNameID: =TEXT_QUALITY_DISPLAY
  812. *DefaultOption: LETTER_QUALITY
  813. *Option: LETTER_QUALITY
  814. {
  815. *rcNameID: =LETTER_QUALITY_DISPLAY
  816. }
  817. *Option: DRAFT_QUALITY
  818. {
  819. *rcNameID: =DRAFT_QUALITY_DISPLAY
  820. }
  821. }
  822. *Feature: Halftone
  823. {
  824. *rcNameID: =HALFTONING_DISPLAY
  825. *DefaultOption: HT_PATSIZE_AUTO
  826. *Option: HT_PATSIZE_AUTO
  827. {
  828. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  829. }
  830. *Option: HT_PATSIZE_SUPERCELL_M
  831. {
  832. *rcNameID: =HT_SUPERCELL_DISPLAY
  833. }
  834. *Option: HT_PATSIZE_6x6_M
  835. {
  836. *rcNameID: =HT_DITHER6X6_DISPLAY
  837. }
  838. *Option: HT_PATSIZE_8x8_M
  839. {
  840. *rcNameID: =HT_DITHER8X8_DISPLAY
  841. }
  842. }
  843. *Command: CmdStartDoc
  844. {
  845. *Order: DOC_SETUP.1
  846. *Cmd: "<1B>H<1B>%"<1B>Y<1B>M<1B>]<1B>A<1B>f"
  847. }
  848. *Command: CmdStartPage
  849. {
  850. *Order: PAGE_SETUP.1
  851. *Cmd: "<0D1B>a"
  852. }
  853. *Command: CmdEndJob
  854. {
  855. *Order: JOB_FINISH.1
  856. *Cmd: "<1B>b"
  857. }
  858. *RotateCoordinate?: FALSE
  859. *RotateRaster?: FALSE
  860. *RotateFont?: FALSE
  861. *switch: Orientation
  862. {
  863. *case: PORTRAIT
  864. {
  865. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  866. }
  867. *case: LANDSCAPE_CC270
  868. {
  869. *TextCaps: LIST(TC_RA_ABLE)
  870. }
  871. }
  872. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  873. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  874. *MaxLineSpacing: 396
  875. *XMoveThreshold: 0
  876. *XMoveUnit: 160
  877. *AbsXMovesRightOnly?: TRUE
  878. *Command: CmdXMoveAbsolute { *Cmd : "<1B>F" %4d[0,2175]{max_repeat((DestX / 3) )} }
  879. *LineSpacingMoveUnit: 120
  880. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  881. *Command: CmdCR { *Cmd : "<0D>" }
  882. *Command: CmdLF { *Cmd : "<0A>" }
  883. *Command: CmdFF { *Cmd : "<0D><0C>" }
  884. *Command: CmdBackSpace { *Cmd : "<08>" }
  885. *% Error: no Abs or Rel YMoveCommands found. Correct it manually.
  886. *EjectPageWithFF?: TRUE
  887. *switch: InputBin
  888. {
  889. *case: Option2
  890. {
  891. *EjectPageWithFF?: FALSE
  892. }
  893. *case: Option3
  894. {
  895. *EjectPageWithFF?: FALSE
  896. }
  897. }
  898. *OutputDataFormat: V_BYTE
  899. *OptimizeLeftBound?: FALSE
  900. *CursorXAfterSendBlockData: AT_GRXDATA_END
  901. *CursorYAfterSendBlockData: NO_MOVE
  902. *DefaultFont: 1
  903. *DefaultCTT: -1
  904. *switch: Orientation
  905. {
  906. *case: PORTRAIT
  907. {
  908. *DeviceFonts: LIST(1,2,3,4,5,6,7,8)
  909. }
  910. *case: LANDSCAPE_CC270
  911. {
  912. *DeviceFonts: LIST()
  913. }
  914. }
  915. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  916. *Command: CmdBoldOff { *Cmd : "<1C>c,,0." }
  917. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  918. *Command: CmdItalicOff { *Cmd : "<1C>c,,0." }
  919. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  920. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
  921. *MirrorRasterByte?: TRUE