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.

619 lines
18 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "BRHL630.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Brother HL-630"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "pcl4res.dll"
  12. *PrintRate: 6
  13. *PrintRatePPM: 6
  14. *PrintRateUnit: PPM
  15. *PrinterType: PAGE
  16. *MaxCopies: 99
  17. *Feature: Orientation
  18. {
  19. *rcNameID: =ORIENTATION_DISPLAY
  20. *DefaultOption: PORTRAIT
  21. *Option: PORTRAIT
  22. {
  23. *rcNameID: =PORTRAIT_DISPLAY
  24. *Command: CmdSelect
  25. {
  26. *Order: DOC_SETUP.2
  27. *Cmd: "<1B>&l0O"
  28. }
  29. }
  30. *Option: LANDSCAPE_CC90
  31. {
  32. *rcNameID: =LANDSCAPE_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.2
  36. *Cmd: "<1B>&l1O"
  37. }
  38. }
  39. }
  40. *Feature: InputBin
  41. {
  42. *rcNameID: =PAPER_SOURCE_DISPLAY
  43. *DefaultOption: UPPER
  44. *Option: UPPER
  45. {
  46. *rcNameID: =UPPER_TRAY_DISPLAY
  47. *Command: CmdSelect
  48. {
  49. *Order: DOC_SETUP.3
  50. *Cmd: "<1B>&l1H"
  51. }
  52. }
  53. *Option: MANUAL
  54. {
  55. *rcNameID: =MANUAL_FEED_DISPLAY
  56. *Command: CmdSelect
  57. {
  58. *Order: DOC_SETUP.3
  59. *Cmd: "<1B>&l2H"
  60. }
  61. }
  62. }
  63. *Feature: Resolution
  64. {
  65. *rcNameID: =RESOLUTION_DISPLAY
  66. *DefaultOption: Option1
  67. *Option: Option1
  68. {
  69. *Name: "300 x 300 " =DOTS_PER_INCH
  70. *DPI: PAIR(300, 300)
  71. *TextDPI: PAIR(300, 300)
  72. *MinStripBlankPixels: 32
  73. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  74. *SpotDiameter: 100
  75. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  76. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  77. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  78. *Command: CmdSelect
  79. {
  80. *Order: DOC_SETUP.5
  81. *Cmd: "<1B>*t300R"
  82. }
  83. }
  84. *Option: Option2
  85. {
  86. *Name: "150 x 150 " =DOTS_PER_INCH
  87. *DPI: PAIR(150, 150)
  88. *TextDPI: PAIR(300, 300)
  89. *MinStripBlankPixels: 32
  90. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  91. *SpotDiameter: 100
  92. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  93. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  94. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.5
  98. *Cmd: "<1B>*t150R"
  99. }
  100. }
  101. }
  102. *Feature: PaperSize
  103. {
  104. *rcNameID: =PAPER_SIZE_DISPLAY
  105. *DefaultOption: LETTER
  106. *Option: LETTER
  107. {
  108. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  109. *switch: Orientation
  110. {
  111. *case: PORTRAIT
  112. {
  113. *PrintableArea: PAIR(2400, 3150)
  114. *PrintableOrigin: PAIR(75, 75)
  115. *switch: Resolution
  116. {
  117. *case: Option2
  118. {
  119. *PrintableArea: PAIR(2398, 3148)
  120. *PrintableOrigin: PAIR(76, 76)
  121. }
  122. }
  123. *CursorOrigin: PAIR(68, 75)
  124. *Command: CmdSelect
  125. {
  126. *Order: DOC_SETUP.4
  127. *Cmd: "<1B>&l2a4d1e42F"
  128. }
  129. }
  130. *case: LANDSCAPE_CC90
  131. {
  132. *PrintableArea: PAIR(2400, 3150)
  133. *PrintableOrigin: PAIR(75, 75)
  134. *switch: Resolution
  135. {
  136. *case: Option2
  137. {
  138. *PrintableArea: PAIR(2398, 3148)
  139. *PrintableOrigin: PAIR(76, 76)
  140. }
  141. }
  142. *CursorOrigin: PAIR(66, 3240)
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.4
  146. *Cmd: "<1B>&l2a4d1e42F"
  147. }
  148. }
  149. }
  150. }
  151. *Option: LEGAL
  152. {
  153. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  154. *switch: Orientation
  155. {
  156. *case: PORTRAIT
  157. {
  158. *PrintableArea: PAIR(2400, 4050)
  159. *PrintableOrigin: PAIR(75, 75)
  160. *switch: Resolution
  161. {
  162. *case: Option2
  163. {
  164. *PrintableArea: PAIR(2398, 4048)
  165. *PrintableOrigin: PAIR(76, 76)
  166. }
  167. }
  168. *CursorOrigin: PAIR(68, 75)
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.4
  172. *Cmd: "<1B>&l3a4d1e54F"
  173. }
  174. }
  175. *case: LANDSCAPE_CC90
  176. {
  177. *PrintableArea: PAIR(2400, 4050)
  178. *PrintableOrigin: PAIR(75, 75)
  179. *switch: Resolution
  180. {
  181. *case: Option2
  182. {
  183. *PrintableArea: PAIR(2398, 4048)
  184. *PrintableOrigin: PAIR(76, 76)
  185. }
  186. }
  187. *CursorOrigin: PAIR(66, 4140)
  188. *Command: CmdSelect
  189. {
  190. *Order: DOC_SETUP.4
  191. *Cmd: "<1B>&l3a4d1e54F"
  192. }
  193. }
  194. }
  195. }
  196. *Option: EXECUTIVE
  197. {
  198. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  199. *switch: Orientation
  200. {
  201. *case: PORTRAIT
  202. {
  203. *PrintableArea: PAIR(2025, 3000)
  204. *PrintableOrigin: PAIR(75, 75)
  205. *switch: Resolution
  206. {
  207. *case: Option2
  208. {
  209. *PrintableArea: PAIR(2024, 2998)
  210. *PrintableOrigin: PAIR(76, 76)
  211. }
  212. }
  213. *CursorOrigin: PAIR(68, 75)
  214. *Command: CmdSelect
  215. {
  216. *Order: DOC_SETUP.4
  217. *Cmd: "<1B>&l1a4d1e40F"
  218. }
  219. }
  220. *case: LANDSCAPE_CC90
  221. {
  222. *PrintableArea: PAIR(2025, 3000)
  223. *PrintableOrigin: PAIR(75, 75)
  224. *switch: Resolution
  225. {
  226. *case: Option2
  227. {
  228. *PrintableArea: PAIR(2024, 2998)
  229. *PrintableOrigin: PAIR(76, 76)
  230. }
  231. }
  232. *CursorOrigin: PAIR(66, 3090)
  233. *Command: CmdSelect
  234. {
  235. *Order: DOC_SETUP.4
  236. *Cmd: "<1B>&l1a4d1e40F"
  237. }
  238. }
  239. }
  240. }
  241. *Option: A4
  242. {
  243. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  244. *switch: Orientation
  245. {
  246. *case: PORTRAIT
  247. {
  248. *PrintableArea: PAIR(2331, 3357)
  249. *PrintableOrigin: PAIR(75, 75)
  250. *switch: Resolution
  251. {
  252. *case: Option2
  253. {
  254. *PrintableArea: PAIR(2330, 3356)
  255. *PrintableOrigin: PAIR(76, 76)
  256. }
  257. }
  258. *CursorOrigin: PAIR(68, 75)
  259. *Command: CmdSelect
  260. {
  261. *Order: DOC_SETUP.4
  262. *Cmd: "<1B>&l26a4d1e45F"
  263. }
  264. }
  265. *case: LANDSCAPE_CC90
  266. {
  267. *PrintableArea: PAIR(2331, 3357)
  268. *PrintableOrigin: PAIR(75, 75)
  269. *switch: Resolution
  270. {
  271. *case: Option2
  272. {
  273. *PrintableArea: PAIR(2330, 3356)
  274. *PrintableOrigin: PAIR(76, 76)
  275. }
  276. }
  277. *CursorOrigin: PAIR(66, 3447)
  278. *Command: CmdSelect
  279. {
  280. *Order: DOC_SETUP.4
  281. *Cmd: "<1B>&l26a4d1e45F"
  282. }
  283. }
  284. }
  285. }
  286. *Option: ENV_B5
  287. {
  288. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  289. *switch: Orientation
  290. {
  291. *case: PORTRAIT
  292. {
  293. *PrintableArea: PAIR(1926, 2791)
  294. *PrintableOrigin: PAIR(75, 100)
  295. *switch: Resolution
  296. {
  297. *case: Option2
  298. {
  299. *PrintableArea: PAIR(1924, 2790)
  300. *PrintableOrigin: PAIR(76, 100)
  301. }
  302. }
  303. *CursorOrigin: PAIR(68, 75)
  304. *Command: CmdSelect
  305. {
  306. *Order: DOC_SETUP.4
  307. *Cmd: "<1B>&l100a4d1e45F"
  308. }
  309. }
  310. *case: LANDSCAPE_CC90
  311. {
  312. *PrintableArea: PAIR(1926, 2776)
  313. *PrintableOrigin: PAIR(75, 130)
  314. *switch: Resolution
  315. {
  316. *case: Option2
  317. {
  318. *PrintableArea: PAIR(1924, 2776)
  319. *PrintableOrigin: PAIR(76, 130)
  320. }
  321. }
  322. *CursorOrigin: PAIR(66, 2976)
  323. *Command: CmdSelect
  324. {
  325. *Order: DOC_SETUP.4
  326. *Cmd: "<1B>&l100a4d1e45F"
  327. }
  328. }
  329. }
  330. }
  331. *Option: ENV_10
  332. {
  333. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  334. *switch: Orientation
  335. {
  336. *case: PORTRAIT
  337. {
  338. *PrintableArea: PAIR(1089, 2700)
  339. *PrintableOrigin: PAIR(75, 75)
  340. *switch: Resolution
  341. {
  342. *case: Option2
  343. {
  344. *PrintableArea: PAIR(1088, 2698)
  345. *PrintableOrigin: PAIR(76, 76)
  346. }
  347. }
  348. *CursorOrigin: PAIR(68, 75)
  349. *Command: CmdSelect
  350. {
  351. *Order: DOC_SETUP.4
  352. *Cmd: "<1B>&l81a4d1E"
  353. }
  354. }
  355. *case: LANDSCAPE_CC90
  356. {
  357. *PrintableArea: PAIR(1089, 2700)
  358. *PrintableOrigin: PAIR(75, 75)
  359. *switch: Resolution
  360. {
  361. *case: Option2
  362. {
  363. *PrintableArea: PAIR(1088, 2698)
  364. *PrintableOrigin: PAIR(76, 76)
  365. }
  366. }
  367. *CursorOrigin: PAIR(66, 2790)
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.4
  371. *Cmd: "<1B>&l81a4d1E"
  372. }
  373. }
  374. }
  375. }
  376. *Option: ENV_DL
  377. {
  378. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  379. *switch: Orientation
  380. {
  381. *case: PORTRAIT
  382. {
  383. *PrintableArea: PAIR(1149, 2448)
  384. *PrintableOrigin: PAIR(75, 75)
  385. *switch: Resolution
  386. {
  387. *case: Option2
  388. {
  389. *PrintableArea: PAIR(1148, 2446)
  390. *PrintableOrigin: PAIR(76, 76)
  391. }
  392. }
  393. *CursorOrigin: PAIR(68, 75)
  394. *Command: CmdSelect
  395. {
  396. *Order: DOC_SETUP.4
  397. *Cmd: "<1B>&l90a4d1E"
  398. }
  399. }
  400. *case: LANDSCAPE_CC90
  401. {
  402. *PrintableArea: PAIR(1149, 2448)
  403. *PrintableOrigin: PAIR(75, 75)
  404. *switch: Resolution
  405. {
  406. *case: Option2
  407. {
  408. *PrintableArea: PAIR(1148, 2446)
  409. *PrintableOrigin: PAIR(76, 76)
  410. }
  411. }
  412. *CursorOrigin: PAIR(66, 2538)
  413. *Command: CmdSelect
  414. {
  415. *Order: DOC_SETUP.4
  416. *Cmd: "<1B>&l90a4d1E"
  417. }
  418. }
  419. }
  420. }
  421. *Option: ENV_C5
  422. {
  423. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  424. *switch: Orientation
  425. {
  426. *case: PORTRAIT
  427. {
  428. *PrintableArea: PAIR(1764, 2556)
  429. *PrintableOrigin: PAIR(75, 75)
  430. *switch: Resolution
  431. {
  432. *case: Option2
  433. {
  434. *PrintableArea: PAIR(1762, 2554)
  435. *PrintableOrigin: PAIR(76, 76)
  436. }
  437. }
  438. *CursorOrigin: PAIR(68, 75)
  439. *Command: CmdSelect
  440. {
  441. *Order: DOC_SETUP.4
  442. *Cmd: "<1B>&l91a4d1E"
  443. }
  444. }
  445. *case: LANDSCAPE_CC90
  446. {
  447. *PrintableArea: PAIR(1764, 2556)
  448. *PrintableOrigin: PAIR(75, 75)
  449. *switch: Resolution
  450. {
  451. *case: Option2
  452. {
  453. *PrintableArea: PAIR(1762, 2554)
  454. *PrintableOrigin: PAIR(76, 76)
  455. }
  456. }
  457. *CursorOrigin: PAIR(66, 2646)
  458. *Command: CmdSelect
  459. {
  460. *Order: DOC_SETUP.4
  461. *Cmd: "<1B>&l91a4d1E"
  462. }
  463. }
  464. }
  465. }
  466. *Option: ENV_MONARCH
  467. {
  468. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  469. *switch: Orientation
  470. {
  471. *case: PORTRAIT
  472. {
  473. *PrintableArea: PAIR(1008, 2100)
  474. *PrintableOrigin: PAIR(75, 75)
  475. *switch: Resolution
  476. {
  477. *case: Option2
  478. {
  479. *PrintableArea: PAIR(1006, 2098)
  480. *PrintableOrigin: PAIR(76, 76)
  481. }
  482. }
  483. *CursorOrigin: PAIR(68, 75)
  484. *Command: CmdSelect
  485. {
  486. *Order: DOC_SETUP.4
  487. *Cmd: "<1B>&l80a4d1E"
  488. }
  489. }
  490. *case: LANDSCAPE_CC90
  491. {
  492. *PrintableArea: PAIR(1008, 2100)
  493. *PrintableOrigin: PAIR(75, 75)
  494. *switch: Resolution
  495. {
  496. *case: Option2
  497. {
  498. *PrintableArea: PAIR(1006, 2098)
  499. *PrintableOrigin: PAIR(76, 76)
  500. }
  501. }
  502. *CursorOrigin: PAIR(66, 2190)
  503. *Command: CmdSelect
  504. {
  505. *Order: DOC_SETUP.4
  506. *Cmd: "<1B>&l80a4d1E"
  507. }
  508. }
  509. }
  510. }
  511. }
  512. *Feature: Halftone
  513. {
  514. *rcNameID: =HALFTONING_DISPLAY
  515. *DefaultOption: HT_PATSIZE_AUTO
  516. *Option: HT_PATSIZE_AUTO
  517. {
  518. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  519. }
  520. *Ifdef: WINNT_50
  521. *Option: HT_PATSIZE_SUPERCELL_M
  522. {
  523. *rcNameID: =HT_SUPERCELL_DISPLAY
  524. }
  525. *Endif:
  526. *Option: HT_PATSIZE_6x6_M
  527. {
  528. *rcNameID: =HT_DITHER6X6_DISPLAY
  529. }
  530. *Option: HT_PATSIZE_8x8_M
  531. {
  532. *rcNameID: =HT_DITHER8X8_DISPLAY
  533. }
  534. }
  535. *Feature: Memory
  536. {
  537. *rcNameID: =PRINTER_MEMORY_DISPLAY
  538. *DefaultOption: 512KB
  539. *MemConfigKB: PAIR(512, 369)
  540. *MemConfigKB: PAIR(1024, 907)
  541. *MemConfigKB: PAIR(1536, 1419)
  542. *MemConfigKB: PAIR(2048, 1931)
  543. }
  544. *Command: CmdStartDoc
  545. {
  546. *Order: DOC_SETUP.1
  547. *Cmd: "<1B>E<1B>&l0L<1B>*r0F<1B>&l0S"
  548. }
  549. *Command: CmdStartPage
  550. {
  551. *Order: PAGE_SETUP.1
  552. *Cmd: "<1B>*b0M<0D>"
  553. }
  554. *Command: CmdEndJob
  555. {
  556. *Order: JOB_FINISH.1
  557. *Cmd: "<1B>E"
  558. }
  559. *Command: CmdCopies
  560. {
  561. *Order: DOC_SETUP.6
  562. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  563. }
  564. *RotateCoordinate?: TRUE
  565. *RotateRaster?: TRUE
  566. *RotateFont?: TRUE
  567. *TextCaps: LIST(TC_UA_ABLE)
  568. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  569. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  570. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  571. *XMoveThreshold: 0
  572. *YMoveThreshold: 0
  573. *XMoveUnit: 300
  574. *YMoveUnit: 300
  575. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  576. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  577. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  578. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  579. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  580. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  581. *Command: CmdCR { *Cmd : "<0D>" }
  582. *Command: CmdLF { *Cmd : "<0A>" }
  583. *Command: CmdFF { *Cmd : "<0C>" }
  584. *Command: CmdBackSpace { *Cmd : "<08>" }
  585. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  586. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  587. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  588. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  589. *EjectPageWithFF?: TRUE
  590. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  591. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  592. *OutputDataFormat: H_BYTE
  593. *OptimizeLeftBound?: TRUE
  594. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  595. *CursorYAfterSendBlockData: AUTO_INCREMENT
  596. *DefaultFont: 314
  597. *DefaultCTT: 0
  598. *MaxFontUsePerPage: 32
  599. *CharPosition: BASELINE
  600. *DLSymbolSet: ROMAN_8
  601. *DeviceFonts: LIST(308,309,310,311,312,313,314,315,324,325,326,327)
  602. *MinFontID: 1
  603. *MaxFontID: 99
  604. *FontFormat: HPPCL
  605. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  606. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  607. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  608. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  609. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  610. *MinGrayFill: 1
  611. *MaxGrayFill: 100
  612. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  613. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  614. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  615. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }