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.

487 lines
17 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.0"
  7. *GPDFileName: "fue121gj.gpd"
  8. *Include: "STDNAMES.GPD"
  9. *ModelName: "FUJITSU FMP-PR121G"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "fuepjres.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: 272
  33. *OptionID: 272
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.7
  37. *Cmd: "<1B>O"
  38. }
  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: 360
  53. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  54. *SpotDiameter: 140
  55. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  56. }
  57. *Option: Option2
  58. {
  59. *Name: "120 x 180 " =DOTS_PER_INCH
  60. *DPI: PAIR(120, 180)
  61. *TextDPI: PAIR(120, 180)
  62. *PinsPerLogPass: 24
  63. *PinsPerPhysPass: 24
  64. *MinStripBlankPixels: 240
  65. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  66. *SpotDiameter: 120
  67. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  68. }
  69. *Option: Option3
  70. {
  71. *Name: "360 x 360 " =DOTS_PER_INCH
  72. *DPI: PAIR(360, 360)
  73. *TextDPI: PAIR(360, 360)
  74. *PinsPerLogPass: 48
  75. *PinsPerPhysPass: 48
  76. *MinStripBlankPixels: 720
  77. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  78. *SpotDiameter: 100
  79. *Command: CmdSendBlockData { *Cmd : "<1B>*I" %l{(NumOfDataBytes / 6) } }
  80. }
  81. }
  82. *Feature: PaperSize
  83. {
  84. *rcNameID: =PAPER_SIZE_DISPLAY
  85. *DefaultOption: A4
  86. *Option: A4
  87. {
  88. *rcNameID: =A4_DISPLAY
  89. *PrintableArea: PAIR(2893, 3896)
  90. *PrintableOrigin: PAIR(42, 120)
  91. *switch: Resolution
  92. {
  93. *case: Option1
  94. {
  95. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  96. *PrintableArea: PAIR(2892, 3896)
  97. }
  98. *case: Option2
  99. {
  100. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  101. *PrintableArea: PAIR(2892, 3896)
  102. }
  103. }
  104. }
  105. *Option: A5
  106. {
  107. *rcNameID: =A5_DISPLAY
  108. *PrintableArea: PAIR(2015, 2665)
  109. *PrintableOrigin: PAIR(42, 120)
  110. *switch: Resolution
  111. {
  112. *case: Option1
  113. {
  114. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  115. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  116. *PrintableArea: PAIR(2014, 2664)
  117. }
  118. *case: Option2
  119. {
  120. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  121. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  122. *PrintableArea: PAIR(2013, 2664)
  123. }
  124. }
  125. }
  126. *Option: A5_ROTATED
  127. {
  128. *rcNameID: =A5_ROTATED_DISPLAY
  129. *PrintableArea: PAIR(2893, 1787)
  130. *PrintableOrigin: PAIR(42, 120)
  131. *switch: Resolution
  132. {
  133. *case: Option1
  134. {
  135. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  136. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  137. *PrintableArea: PAIR(2892, 1786)
  138. }
  139. *case: Option2
  140. {
  141. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  142. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  143. *PrintableArea: PAIR(2892, 1786)
  144. }
  145. }
  146. }
  147. *Option: A6
  148. {
  149. *rcNameID: =A6_DISPLAY
  150. *PrintableArea: PAIR(1403, 1787)
  151. *PrintableOrigin: PAIR(42, 120)
  152. *switch: Resolution
  153. {
  154. *case: Option1
  155. {
  156. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  157. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  158. *PrintableArea: PAIR(1402, 1786)
  159. }
  160. *case: Option2
  161. {
  162. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  163. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  164. *PrintableArea: PAIR(1401, 1786)
  165. }
  166. }
  167. }
  168. *Option: A6_ROTATED
  169. {
  170. *rcNameID: =A6_ROTATED_DISPLAY
  171. *PrintableArea: PAIR(2015, 1175)
  172. *PrintableOrigin: PAIR(42, 120)
  173. *switch: Resolution
  174. {
  175. *case: Option1
  176. {
  177. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  178. *% Warning: the following printable length is adjusted (1175->1174) so it is divisible by the resolution Y scale.
  179. *PrintableArea: PAIR(2014, 1174)
  180. }
  181. *case: Option2
  182. {
  183. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  184. *% Warning: the following printable length is adjusted (1175->1174) so it is divisible by the resolution Y scale.
  185. *PrintableArea: PAIR(2013, 1174)
  186. }
  187. }
  188. }
  189. *Option: B5
  190. {
  191. *rcNameID: =B5_DISPLAY
  192. *PrintableArea: PAIR(2497, 3331)
  193. *PrintableOrigin: PAIR(42, 120)
  194. *switch: Resolution
  195. {
  196. *case: Option1
  197. {
  198. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  199. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  200. *PrintableArea: PAIR(2496, 3330)
  201. }
  202. *case: Option2
  203. {
  204. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  205. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  206. *PrintableArea: PAIR(2496, 3330)
  207. }
  208. }
  209. }
  210. *Option: LETTER
  211. {
  212. *rcNameID: =LETTER_DISPLAY
  213. *PrintableArea: PAIR(2878, 3648)
  214. *PrintableOrigin: PAIR(91, 120)
  215. *switch: Resolution
  216. {
  217. *case: Option1
  218. {
  219. *% Warning: the following printable width is adjusted (2878->2876) so it is divisible by the resolution X scale.
  220. *PrintableArea: PAIR(2876, 3648)
  221. *% Warning: the following printable origin X is adjusted (91->92) so it is divisible by the resolution X scale.
  222. *PrintableOrigin: PAIR(92, 120)
  223. }
  224. *case: Option2
  225. {
  226. *% Warning: the following printable width is adjusted (2878->2874) so it is divisible by the resolution X scale.
  227. *PrintableArea: PAIR(2874, 3648)
  228. *% Warning: the following printable origin X is adjusted (91->93) so it is divisible by the resolution X scale.
  229. *PrintableOrigin: PAIR(93, 120)
  230. }
  231. }
  232. }
  233. *Option: LEGAL
  234. {
  235. *rcNameID: =LEGAL_DISPLAY
  236. *PrintableArea: PAIR(2878, 4728)
  237. *PrintableOrigin: PAIR(91, 120)
  238. *switch: Resolution
  239. {
  240. *case: Option1
  241. {
  242. *% Warning: the following printable width is adjusted (2878->2876) so it is divisible by the resolution X scale.
  243. *PrintableArea: PAIR(2876, 4728)
  244. *% Warning: the following printable origin X is adjusted (91->92) so it is divisible by the resolution X scale.
  245. *PrintableOrigin: PAIR(92, 120)
  246. }
  247. *case: Option2
  248. {
  249. *% Warning: the following printable width is adjusted (2878->2874) so it is divisible by the resolution X scale.
  250. *PrintableArea: PAIR(2874, 4728)
  251. *% Warning: the following printable origin X is adjusted (91->93) so it is divisible by the resolution X scale.
  252. *PrintableOrigin: PAIR(93, 120)
  253. }
  254. }
  255. }
  256. *Option: Option9
  257. {
  258. *rcNameID: 258
  259. *OptionID: 258
  260. *PageDimensions: PAIR(3642, 5159)
  261. *PrintableArea: PAIR(2821, 4847)
  262. *PrintableOrigin: PAIR(439, 120)
  263. *switch: Resolution
  264. {
  265. *case: Option1
  266. {
  267. *% Warning: the following printable width is adjusted (2821->2820) so it is divisible by the resolution X scale.
  268. *% Warning: the following printable length is adjusted (4847->4846) so it is divisible by the resolution Y scale.
  269. *PrintableArea: PAIR(2820, 4846)
  270. *% Warning: the following printable origin X is adjusted (439->440) so it is divisible by the resolution X scale.
  271. *PrintableOrigin: PAIR(440, 120)
  272. }
  273. *case: Option2
  274. {
  275. *% Warning: the following printable width is adjusted (2821->2817) so it is divisible by the resolution X scale.
  276. *% Warning: the following printable length is adjusted (4847->4846) so it is divisible by the resolution Y scale.
  277. *PrintableArea: PAIR(2817, 4846)
  278. *% Warning: the following printable origin X is adjusted (439->441) so it is divisible by the resolution X scale.
  279. *PrintableOrigin: PAIR(441, 120)
  280. }
  281. }
  282. }
  283. *Option: JAPANESE_POSTCARD
  284. {
  285. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  286. *PrintableArea: PAIR(1334, 1765)
  287. *PrintableOrigin: PAIR(42, 142)
  288. *switch: Resolution
  289. {
  290. *case: Option1
  291. {
  292. *% Warning: the following printable length is adjusted (1765->1764) so it is divisible by the resolution Y scale.
  293. *PrintableArea: PAIR(1334, 1764)
  294. }
  295. *case: Option2
  296. {
  297. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  298. *% Warning: the following printable length is adjusted (1765->1764) so it is divisible by the resolution Y scale.
  299. *PrintableArea: PAIR(1332, 1764)
  300. }
  301. }
  302. }
  303. *Option: JAPANESE_POSTCARD_ROTATED
  304. {
  305. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  306. *PrintableArea: PAIR(2015, 1084)
  307. *PrintableOrigin: PAIR(42, 142)
  308. *switch: Resolution
  309. {
  310. *case: Option1
  311. {
  312. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  313. *PrintableArea: PAIR(2014, 1084)
  314. }
  315. *case: Option2
  316. {
  317. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  318. *PrintableArea: PAIR(2013, 1084)
  319. }
  320. }
  321. }
  322. *Option: DBL_JAPANESE_POSTCARD
  323. {
  324. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  325. *PrintableArea: PAIR(2749, 1765)
  326. *PrintableOrigin: PAIR(42, 142)
  327. *switch: Resolution
  328. {
  329. *case: Option1
  330. {
  331. *% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
  332. *% Warning: the following printable length is adjusted (1765->1764) so it is divisible by the resolution Y scale.
  333. *PrintableArea: PAIR(2748, 1764)
  334. }
  335. *case: Option2
  336. {
  337. *% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
  338. *% Warning: the following printable length is adjusted (1765->1764) so it is divisible by the resolution Y scale.
  339. *PrintableArea: PAIR(2748, 1764)
  340. }
  341. }
  342. }
  343. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  344. {
  345. *rcNameID: =DBL_JAPANESE_POSTCARD_ROTATED_DISPLAY
  346. *PrintableArea: PAIR(2015, 2499)
  347. *PrintableOrigin: PAIR(42, 142)
  348. *switch: Resolution
  349. {
  350. *case: Option1
  351. {
  352. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  353. *% Warning: the following printable length is adjusted (2499->2498) so it is divisible by the resolution Y scale.
  354. *PrintableArea: PAIR(2014, 2498)
  355. }
  356. *case: Option2
  357. {
  358. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  359. *% Warning: the following printable length is adjusted (2499->2498) so it is divisible by the resolution Y scale.
  360. *PrintableArea: PAIR(2013, 2498)
  361. }
  362. }
  363. }
  364. *Option: CUSTOMSIZE
  365. {
  366. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  367. *MinSize: PAIR(360, 360)
  368. *MaxSize: PAIR(5400, 7920)
  369. *MaxPrintableWidth: 4896
  370. *MinLeftMargin: 0
  371. *CenterPrintable?: FALSE
  372. *TopMargin: 120
  373. *BottomMargin: 192
  374. }
  375. }
  376. *Feature: PrintQuality
  377. {
  378. *rcNameID: =TEXT_QUALITY_DISPLAY
  379. *DefaultOption: LETTER_QUALITY
  380. *Option: LETTER_QUALITY
  381. {
  382. *rcNameID: =LETTER_QUALITY_DISPLAY
  383. *Command: CmdSelect
  384. {
  385. *Order: DOC_SETUP.6
  386. *Cmd: "<1B>x<011C>x<00>"
  387. }
  388. }
  389. *Option: DRAFT_QUALITY
  390. {
  391. *rcNameID: =DRAFT_QUALITY_DISPLAY
  392. *Command: CmdSelect
  393. {
  394. *Order: DOC_SETUP.6
  395. *Cmd: "<1B>x<001C>x<01>"
  396. }
  397. }
  398. }
  399. *Feature: Halftone
  400. {
  401. *rcNameID: =HALFTONING_DISPLAY
  402. *DefaultOption: HT_PATSIZE_AUTO
  403. *Option: HT_PATSIZE_AUTO
  404. {
  405. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  406. }
  407. *Option: HT_PATSIZE_SUPERCELL_M
  408. {
  409. *rcNameID: =HT_SUPERCELL_DISPLAY
  410. }
  411. *Option: HT_PATSIZE_6x6_M
  412. {
  413. *rcNameID: =HT_DITHER6X6_DISPLAY
  414. }
  415. *Option: HT_PATSIZE_8x8_M
  416. {
  417. *rcNameID: =HT_DITHER8X8_DISPLAY
  418. }
  419. }
  420. *Command: CmdStartDoc
  421. {
  422. *Order: DOC_SETUP.1
  423. *Cmd: "<1B>S<1B1B>S<1C1B>@<181B>t<011B>R<00>"
  424. }
  425. *Command: CmdStartPage
  426. {
  427. *Order: PAGE_SETUP.1
  428. *Cmd: "<0D>"
  429. }
  430. *Command: CmdEndJob
  431. {
  432. *Order: JOB_FINISH.1
  433. *Cmd: "<1B>S<1B1B>SK"
  434. }
  435. *RotateCoordinate?: FALSE
  436. *RotateRaster?: FALSE
  437. *RotateFont?: FALSE
  438. *switch: Orientation
  439. {
  440. *case: PORTRAIT
  441. {
  442. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  443. }
  444. *case: LANDSCAPE_CC270
  445. {
  446. *TextCaps: LIST(TC_RA_ABLE)
  447. }
  448. }
  449. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  450. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  451. *MaxLineSpacing: 255
  452. *XMoveThreshold: 0
  453. *XMoveUnit: 60
  454. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  455. *Command: CmdSetLineSpacing { *Cmd : "<1B>+" %c[0,255]{LinefeedSpacing } }
  456. *Command: CmdCR { *Cmd : "<0D>" }
  457. *Command: CmdLF { *Cmd : "<0A>" }
  458. *Command: CmdFF { *Cmd : "<0C>" }
  459. *Command: CmdBackSpace { *Cmd : "<08>" }
  460. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  461. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  462. *% Error: no Abs or Rel YMoveCommands found. Correct it manually.
  463. *EjectPageWithFF?: TRUE
  464. *OutputDataFormat: V_BYTE
  465. *OptimizeLeftBound?: FALSE
  466. *CursorXAfterSendBlockData: AT_GRXDATA_END
  467. *CursorYAfterSendBlockData: NO_MOVE
  468. *DefaultFont: 1
  469. *DefaultCTT: -1
  470. *switch: Orientation
  471. {
  472. *case: PORTRAIT
  473. {
  474. *DeviceFonts: LIST(1,3,5,6,7,8,9,10,11,12,14,15,16,17,18,19,
  475. + 20,21)
  476. }
  477. *case: LANDSCAPE_CC270
  478. {
  479. *DeviceFonts: LIST()
  480. }
  481. }
  482. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  483. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  484. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  485. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  486. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  487. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }