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.

554 lines
16 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "DCLA75.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Digital LA75"
  10. *MasterUnits: PAIR(240, 432)
  11. *ResourceDLL: "dc9res.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: TRACTOR
  30. *Option: TRACTOR
  31. {
  32. *rcNameID: =TRACTOR_DISPLAY
  33. }
  34. *Option: MANUAL
  35. {
  36. *rcNameID: =MANUAL_FEED_DISPLAY
  37. }
  38. *Option: UPPER
  39. {
  40. *rcNameID: =UPPER_TRAY_DISPLAY
  41. }
  42. }
  43. *Feature: Resolution
  44. {
  45. *rcNameID: =RESOLUTION_DISPLAY
  46. *DefaultOption: Option1
  47. *Option: Option1
  48. {
  49. *Name: "240 x 144 " =DOTS_PER_INCH
  50. *DPI: PAIR(240, 144)
  51. *TextDPI: PAIR(240, 144)
  52. *PinsPerLogPass: 16
  53. *PinsPerPhysPass: 8
  54. *MinStripBlankPixels: 240
  55. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  56. *SpotDiameter: 170
  57. *Command: CmdSendBlockData { *Cmd : "<1B>Z" %l{NumOfDataBytes } }
  58. }
  59. *Option: Option2
  60. {
  61. *Name: "120 x 72 " =DOTS_PER_INCH
  62. *DPI: PAIR(120, 72)
  63. *TextDPI: PAIR(120, 72)
  64. *PinsPerLogPass: 8
  65. *PinsPerPhysPass: 8
  66. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  67. *SpotDiameter: 100
  68. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes } }
  69. }
  70. *Option: Option3
  71. {
  72. *Name: "120 x 144 " =DOTS_PER_INCH
  73. *DPI: PAIR(120, 144)
  74. *TextDPI: PAIR(120, 144)
  75. *PinsPerLogPass: 16
  76. *PinsPerPhysPass: 8
  77. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  78. *SpotDiameter: 140
  79. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes } }
  80. }
  81. }
  82. *Feature: PaperSize
  83. {
  84. *rcNameID: =PAPER_SIZE_DISPLAY
  85. *DefaultOption: LETTER
  86. *Option: LETTER
  87. {
  88. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  89. *Command: CmdSelect
  90. {
  91. *Order: DOC_SETUP.8
  92. *Cmd: "<1B>C<000B>"
  93. }
  94. *switch: InputBin
  95. {
  96. *case: TRACTOR
  97. {
  98. *PrintableArea: PAIR(1920, 4752)
  99. *PrintableOrigin: PAIR(75, 0)
  100. *switch: Resolution
  101. {
  102. *case: Option2
  103. {
  104. *PrintableArea: PAIR(1918, 4752)
  105. *PrintableOrigin: PAIR(76, 0)
  106. }
  107. *case: Option3
  108. {
  109. *PrintableArea: PAIR(1918, 4752)
  110. *PrintableOrigin: PAIR(76, 0)
  111. }
  112. }
  113. }
  114. *case: MANUAL
  115. {
  116. *PrintableArea: PAIR(1920, 4536)
  117. *PrintableOrigin: PAIR(75, 0)
  118. *switch: Resolution
  119. {
  120. *case: Option2
  121. {
  122. *PrintableArea: PAIR(1918, 4536)
  123. *PrintableOrigin: PAIR(76, 0)
  124. }
  125. *case: Option3
  126. {
  127. *PrintableArea: PAIR(1918, 4536)
  128. *PrintableOrigin: PAIR(76, 0)
  129. }
  130. }
  131. }
  132. *case: UPPER
  133. {
  134. *PrintableArea: PAIR(1920, 4536)
  135. *PrintableOrigin: PAIR(75, 0)
  136. *switch: Resolution
  137. {
  138. *case: Option2
  139. {
  140. *PrintableArea: PAIR(1918, 4536)
  141. *PrintableOrigin: PAIR(76, 0)
  142. }
  143. *case: Option3
  144. {
  145. *PrintableArea: PAIR(1918, 4536)
  146. *PrintableOrigin: PAIR(76, 0)
  147. }
  148. }
  149. }
  150. }
  151. }
  152. *Option: Option2
  153. {
  154. *rcNameID: 258
  155. *PageDimensions: PAIR(2040, 5184)
  156. *Command: CmdSelect
  157. {
  158. *Order: DOC_SETUP.8
  159. *Cmd: "<1B>C<000C>"
  160. }
  161. *switch: InputBin
  162. {
  163. *case: TRACTOR
  164. {
  165. *PrintableArea: PAIR(1920, 5184)
  166. *PrintableOrigin: PAIR(75, 0)
  167. *switch: Resolution
  168. {
  169. *case: Option2
  170. {
  171. *PrintableArea: PAIR(1918, 5184)
  172. *PrintableOrigin: PAIR(76, 0)
  173. }
  174. *case: Option3
  175. {
  176. *PrintableArea: PAIR(1918, 5184)
  177. *PrintableOrigin: PAIR(76, 0)
  178. }
  179. }
  180. }
  181. *case: MANUAL
  182. {
  183. *PrintableArea: PAIR(1920, 4968)
  184. *PrintableOrigin: PAIR(75, 0)
  185. *switch: Resolution
  186. {
  187. *case: Option2
  188. {
  189. *PrintableArea: PAIR(1918, 4968)
  190. *PrintableOrigin: PAIR(76, 0)
  191. }
  192. *case: Option3
  193. {
  194. *PrintableArea: PAIR(1918, 4968)
  195. *PrintableOrigin: PAIR(76, 0)
  196. }
  197. }
  198. }
  199. *case: UPPER
  200. {
  201. *PrintableArea: PAIR(1920, 4968)
  202. *PrintableOrigin: PAIR(75, 0)
  203. *switch: Resolution
  204. {
  205. *case: Option2
  206. {
  207. *PrintableArea: PAIR(1918, 4968)
  208. *PrintableOrigin: PAIR(76, 0)
  209. }
  210. *case: Option3
  211. {
  212. *PrintableArea: PAIR(1918, 4968)
  213. *PrintableOrigin: PAIR(76, 0)
  214. }
  215. }
  216. }
  217. }
  218. }
  219. *Option: LEGAL
  220. {
  221. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.8
  225. *Cmd: "<1B>C<000E>"
  226. }
  227. *switch: InputBin
  228. {
  229. *case: TRACTOR
  230. {
  231. *PrintableArea: PAIR(1920, 6048)
  232. *PrintableOrigin: PAIR(75, 0)
  233. *switch: Resolution
  234. {
  235. *case: Option2
  236. {
  237. *PrintableArea: PAIR(1918, 6048)
  238. *PrintableOrigin: PAIR(76, 0)
  239. }
  240. *case: Option3
  241. {
  242. *PrintableArea: PAIR(1918, 6048)
  243. *PrintableOrigin: PAIR(76, 0)
  244. }
  245. }
  246. }
  247. *case: MANUAL
  248. {
  249. *PrintableArea: PAIR(1920, 5832)
  250. *PrintableOrigin: PAIR(75, 0)
  251. *switch: Resolution
  252. {
  253. *case: Option2
  254. {
  255. *PrintableArea: PAIR(1918, 5832)
  256. *PrintableOrigin: PAIR(76, 0)
  257. }
  258. *case: Option3
  259. {
  260. *PrintableArea: PAIR(1918, 5832)
  261. *PrintableOrigin: PAIR(76, 0)
  262. }
  263. }
  264. }
  265. *case: UPPER
  266. {
  267. *PrintableArea: PAIR(1920, 5832)
  268. *PrintableOrigin: PAIR(75, 0)
  269. *switch: Resolution
  270. {
  271. *case: Option2
  272. {
  273. *PrintableArea: PAIR(1918, 5832)
  274. *PrintableOrigin: PAIR(76, 0)
  275. }
  276. *case: Option3
  277. {
  278. *PrintableArea: PAIR(1918, 5832)
  279. *PrintableOrigin: PAIR(76, 0)
  280. }
  281. }
  282. }
  283. }
  284. }
  285. *Option: A4
  286. {
  287. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  288. *switch: InputBin
  289. {
  290. *case: TRACTOR
  291. {
  292. *PrintableArea: PAIR(1910, 5050)
  293. *PrintableOrigin: PAIR(75, 0)
  294. *switch: Resolution
  295. {
  296. *case: Option1
  297. {
  298. *PrintableArea: PAIR(1910, 5049)
  299. }
  300. *case: Option2
  301. {
  302. *PrintableArea: PAIR(1908, 5046)
  303. *PrintableOrigin: PAIR(76, 0)
  304. }
  305. *case: Option3
  306. {
  307. *PrintableArea: PAIR(1908, 5049)
  308. *PrintableOrigin: PAIR(76, 0)
  309. }
  310. }
  311. }
  312. *case: MANUAL
  313. {
  314. *PrintableArea: PAIR(1910, 4834)
  315. *PrintableOrigin: PAIR(75, 0)
  316. *switch: Resolution
  317. {
  318. *case: Option1
  319. {
  320. *PrintableArea: PAIR(1910, 4833)
  321. }
  322. *case: Option2
  323. {
  324. *PrintableArea: PAIR(1908, 4830)
  325. *PrintableOrigin: PAIR(76, 0)
  326. }
  327. *case: Option3
  328. {
  329. *PrintableArea: PAIR(1908, 4833)
  330. *PrintableOrigin: PAIR(76, 0)
  331. }
  332. }
  333. }
  334. *case: UPPER
  335. {
  336. *PrintableArea: PAIR(1910, 4834)
  337. *PrintableOrigin: PAIR(75, 0)
  338. *switch: Resolution
  339. {
  340. *case: Option1
  341. {
  342. *PrintableArea: PAIR(1910, 4833)
  343. }
  344. *case: Option2
  345. {
  346. *PrintableArea: PAIR(1908, 4830)
  347. *PrintableOrigin: PAIR(76, 0)
  348. }
  349. *case: Option3
  350. {
  351. *PrintableArea: PAIR(1908, 4833)
  352. *PrintableOrigin: PAIR(76, 0)
  353. }
  354. }
  355. }
  356. }
  357. }
  358. *Option: B5
  359. {
  360. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  361. *switch: InputBin
  362. {
  363. *case: TRACTOR
  364. {
  365. *PrintableArea: PAIR(1646, 4372)
  366. *PrintableOrigin: PAIR(75, 0)
  367. *switch: Resolution
  368. {
  369. *case: Option1
  370. {
  371. *PrintableArea: PAIR(1646, 4371)
  372. }
  373. *case: Option2
  374. {
  375. *PrintableArea: PAIR(1644, 4368)
  376. *PrintableOrigin: PAIR(76, 0)
  377. }
  378. *case: Option3
  379. {
  380. *PrintableArea: PAIR(1644, 4371)
  381. *PrintableOrigin: PAIR(76, 0)
  382. }
  383. }
  384. }
  385. *case: MANUAL
  386. {
  387. *PrintableArea: PAIR(1646, 4156)
  388. *PrintableOrigin: PAIR(75, 0)
  389. *switch: Resolution
  390. {
  391. *case: Option1
  392. {
  393. *PrintableArea: PAIR(1646, 4155)
  394. }
  395. *case: Option2
  396. {
  397. *PrintableArea: PAIR(1644, 4152)
  398. *PrintableOrigin: PAIR(76, 0)
  399. }
  400. *case: Option3
  401. {
  402. *PrintableArea: PAIR(1644, 4155)
  403. *PrintableOrigin: PAIR(76, 0)
  404. }
  405. }
  406. }
  407. *case: UPPER
  408. {
  409. *PrintableArea: PAIR(1646, 4156)
  410. *PrintableOrigin: PAIR(75, 0)
  411. *switch: Resolution
  412. {
  413. *case: Option1
  414. {
  415. *PrintableArea: PAIR(1646, 4155)
  416. }
  417. *case: Option2
  418. {
  419. *PrintableArea: PAIR(1644, 4152)
  420. *PrintableOrigin: PAIR(76, 0)
  421. }
  422. *case: Option3
  423. {
  424. *PrintableArea: PAIR(1644, 4155)
  425. *PrintableOrigin: PAIR(76, 0)
  426. }
  427. }
  428. }
  429. }
  430. }
  431. *Option: CUSTOMSIZE
  432. {
  433. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  434. *MinSize: PAIR(240, 216)
  435. *MaxSize: PAIR(2040, 2376)
  436. *MaxPrintableWidth: 1920
  437. *MinLeftMargin: 60
  438. *CenterPrintable?: FALSE
  439. *switch: InputBin
  440. {
  441. *case: TRACTOR
  442. {
  443. *TopMargin: 0
  444. *BottomMargin: 0
  445. }
  446. *case: MANUAL
  447. {
  448. *TopMargin: 0
  449. *BottomMargin: 216
  450. }
  451. *case: UPPER
  452. {
  453. *TopMargin: 0
  454. *BottomMargin: 216
  455. }
  456. }
  457. }
  458. }
  459. *Feature: Halftone
  460. {
  461. *rcNameID: =HALFTONING_DISPLAY
  462. *DefaultOption: HT_PATSIZE_AUTO
  463. *Option: HT_PATSIZE_AUTO
  464. {
  465. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  466. }
  467. *Ifdef: WINNT_50
  468. *Option: HT_PATSIZE_SUPERCELL_M
  469. {
  470. *rcNameID: =HT_SUPERCELL_DISPLAY
  471. }
  472. *Endif:
  473. *Option: HT_PATSIZE_6x6_M
  474. {
  475. *rcNameID: =HT_DITHER6X6_DISPLAY
  476. }
  477. *Option: HT_PATSIZE_8x8_M
  478. {
  479. *rcNameID: =HT_DITHER8X8_DISPLAY
  480. }
  481. }
  482. *Command: CmdStartDoc
  483. {
  484. *Order: DOC_SETUP.1
  485. *Cmd: "<0D1B>6<1B>U<001B>I<021B>W<001B>P<001B>I2<121B>5<00>"
  486. }
  487. *Command: CmdStartPage
  488. {
  489. *Order: PAGE_SETUP.1
  490. *Cmd: "<0D>"
  491. }
  492. *Command: CmdEndJob
  493. {
  494. *Order: JOB_FINISH.1
  495. *Cmd: "<0D>"
  496. }
  497. *RotateCoordinate?: FALSE
  498. *RotateRaster?: FALSE
  499. *RotateFont?: FALSE
  500. *switch: Orientation
  501. {
  502. *case: PORTRAIT
  503. {
  504. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE,TC_RA_ABLE)
  505. }
  506. *case: LANDSCAPE_CC270
  507. {
  508. *TextCaps: LIST(TC_RA_ABLE)
  509. }
  510. }
  511. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  512. *YMoveAttributes: LIST(SEND_CR_FIRST)
  513. *YMoveThreshold: *
  514. *YMoveUnit: 216
  515. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  516. *Command: CmdCR { *Cmd : "<0D>" }
  517. *Command: CmdLF { *Cmd : "<0A>" }
  518. *Command: CmdFF { *Cmd : "<0C>" }
  519. *Command: CmdBackSpace { *Cmd : "<08>" }
  520. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<00>" }
  521. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<01>" }
  522. *EjectPageWithFF?: FALSE
  523. *switch: InputBin
  524. {
  525. *case: MANUAL
  526. {
  527. *EjectPageWithFF?: TRUE
  528. }
  529. *case: UPPER
  530. {
  531. *EjectPageWithFF?: TRUE
  532. }
  533. }
  534. *OutputDataFormat: V_BYTE
  535. *OptimizeLeftBound?: FALSE
  536. *CursorXAfterSendBlockData: AT_GRXDATA_END
  537. *CursorYAfterSendBlockData: NO_MOVE
  538. *DefaultFont: 4
  539. *DefaultCTT: 1
  540. *switch: Orientation
  541. {
  542. *case: PORTRAIT
  543. {
  544. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12)
  545. }
  546. *case: LANDSCAPE_CC270
  547. {
  548. *DeviceFonts: LIST()
  549. }
  550. }
  551. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  552. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  553. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  554. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }