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.

557 lines
24 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *CodePage: 1252
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "CN10VLJ.GPD"
  9. *Include: "STDNAMES.GPD"
  10. *ModelName: "Canon BJ-10v Lite"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "CN10VRES.DLL"
  13. *PrinterType: SERIAL
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: MANUAL
  31. *Option: MANUAL
  32. {
  33. *rcNameID: =MANUAL_FEED_DISPLAY
  34. }
  35. *Option: Option2
  36. {
  37. *rcNameID: 258
  38. *OptionID: 258
  39. }
  40. *Option: Option3
  41. {
  42. *rcNameID: 259
  43. *OptionID: 259
  44. }
  45. *Option: Option4
  46. {
  47. *rcNameID: 260
  48. *OptionID: 260
  49. }
  50. }
  51. *Feature: Resolution
  52. {
  53. *rcNameID: =RESOLUTION_DISPLAY
  54. *DefaultOption: Option1
  55. *Option: Option1
  56. {
  57. *Name: "360 x 360 dots per inch"
  58. *DPI: PAIR(360, 360)
  59. *TextDPI: PAIR(360, 360)
  60. *PinsPerLogPass: 48
  61. *PinsPerPhysPass: 48
  62. *MinStripBlankPixels: 270
  63. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  64. *SpotDiameter: 100
  65. *Command: CmdSendBlockData { *Cmd : "<1B>|*" %l{((NumOfDataBytes * 6) / 6) } }
  66. }
  67. *Option: Option2
  68. {
  69. *Name: "360 x 180 dots per inch"
  70. *DPI: PAIR(360, 180)
  71. *TextDPI: PAIR(360, 180)
  72. *PinsPerLogPass: 24
  73. *PinsPerPhysPass: 24
  74. *MinStripBlankPixels: 270
  75. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  76. *SpotDiameter: 100
  77. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  78. }
  79. *Option: Option3
  80. {
  81. *Name: "180 x 180 dots per inch"
  82. *DPI: PAIR(180, 180)
  83. *TextDPI: PAIR(180, 180)
  84. *PinsPerLogPass: 24
  85. *PinsPerPhysPass: 24
  86. *MinStripBlankPixels: 135
  87. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  88. *SpotDiameter: 100
  89. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  90. }
  91. *Option: Option4
  92. {
  93. *Name: "120 x 180 dots per inch"
  94. *DPI: PAIR(120, 180)
  95. *TextDPI: PAIR(120, 180)
  96. *PinsPerLogPass: 24
  97. *PinsPerPhysPass: 24
  98. *MinStripBlankPixels: 90
  99. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  100. *SpotDiameter: 100
  101. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  102. }
  103. }
  104. *Feature: PaperSize
  105. {
  106. *rcNameID: =PAPER_SIZE_DISPLAY
  107. *DefaultOption: A4
  108. *Option: LETTER
  109. {
  110. *rcNameID: =LETTER_DISPLAY
  111. *PrintableArea: PAIR(2878, 3659)
  112. *PrintableOrigin: PAIR(92, 121)
  113. *switch: Resolution
  114. {
  115. *case: Option2
  116. {
  117. *% Warning: the following printable length is adjusted (3659->3658) so it is divisible by the resolution Y scale.
  118. *PrintableArea: PAIR(2878, 3658)
  119. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  120. *PrintableOrigin: PAIR(92, 122)
  121. }
  122. *case: Option3
  123. {
  124. *% Warning: the following printable length is adjusted (3659->3658) so it is divisible by the resolution Y scale.
  125. *PrintableArea: PAIR(2878, 3658)
  126. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  127. *PrintableOrigin: PAIR(92, 122)
  128. }
  129. *case: Option4
  130. {
  131. *% Warning: the following printable width is adjusted (2878->2877) so it is divisible by the resolution X scale.
  132. *% Warning: the following printable length is adjusted (3659->3658) so it is divisible by the resolution Y scale.
  133. *PrintableArea: PAIR(2877, 3658)
  134. *% Warning: the following printable origin X is adjusted (92->93) so it is divisible by the resolution X scale.
  135. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  136. *PrintableOrigin: PAIR(93, 122)
  137. }
  138. }
  139. }
  140. *Option: LEGAL
  141. {
  142. *rcNameID: =LEGAL_DISPLAY
  143. *PrintableArea: PAIR(2878, 4739)
  144. *PrintableOrigin: PAIR(92, 121)
  145. *switch: Resolution
  146. {
  147. *case: Option2
  148. {
  149. *% Warning: the following printable length is adjusted (4739->4738) so it is divisible by the resolution Y scale.
  150. *PrintableArea: PAIR(2878, 4738)
  151. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  152. *PrintableOrigin: PAIR(92, 122)
  153. }
  154. *case: Option3
  155. {
  156. *% Warning: the following printable length is adjusted (4739->4738) so it is divisible by the resolution Y scale.
  157. *PrintableArea: PAIR(2878, 4738)
  158. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  159. *PrintableOrigin: PAIR(92, 122)
  160. }
  161. *case: Option4
  162. {
  163. *% Warning: the following printable width is adjusted (2878->2877) so it is divisible by the resolution X scale.
  164. *% Warning: the following printable length is adjusted (4739->4738) so it is divisible by the resolution Y scale.
  165. *PrintableArea: PAIR(2877, 4738)
  166. *% Warning: the following printable origin X is adjusted (92->93) so it is divisible by the resolution X scale.
  167. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  168. *PrintableOrigin: PAIR(93, 122)
  169. }
  170. }
  171. *Command: CmdSelect
  172. {
  173. *Order: DOC_SETUP.2
  174. *Cmd: "<1B>C<000E>"
  175. }
  176. }
  177. *Option: A4
  178. {
  179. *rcNameID: =A4_DISPLAY
  180. *PrintableArea: PAIR(2879, 3907)
  181. *PrintableOrigin: PAIR(49, 121)
  182. *switch: Resolution
  183. {
  184. *case: Option2
  185. {
  186. *% Warning: the following printable length is adjusted (3907->3906) so it is divisible by the resolution Y scale.
  187. *PrintableArea: PAIR(2879, 3906)
  188. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  189. *PrintableOrigin: PAIR(49, 122)
  190. }
  191. *case: Option3
  192. {
  193. *% Warning: the following printable width is adjusted (2879->2878) so it is divisible by the resolution X scale.
  194. *% Warning: the following printable length is adjusted (3907->3906) so it is divisible by the resolution Y scale.
  195. *PrintableArea: PAIR(2878, 3906)
  196. *% Warning: the following printable origin X is adjusted (49->50) so it is divisible by the resolution X scale.
  197. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  198. *PrintableOrigin: PAIR(50, 122)
  199. }
  200. *case: Option4
  201. {
  202. *% Warning: the following printable width is adjusted (2879->2877) so it is divisible by the resolution X scale.
  203. *% Warning: the following printable length is adjusted (3907->3906) so it is divisible by the resolution Y scale.
  204. *PrintableArea: PAIR(2877, 3906)
  205. *% Warning: the following printable origin X is adjusted (49->51) so it is divisible by the resolution X scale.
  206. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  207. *PrintableOrigin: PAIR(51, 122)
  208. }
  209. }
  210. }
  211. *Option: A5
  212. {
  213. *rcNameID: =A5_DISPLAY
  214. *PrintableArea: PAIR(2001, 2676)
  215. *PrintableOrigin: PAIR(49, 121)
  216. *switch: Resolution
  217. {
  218. *case: Option2
  219. {
  220. *% Warning: the following printable length is adjusted (2676->2674) so it is divisible by the resolution Y scale.
  221. *PrintableArea: PAIR(2001, 2674)
  222. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  223. *PrintableOrigin: PAIR(49, 122)
  224. }
  225. *case: Option3
  226. {
  227. *% Warning: the following printable width is adjusted (2001->2000) so it is divisible by the resolution X scale.
  228. *% Warning: the following printable length is adjusted (2676->2674) so it is divisible by the resolution Y scale.
  229. *PrintableArea: PAIR(2000, 2674)
  230. *% Warning: the following printable origin X is adjusted (49->50) so it is divisible by the resolution X scale.
  231. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  232. *PrintableOrigin: PAIR(50, 122)
  233. }
  234. *case: Option4
  235. {
  236. *% Warning: the following printable width is adjusted (2001->1998) so it is divisible by the resolution X scale.
  237. *% Warning: the following printable length is adjusted (2676->2674) so it is divisible by the resolution Y scale.
  238. *PrintableArea: PAIR(1998, 2674)
  239. *% Warning: the following printable origin X is adjusted (49->51) so it is divisible by the resolution X scale.
  240. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  241. *PrintableOrigin: PAIR(51, 122)
  242. }
  243. }
  244. }
  245. *Option: A5_ROTATED
  246. {
  247. *rcNameID: =A5_ROTATED_DISPLAY
  248. *PrintableArea: PAIR(2879, 1798)
  249. *PrintableOrigin: PAIR(49, 121)
  250. *switch: Resolution
  251. {
  252. *case: Option2
  253. {
  254. *% Warning: the following printable length is adjusted (1798->1796) so it is divisible by the resolution Y scale.
  255. *PrintableArea: PAIR(2879, 1796)
  256. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  257. *PrintableOrigin: PAIR(49, 122)
  258. }
  259. *case: Option3
  260. {
  261. *% Warning: the following printable width is adjusted (2879->2878) so it is divisible by the resolution X scale.
  262. *% Warning: the following printable length is adjusted (1798->1796) so it is divisible by the resolution Y scale.
  263. *PrintableArea: PAIR(2878, 1796)
  264. *% Warning: the following printable origin X is adjusted (49->50) so it is divisible by the resolution X scale.
  265. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  266. *PrintableOrigin: PAIR(50, 122)
  267. }
  268. *case: Option4
  269. {
  270. *% Warning: the following printable width is adjusted (2879->2877) so it is divisible by the resolution X scale.
  271. *% Warning: the following printable length is adjusted (1798->1796) so it is divisible by the resolution Y scale.
  272. *PrintableArea: PAIR(2877, 1796)
  273. *% Warning: the following printable origin X is adjusted (49->51) so it is divisible by the resolution X scale.
  274. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  275. *PrintableOrigin: PAIR(51, 122)
  276. }
  277. }
  278. }
  279. *Option: A6
  280. {
  281. *rcNameID: =A6_DISPLAY
  282. *PrintableArea: PAIR(1389, 1798)
  283. *PrintableOrigin: PAIR(49, 121)
  284. *switch: Resolution
  285. {
  286. *case: Option2
  287. {
  288. *% Warning: the following printable length is adjusted (1798->1796) so it is divisible by the resolution Y scale.
  289. *PrintableArea: PAIR(1389, 1796)
  290. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  291. *PrintableOrigin: PAIR(49, 122)
  292. }
  293. *case: Option3
  294. {
  295. *% Warning: the following printable width is adjusted (1389->1388) so it is divisible by the resolution X scale.
  296. *% Warning: the following printable length is adjusted (1798->1796) so it is divisible by the resolution Y scale.
  297. *PrintableArea: PAIR(1388, 1796)
  298. *% Warning: the following printable origin X is adjusted (49->50) so it is divisible by the resolution X scale.
  299. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  300. *PrintableOrigin: PAIR(50, 122)
  301. }
  302. *case: Option4
  303. {
  304. *% Warning: the following printable width is adjusted (1389->1386) so it is divisible by the resolution X scale.
  305. *% Warning: the following printable length is adjusted (1798->1796) so it is divisible by the resolution Y scale.
  306. *PrintableArea: PAIR(1386, 1796)
  307. *% Warning: the following printable origin X is adjusted (49->51) so it is divisible by the resolution X scale.
  308. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  309. *PrintableOrigin: PAIR(51, 122)
  310. }
  311. }
  312. }
  313. *Option: A6_ROTATED
  314. {
  315. *rcNameID: =A6_ROTATED_DISPLAY
  316. *PrintableArea: PAIR(2001, 1186)
  317. *PrintableOrigin: PAIR(49, 121)
  318. *switch: Resolution
  319. {
  320. *case: Option2
  321. {
  322. *% Warning: the following printable length is adjusted (1186->1184) so it is divisible by the resolution Y scale.
  323. *PrintableArea: PAIR(2001, 1184)
  324. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  325. *PrintableOrigin: PAIR(49, 122)
  326. }
  327. *case: Option3
  328. {
  329. *% Warning: the following printable width is adjusted (2001->2000) so it is divisible by the resolution X scale.
  330. *% Warning: the following printable length is adjusted (1186->1184) so it is divisible by the resolution Y scale.
  331. *PrintableArea: PAIR(2000, 1184)
  332. *% Warning: the following printable origin X is adjusted (49->50) so it is divisible by the resolution X scale.
  333. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  334. *PrintableOrigin: PAIR(50, 122)
  335. }
  336. *case: Option4
  337. {
  338. *% Warning: the following printable width is adjusted (2001->1998) so it is divisible by the resolution X scale.
  339. *% Warning: the following printable length is adjusted (1186->1184) so it is divisible by the resolution Y scale.
  340. *PrintableArea: PAIR(1998, 1184)
  341. *% Warning: the following printable origin X is adjusted (49->51) so it is divisible by the resolution X scale.
  342. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  343. *PrintableOrigin: PAIR(51, 122)
  344. }
  345. }
  346. }
  347. *Option: B5
  348. {
  349. *rcNameID: =B5_DISPLAY
  350. *PrintableArea: PAIR(2483, 3342)
  351. *PrintableOrigin: PAIR(49, 121)
  352. *switch: Resolution
  353. {
  354. *case: Option2
  355. {
  356. *% Warning: the following printable length is adjusted (3342->3340) so it is divisible by the resolution Y scale.
  357. *PrintableArea: PAIR(2483, 3340)
  358. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  359. *PrintableOrigin: PAIR(49, 122)
  360. }
  361. *case: Option3
  362. {
  363. *% Warning: the following printable width is adjusted (2483->2482) so it is divisible by the resolution X scale.
  364. *% Warning: the following printable length is adjusted (3342->3340) so it is divisible by the resolution Y scale.
  365. *PrintableArea: PAIR(2482, 3340)
  366. *% Warning: the following printable origin X is adjusted (49->50) so it is divisible by the resolution X scale.
  367. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  368. *PrintableOrigin: PAIR(50, 122)
  369. }
  370. *case: Option4
  371. {
  372. *% Warning: the following printable width is adjusted (2483->2481) so it is divisible by the resolution X scale.
  373. *% Warning: the following printable length is adjusted (3342->3340) so it is divisible by the resolution Y scale.
  374. *PrintableArea: PAIR(2481, 3340)
  375. *% Warning: the following printable origin X is adjusted (49->51) so it is divisible by the resolution X scale.
  376. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  377. *PrintableOrigin: PAIR(51, 122)
  378. }
  379. }
  380. }
  381. *Option: JAPANESE_POSTCARD
  382. {
  383. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  384. *PrintableArea: PAIR(1320, 1798)
  385. *PrintableOrigin: PAIR(49, 121)
  386. *switch: Resolution
  387. {
  388. *case: Option2
  389. {
  390. *% Warning: the following printable length is adjusted (1798->1796) so it is divisible by the resolution Y scale.
  391. *PrintableArea: PAIR(1320, 1796)
  392. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  393. *PrintableOrigin: PAIR(49, 122)
  394. }
  395. *case: Option3
  396. {
  397. *% Warning: the following printable width is adjusted (1320->1318) so it is divisible by the resolution X scale.
  398. *% Warning: the following printable length is adjusted (1798->1796) so it is divisible by the resolution Y scale.
  399. *PrintableArea: PAIR(1318, 1796)
  400. *% Warning: the following printable origin X is adjusted (49->50) so it is divisible by the resolution X scale.
  401. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  402. *PrintableOrigin: PAIR(50, 122)
  403. }
  404. *case: Option4
  405. {
  406. *% Warning: the following printable width is adjusted (1320->1317) so it is divisible by the resolution X scale.
  407. *% Warning: the following printable length is adjusted (1798->1796) so it is divisible by the resolution Y scale.
  408. *PrintableArea: PAIR(1317, 1796)
  409. *% Warning: the following printable origin X is adjusted (49->51) so it is divisible by the resolution X scale.
  410. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  411. *PrintableOrigin: PAIR(51, 122)
  412. }
  413. }
  414. }
  415. *Option: JAPANESE_POSTCARD_ROTATED
  416. {
  417. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  418. *PrintableArea: PAIR(2001, 1117)
  419. *PrintableOrigin: PAIR(49, 121)
  420. *switch: Resolution
  421. {
  422. *case: Option2
  423. {
  424. *% Warning: the following printable length is adjusted (1117->1116) so it is divisible by the resolution Y scale.
  425. *PrintableArea: PAIR(2001, 1116)
  426. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  427. *PrintableOrigin: PAIR(49, 122)
  428. }
  429. *case: Option3
  430. {
  431. *% Warning: the following printable width is adjusted (2001->2000) so it is divisible by the resolution X scale.
  432. *% Warning: the following printable length is adjusted (1117->1116) so it is divisible by the resolution Y scale.
  433. *PrintableArea: PAIR(2000, 1116)
  434. *% Warning: the following printable origin X is adjusted (49->50) so it is divisible by the resolution X scale.
  435. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  436. *PrintableOrigin: PAIR(50, 122)
  437. }
  438. *case: Option4
  439. {
  440. *% Warning: the following printable width is adjusted (2001->1998) so it is divisible by the resolution X scale.
  441. *% Warning: the following printable length is adjusted (1117->1116) so it is divisible by the resolution Y scale.
  442. *PrintableArea: PAIR(1998, 1116)
  443. *% Warning: the following printable origin X is adjusted (49->51) so it is divisible by the resolution X scale.
  444. *% Warning: the following printable origin Y is adjusted (121->122) so it is divisible by the resolution Y scale.
  445. *PrintableOrigin: PAIR(51, 122)
  446. }
  447. }
  448. }
  449. }
  450. *InvalidCombination: LIST(InputBin.Option2, PaperSize.LEGAL)
  451. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5)
  452. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5_ROTATED)
  453. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A6)
  454. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A6_ROTATED)
  455. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  456. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  457. *InvalidCombination: LIST(InputBin.Option3, PaperSize.LETTER)
  458. *InvalidCombination: LIST(InputBin.Option3, PaperSize.LEGAL)
  459. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  460. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  461. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5_ROTATED)
  462. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A6)
  463. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A6_ROTATED)
  464. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  465. *InvalidCombination: LIST(InputBin.Option4, PaperSize.LETTER)
  466. *InvalidCombination: LIST(InputBin.Option4, PaperSize.LEGAL)
  467. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5)
  468. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5_ROTATED)
  469. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A6)
  470. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A6_ROTATED)
  471. *Feature: Halftone
  472. {
  473. *rcNameID: =HALFTONING_DISPLAY
  474. *DefaultOption: HT_PATSIZE_AUTO
  475. *Option: HT_PATSIZE_AUTO
  476. {
  477. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  478. }
  479. *Option: HT_PATSIZE_SUPERCELL_M
  480. {
  481. *rcNameID: =HT_SUPERCELL_DISPLAY
  482. }
  483. *Option: HT_PATSIZE_6x6_M
  484. {
  485. *rcNameID: =HT_DITHER6X6_DISPLAY
  486. }
  487. *Option: HT_PATSIZE_8x8_M
  488. {
  489. *rcNameID: =HT_DITHER8X8_DISPLAY
  490. }
  491. }
  492. *Command: CmdStartDoc
  493. {
  494. *Order: DOC_SETUP.1
  495. *Cmd: "<1B>@<1B>t<011B>R<00>"
  496. }
  497. *Command: CmdStartPage
  498. {
  499. *Order: PAGE_SETUP.1
  500. *Cmd: "<0D>"
  501. }
  502. *RotateCoordinate?: FALSE
  503. *RotateRaster?: FALSE
  504. *RotateFont?: FALSE
  505. *switch: Orientation
  506. {
  507. *case: PORTRAIT
  508. {
  509. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  510. }
  511. *case: LANDSCAPE_CC270
  512. {
  513. *TextCaps: LIST(TC_RA_ABLE)
  514. }
  515. }
  516. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  517. *YMoveAttributes: LIST(SEND_CR_FIRST)
  518. *MaxLineSpacing: 255
  519. *XMoveThreshold: 0
  520. *YMoveThreshold: *
  521. *XMoveUnit: 60
  522. *YMoveUnit: 180
  523. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,479]{max_repeat((DestX / 6) )} }
  524. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  525. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  526. *Command: CmdCR { *Cmd : "<0D>" }
  527. *Command: CmdLF { *Cmd : "<0A>" }
  528. *Command: CmdFF { *Cmd : "<0C>" }
  529. *Command: CmdBackSpace { *Cmd : "<08>" }
  530. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  531. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  532. *EjectPageWithFF?: TRUE
  533. *OutputDataFormat: V_BYTE
  534. *OptimizeLeftBound?: FALSE
  535. *CursorXAfterSendBlockData: AT_GRXDATA_END
  536. *CursorYAfterSendBlockData: NO_MOVE
  537. *DefaultFont: 1
  538. *DefaultCTT: -1
  539. *switch: Orientation
  540. {
  541. *case: PORTRAIT
  542. {
  543. *DeviceFonts: LIST(1,13,14,15,16)
  544. }
  545. *case: LANDSCAPE_CC270
  546. {
  547. *DeviceFonts: LIST()
  548. }
  549. }
  550. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  551. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  552. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  553. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  554. *Command: CmdUnderlineOn { *Cmd : "<1B>-<011C>-<01>" }
  555. *Command: CmdUnderlineOff { *Cmd : "<1B>-<001C>-<00>" }
  556. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  557. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }