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.

501 lines
14 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: "jib33pkk.gpd"
  9. *CodePage: 949
  10. *ModelName: "�������� JP-B330+ (KS)"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "kskres.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: TRACTOR
  31. *Option: TRACTOR
  32. {
  33. *rcNameID: =TRACTOR_DISPLAY
  34. }
  35. *Option: MANUAL
  36. {
  37. *rcNameID: =MANUAL_FEED_DISPLAY
  38. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  39. }
  40. }
  41. *Feature: Resolution
  42. {
  43. *rcNameID: =RESOLUTION_DISPLAY
  44. *DefaultOption: Option1
  45. *Option: Option1
  46. {
  47. *Name: "180 x 180 " =DOTS_PER_INCH
  48. *DPI: PAIR(180, 180)
  49. *TextDPI: PAIR(180, 180)
  50. *PinsPerLogPass: 24
  51. *PinsPerPhysPass: 24
  52. *MinStripBlankPixels: 180
  53. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  54. *SpotDiameter: 120
  55. *Command: CmdSendBlockData { *Cmd : "<1B>n" %l{(NumOfDataBytes / 3) } }
  56. }
  57. }
  58. *Feature: PaperSize
  59. {
  60. *rcNameID: =PAPER_SIZE_DISPLAY
  61. *DefaultOption: LETTER
  62. *Option: LETTER
  63. {
  64. *rcNameID: =LETTER_DISPLAY
  65. *Command: CmdSelect
  66. {
  67. *Order: DOC_SETUP.4
  68. *Cmd: "<1B>2<1B>CB"
  69. }
  70. *switch: InputBin
  71. {
  72. *case: TRACTOR
  73. {
  74. *PrintableArea: PAIR(2960, 3640)
  75. *PrintableOrigin: PAIR(50, 120)
  76. }
  77. *case: MANUAL
  78. {
  79. *PrintableArea: PAIR(2960, 3615)
  80. *PrintableOrigin: PAIR(50, 120)
  81. *switch: Resolution
  82. {
  83. *case: Option1
  84. {
  85. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  86. *PrintableArea: PAIR(2960, 3614)
  87. }
  88. }
  89. }
  90. }
  91. }
  92. *Option: Option2
  93. {
  94. *rcNameID: 258
  95. *OptionID: 258
  96. *PageDimensions: PAIR(3060, 3960)
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.4
  100. *Cmd: "<1B>2<1B>CB"
  101. }
  102. *switch: InputBin
  103. {
  104. *case: TRACTOR
  105. {
  106. *PrintableArea: PAIR(2960, 3640)
  107. *PrintableOrigin: PAIR(50, 120)
  108. }
  109. *case: MANUAL
  110. {
  111. *PrintableArea: PAIR(2960, 3615)
  112. *PrintableOrigin: PAIR(50, 120)
  113. *switch: Resolution
  114. {
  115. *case: Option1
  116. {
  117. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  118. *PrintableArea: PAIR(2960, 3614)
  119. }
  120. }
  121. }
  122. }
  123. }
  124. *Option: LEGAL
  125. {
  126. *rcNameID: =LEGAL_DISPLAY
  127. *Command: CmdSelect
  128. {
  129. *Order: DOC_SETUP.4
  130. *Cmd: "<1B>2<1B>CT"
  131. }
  132. *switch: InputBin
  133. {
  134. *case: TRACTOR
  135. {
  136. *PrintableArea: PAIR(2960, 4720)
  137. *PrintableOrigin: PAIR(50, 120)
  138. }
  139. *case: MANUAL
  140. {
  141. *PrintableArea: PAIR(2960, 4695)
  142. *PrintableOrigin: PAIR(50, 120)
  143. *switch: Resolution
  144. {
  145. *case: Option1
  146. {
  147. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  148. *PrintableArea: PAIR(2960, 4694)
  149. }
  150. }
  151. }
  152. }
  153. }
  154. *Option: A4
  155. {
  156. *rcNameID: =A4_DISPLAY
  157. *Command: CmdSelect
  158. {
  159. *Order: DOC_SETUP.4
  160. *Cmd: "<1B>2<1B>CF"
  161. }
  162. *switch: InputBin
  163. {
  164. *case: TRACTOR
  165. {
  166. *PrintableArea: PAIR(2877, 3888)
  167. *PrintableOrigin: PAIR(50, 120)
  168. *switch: Resolution
  169. {
  170. *case: Option1
  171. {
  172. *% Warning: the following printable width is adjusted (2877->2876) so it is divisible by the resolution X scale.
  173. *PrintableArea: PAIR(2876, 3888)
  174. }
  175. }
  176. }
  177. *case: MANUAL
  178. {
  179. *PrintableArea: PAIR(2877, 3863)
  180. *PrintableOrigin: PAIR(50, 120)
  181. *switch: Resolution
  182. {
  183. *case: Option1
  184. {
  185. *% Warning: the following printable width is adjusted (2877->2876) so it is divisible by the resolution X scale.
  186. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  187. *PrintableArea: PAIR(2876, 3862)
  188. }
  189. }
  190. }
  191. }
  192. }
  193. *Option: A5
  194. {
  195. *rcNameID: =A5_DISPLAY
  196. *Command: CmdSelect
  197. {
  198. *Order: DOC_SETUP.4
  199. *Cmd: "<1B>2<1B>C2"
  200. }
  201. *switch: InputBin
  202. {
  203. *case: TRACTOR
  204. {
  205. *PrintableArea: PAIR(1999, 2657)
  206. *PrintableOrigin: PAIR(50, 120)
  207. *switch: Resolution
  208. {
  209. *case: Option1
  210. {
  211. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  212. *% Warning: the following printable length is adjusted (2657->2656) so it is divisible by the resolution Y scale.
  213. *PrintableArea: PAIR(1998, 2656)
  214. }
  215. }
  216. }
  217. *case: MANUAL
  218. {
  219. *PrintableArea: PAIR(1999, 2632)
  220. *PrintableOrigin: PAIR(50, 120)
  221. *switch: Resolution
  222. {
  223. *case: Option1
  224. {
  225. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  226. *PrintableArea: PAIR(1998, 2632)
  227. }
  228. }
  229. }
  230. }
  231. }
  232. *Option: B4
  233. {
  234. *rcNameID: =B4_DISPLAY
  235. *Command: CmdSelect
  236. {
  237. *Order: DOC_SETUP.4
  238. *Cmd: "<1B>2<1B>CV"
  239. }
  240. *switch: InputBin
  241. {
  242. *case: TRACTOR
  243. {
  244. *PrintableArea: PAIR(3543, 4839)
  245. *PrintableOrigin: PAIR(50, 120)
  246. *switch: Resolution
  247. {
  248. *case: Option1
  249. {
  250. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  251. *% Warning: the following printable length is adjusted (4839->4838) so it is divisible by the resolution Y scale.
  252. *PrintableArea: PAIR(3542, 4838)
  253. }
  254. }
  255. }
  256. *case: MANUAL
  257. {
  258. *PrintableArea: PAIR(3543, 4814)
  259. *PrintableOrigin: PAIR(50, 120)
  260. *switch: Resolution
  261. {
  262. *case: Option1
  263. {
  264. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  265. *PrintableArea: PAIR(3542, 4814)
  266. }
  267. }
  268. }
  269. }
  270. }
  271. *Option: B5
  272. {
  273. *rcNameID: =B5_DISPLAY
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.4
  277. *Cmd: "<1B>2<1B>C="
  278. }
  279. *switch: InputBin
  280. {
  281. *case: TRACTOR
  282. {
  283. *PrintableArea: PAIR(2481, 3323)
  284. *PrintableOrigin: PAIR(50, 120)
  285. *switch: Resolution
  286. {
  287. *case: Option1
  288. {
  289. *% Warning: the following printable width is adjusted (2481->2480) so it is divisible by the resolution X scale.
  290. *% Warning: the following printable length is adjusted (3323->3322) so it is divisible by the resolution Y scale.
  291. *PrintableArea: PAIR(2480, 3322)
  292. }
  293. }
  294. }
  295. *case: MANUAL
  296. {
  297. *PrintableArea: PAIR(2481, 3298)
  298. *PrintableOrigin: PAIR(50, 120)
  299. *switch: Resolution
  300. {
  301. *case: Option1
  302. {
  303. *% Warning: the following printable width is adjusted (2481->2480) so it is divisible by the resolution X scale.
  304. *PrintableArea: PAIR(2480, 3298)
  305. }
  306. }
  307. }
  308. }
  309. }
  310. *Option: FANFOLD_US
  311. {
  312. *rcNameID: =FANFOLD_US_DISPLAY
  313. *Command: CmdSelect
  314. {
  315. *Order: DOC_SETUP.4
  316. *Cmd: "<1B>2<1B>CB"
  317. }
  318. *switch: InputBin
  319. {
  320. *case: TRACTOR
  321. {
  322. *PrintableArea: PAIR(4895, 3960)
  323. *PrintableOrigin: PAIR(0, 0)
  324. *switch: Resolution
  325. {
  326. *case: Option1
  327. {
  328. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  329. *PrintableArea: PAIR(4894, 3960)
  330. }
  331. }
  332. }
  333. *case: MANUAL
  334. {
  335. *PrintableArea: PAIR(4895, 3615)
  336. *PrintableOrigin: PAIR(0, 120)
  337. *switch: Resolution
  338. {
  339. *case: Option1
  340. {
  341. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  342. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  343. *PrintableArea: PAIR(4894, 3614)
  344. }
  345. }
  346. }
  347. }
  348. }
  349. *Option: Option9
  350. {
  351. *rcNameID: 259
  352. *OptionID: 259
  353. *PageDimensions: PAIR(4995, 3960)
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.4
  357. *Cmd: "<1B>2<1B>CB"
  358. }
  359. *switch: InputBin
  360. {
  361. *case: TRACTOR
  362. {
  363. *PrintableArea: PAIR(4895, 3640)
  364. *PrintableOrigin: PAIR(50, 120)
  365. *switch: Resolution
  366. {
  367. *case: Option1
  368. {
  369. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  370. *PrintableArea: PAIR(4894, 3640)
  371. }
  372. }
  373. }
  374. *case: MANUAL
  375. {
  376. *PrintableArea: PAIR(4895, 3615)
  377. *PrintableOrigin: PAIR(50, 120)
  378. *switch: Resolution
  379. {
  380. *case: Option1
  381. {
  382. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  383. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  384. *PrintableArea: PAIR(4894, 3614)
  385. }
  386. }
  387. }
  388. }
  389. }
  390. *Option: CUSTOMSIZE
  391. {
  392. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  393. *MinSize: PAIR(360, 360)
  394. *MaxSize: PAIR(5940, 32767)
  395. *MaxPrintableWidth: 4896
  396. *MinLeftMargin: 0
  397. *CenterPrintable?: FALSE
  398. *switch: InputBin
  399. {
  400. *case: TRACTOR
  401. {
  402. *TopMargin: 0
  403. *BottomMargin: 0
  404. }
  405. *case: MANUAL
  406. {
  407. *TopMargin: 120
  408. *BottomMargin: 225
  409. }
  410. }
  411. *Command: CmdSelect
  412. {
  413. *Order: DOC_SETUP.4
  414. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  415. }
  416. }
  417. }
  418. *Feature: PrintQuality
  419. {
  420. *rcNameID: =TEXT_QUALITY_DISPLAY
  421. *DefaultOption: LETTER_QUALITY
  422. *Option: LETTER_QUALITY
  423. {
  424. *rcNameID: =LETTER_QUALITY_DISPLAY
  425. *Command: CmdSelect
  426. {
  427. *Order: DOC_SETUP.2
  428. *Cmd: "<1B>x<01>"
  429. }
  430. }
  431. *Option: DRAFT_QUALITY
  432. {
  433. *rcNameID: =DRAFT_QUALITY_DISPLAY
  434. *Command: CmdSelect
  435. {
  436. *Order: DOC_SETUP.2
  437. *Cmd: "<1B>x<00>"
  438. }
  439. }
  440. }
  441. *Feature: Halftone
  442. {
  443. *rcNameID: =HALFTONING_DISPLAY
  444. *DefaultOption: HT_PATSIZE_AUTO
  445. *Option: HT_PATSIZE_AUTO
  446. {
  447. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  448. }
  449. *Option: HT_PATSIZE_SUPERCELL_M
  450. {
  451. *rcNameID: =HT_SUPERCELL_DISPLAY
  452. }
  453. *Option: HT_PATSIZE_6x6_M
  454. {
  455. *rcNameID: =HT_DITHER6X6_DISPLAY
  456. }
  457. *Option: HT_PATSIZE_8x8_M
  458. {
  459. *rcNameID: =HT_DITHER8X8_DISPLAY
  460. }
  461. }
  462. *Command: CmdStartDoc
  463. {
  464. *Order: DOC_SETUP.1
  465. *Cmd: "<18>"
  466. }
  467. *Command: CmdEndJob
  468. {
  469. *Order: JOB_FINISH.1
  470. *Cmd: "<18>"
  471. }
  472. *RotateCoordinate?: FALSE
  473. *RotateRaster?: FALSE
  474. *RotateFont?: FALSE
  475. *switch: Orientation
  476. {
  477. *case: PORTRAIT
  478. {
  479. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  480. }
  481. *case: LANDSCAPE_CC270
  482. {
  483. *TextCaps: LIST(TC_RA_ABLE)
  484. }
  485. }
  486. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  487. *YMoveAttributes: LIST(SEND_CR_FIRST)
  488. *YMoveThreshold: *
  489. *YMoveUnit: 180
  490. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  491. *Command: CmdCR { *Cmd : "<0D>" }
  492. *Command: CmdLF { *Cmd : "<0A>" }
  493. *Command: CmdFF { *Cmd : "<0C>" }
  494. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  495. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  496. *EjectPageWithFF?: TRUE
  497. *OutputDataFormat: V_BYTE
  498. *OptimizeLeftBound?: FALSE
  499. *CursorXAfterSendBlockData: AT_GRXDATA_END
  500. *CursorYAfterSendBlockData: NO_MOVE
  501. *DefaultCTT: 0