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.

676 lines
17 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "TELB450J.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "TEC LB-4500"
  11. *MasterUnits: PAIR(1440, 1440)
  12. *ResourceDLL: "PAGESRES.DLL"
  13. *PrinterType: PAGE
  14. *MaxCopies: 255
  15. *PrintRate: 14
  16. *PrintRateUnit: PPM
  17. *rcInstalledOptionNameID: 400
  18. *rcNotInstalledOptionNameID: 401
  19. *% ========== Orientation ==========
  20. *Feature: Orientation
  21. {
  22. *rcNameID: =ORIENTATION_DISPLAY
  23. *DefaultOption: PORTRAIT
  24. *Option: PORTRAIT
  25. {
  26. *rcNameID: =PORTRAIT_DISPLAY
  27. *Command: CmdSelect
  28. {
  29. *Order: DOC_SETUP.3
  30. *Cmd: "<1B>~P<000100>"
  31. }
  32. }
  33. *Option: LANDSCAPE_CC270
  34. {
  35. *rcNameID: =LANDSCAPE_DISPLAY
  36. *Command: CmdSelect
  37. {
  38. *Order: DOC_SETUP.3
  39. *Cmd: "<1B>~P<000103>"
  40. }
  41. }
  42. }
  43. *% ========== InputBin ==========
  44. *Feature: InputBin
  45. {
  46. *rcNameID: =PAPER_SOURCE_DISPLAY
  47. *DefaultOption: Option1
  48. *Option: Option1
  49. {
  50. *rcNameID: 274
  51. *Command: CmdSelect
  52. {
  53. *Order: DOC_SETUP.2
  54. *Cmd: "<1B>~F<00050000000000>"
  55. }
  56. }
  57. *Option: Option2
  58. {
  59. *rcNameID: 275
  60. *Command: CmdSelect
  61. {
  62. *Order: DOC_SETUP.2
  63. *Cmd: "<1B>~F<00050000010000>"
  64. }
  65. }
  66. *Option: Option3
  67. {
  68. *rcNameID: 276
  69. *Installable?: TRUE
  70. *rcInstallableFeatureNameID: 276
  71. *Command: CmdSelect
  72. {
  73. *Order: DOC_SETUP.2
  74. *Cmd: "<1B>~F<00050000020000>"
  75. }
  76. }
  77. }
  78. *% ========== Resolution ==========
  79. *Feature: Resolution
  80. {
  81. *rcNameID: =RESOLUTION_DISPLAY
  82. *DefaultOption: Option1
  83. *Option: Option1
  84. {
  85. *Name: "360 x 360 dots per inch"
  86. *DPI: PAIR(360, 360)
  87. *TextDPI: PAIR(360, 360)
  88. *MinStripBlankPixels: 32
  89. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING)
  90. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  91. *SpotDiameter: 100
  92. *Command: CmdSendBlockData
  93. {
  94. *CallbackID: 20
  95. *Params: LIST(RasterDataHeightInPixels, RasterDataWidthInBytes)
  96. }
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.11
  100. *CallbackID: 13
  101. }
  102. }
  103. }
  104. *% ========== PaperSize ==========
  105. *Feature: PaperSize
  106. {
  107. *rcNameID: =PAPER_SIZE_DISPLAY
  108. *DefaultOption: A4
  109. *Option: A4
  110. {
  111. *rcNameID: =A4_DISPLAY
  112. *PrintableArea: PAIR(11340, 16264)
  113. *PrintableOrigin: PAIR(284, 284)
  114. *switch: Orientation
  115. {
  116. *case: PORTRAIT
  117. {
  118. *Command: CmdSelect
  119. {
  120. *Order: DOC_SETUP.5
  121. *Cmd: "<1B>~8<0009011C011C>,J?<8E02>"
  122. }
  123. }
  124. *case: LANDSCAPE_CC270
  125. {
  126. *Command: CmdSelect
  127. {
  128. *Order: DOC_SETUP.5
  129. *Cmd: "<1B>~8<0009011C011C3F8E2C4A02>"
  130. }
  131. }
  132. }
  133. }
  134. *Option: A5
  135. {
  136. *rcNameID: =A5_DISPLAY
  137. *PrintableArea: PAIR(7828, 11340)
  138. *PrintableOrigin: PAIR(284, 284)
  139. *switch: Orientation
  140. {
  141. *case: PORTRAIT
  142. {
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.5
  146. *Cmd: "<1B>~8<0009011C011C1E8F>,J<02>"
  147. }
  148. }
  149. *case: LANDSCAPE_CC270
  150. {
  151. *Command: CmdSelect
  152. {
  153. *Order: DOC_SETUP.5
  154. *Cmd: "<1B>~8<0009011C011C>,J<1E8F02>"
  155. }
  156. }
  157. }
  158. }
  159. *Option: Option3
  160. {
  161. *rcNameID: 258
  162. *PageDimensions: PAIR(5952, 8390)
  163. *PrintableArea: PAIR(5384, 7820)
  164. *PrintableOrigin: PAIR(284, 284)
  165. *switch: Orientation
  166. {
  167. *case: PORTRAIT
  168. {
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.5
  172. *Cmd: "<1B>~8<0009011C011C15091E8F02>"
  173. }
  174. }
  175. *case: LANDSCAPE_CC270
  176. {
  177. *Command: CmdSelect
  178. {
  179. *Order: DOC_SETUP.5
  180. *Cmd: "<1B>~8<0009011C011C1E8F150902>"
  181. }
  182. }
  183. }
  184. }
  185. *Option: EXECUTIVE
  186. {
  187. *rcNameID: =EXECUTIVE_DISPLAY
  188. *PrintableArea: PAIR(9872, 14552)
  189. *PrintableOrigin: PAIR(284, 284)
  190. *switch: Orientation
  191. {
  192. *case: PORTRAIT
  193. {
  194. *Command: CmdSelect
  195. {
  196. *Order: DOC_SETUP.5
  197. *Cmd: "<1B>~8<0009011C011C>&<93>8<D902>"
  198. }
  199. }
  200. *case: LANDSCAPE_CC270
  201. {
  202. *Command: CmdSelect
  203. {
  204. *Order: DOC_SETUP.5
  205. *Cmd: "<1B>~8<0009011C011C>8<D9>&<9302>"
  206. }
  207. }
  208. }
  209. }
  210. *Option: B5
  211. {
  212. *rcNameID: =B5_DISPLAY
  213. *PrintableArea: PAIR(9756, 14004)
  214. *PrintableOrigin: PAIR(284, 284)
  215. *switch: Orientation
  216. {
  217. *case: PORTRAIT
  218. {
  219. *Command: CmdSelect
  220. {
  221. *Order: DOC_SETUP.5
  222. *Cmd: "<1B>~8<0009011C011C>&<17>6<B302>"
  223. }
  224. }
  225. *case: LANDSCAPE_CC270
  226. {
  227. *Command: CmdSelect
  228. {
  229. *Order: DOC_SETUP.5
  230. *Cmd: "<1B>~8<0009011C011C>6<B3>&<1702>"
  231. }
  232. }
  233. }
  234. }
  235. *Option: Option6
  236. {
  237. *rcNameID: 259
  238. *PageDimensions: PAIR(7256, 10318)
  239. *PrintableArea: PAIR(6688, 9748)
  240. *PrintableOrigin: PAIR(284, 284)
  241. *switch: Orientation
  242. {
  243. *case: PORTRAIT
  244. {
  245. *Command: CmdSelect
  246. {
  247. *Order: DOC_SETUP.5
  248. *Cmd: "<1B>~8<0009011C011C1A>!&<1702>"
  249. }
  250. }
  251. *case: LANDSCAPE_CC270
  252. {
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.5
  256. *Cmd: "<1B>~8<0009011C011C>&<171A>!<02>"
  257. }
  258. }
  259. }
  260. }
  261. *Option: LETTER
  262. {
  263. *rcNameID: =LETTER_DISPLAY
  264. *PrintableArea: PAIR(11672, 15272)
  265. *PrintableOrigin: PAIR(284, 284)
  266. *switch: Orientation
  267. {
  268. *case: PORTRAIT
  269. {
  270. *Command: CmdSelect
  271. {
  272. *Order: DOC_SETUP.5
  273. *Cmd: "<1B>~8<0009011C011C>-<99>;<A902>"
  274. }
  275. }
  276. *case: LANDSCAPE_CC270
  277. {
  278. *Command: CmdSelect
  279. {
  280. *Order: DOC_SETUP.5
  281. *Cmd: "<1B>~8<0009011C011C>;<A9>-<9902>"
  282. }
  283. }
  284. }
  285. }
  286. *Option: JAPANESE_POSTCARD
  287. {
  288. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  289. *PrintableArea: PAIR(5104, 7828)
  290. *PrintableOrigin: PAIR(284, 284)
  291. *switch: Orientation
  292. {
  293. *case: PORTRAIT
  294. {
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.5
  298. *Cmd: "<1b>~8<0009011c011c13ee1e8f02>"
  299. }
  300. }
  301. *case: LANDSCAPE_CC270
  302. {
  303. *Command: CmdSelect
  304. {
  305. *Order: DOC_SETUP.5
  306. *Cmd: "<1b>~8<0009011c011c1e8f13ee02>"
  307. }
  308. }
  309. }
  310. }
  311. *Option: LEGAL
  312. {
  313. *rcNameID: =LEGAL_DISPLAY
  314. *PrintableArea: PAIR(11672, 19592)
  315. *PrintableOrigin: PAIR(284, 284)
  316. *switch: Orientation
  317. {
  318. *case: PORTRAIT
  319. {
  320. *Command: CmdSelect
  321. {
  322. *Order: DOC_SETUP.5
  323. *Cmd: "<1B>~8<0009011C011C>-<99>L<8902>"
  324. }
  325. }
  326. *case: LANDSCAPE_CC270
  327. {
  328. *Command: CmdSelect
  329. {
  330. *Order: DOC_SETUP.5
  331. *Cmd: "<1B>~8<0009011C011C>L<89>-<9902>"
  332. }
  333. }
  334. }
  335. }
  336. *Option: Option10
  337. {
  338. *rcNameID: 260
  339. *PageDimensions: PAIR(14573, 20635)
  340. *PrintableArea: PAIR(14004, 20068)
  341. *PrintableOrigin: PAIR(284, 284)
  342. *switch: Orientation
  343. {
  344. *case: PORTRAIT
  345. {
  346. *Command: CmdSelect
  347. {
  348. *Order: DOC_SETUP.5
  349. *Cmd: "<1B>~Q<0001051B>~8<0009011C011C>6<B3>Ne<02>"
  350. }
  351. }
  352. *case: LANDSCAPE_CC270
  353. {
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.5
  357. *Cmd: "<1B>~Q<0001051B>~8<0009011C011C>Ne6<B302>"
  358. }
  359. }
  360. }
  361. }
  362. *Option: Option11
  363. {
  364. *rcNameID: 261
  365. *PageDimensions: PAIR(16834, 23818)
  366. *PrintableArea: PAIR(16264, 23248)
  367. *PrintableOrigin: PAIR(284, 284)
  368. *switch: Orientation
  369. {
  370. *case: PORTRAIT
  371. {
  372. *Command: CmdSelect
  373. {
  374. *Order: DOC_SETUP.5
  375. *Cmd: "<1B>~Q<0001061B>~8<0009011C011C>?<8E>Z<CC02>"
  376. }
  377. }
  378. *case: LANDSCAPE_CC270
  379. {
  380. *Command: CmdSelect
  381. {
  382. *Order: DOC_SETUP.5
  383. *Cmd: "<1B>~Q<0001061B>~8<0009011C011C>Z<CC>?<8E02>"
  384. }
  385. }
  386. }
  387. }
  388. *Option: CUSTOMSIZE
  389. {
  390. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  391. *MinSize: PAIR(4648, 8390)
  392. *MaxSize: PAIR(16837, 23811)
  393. *MaxPrintableWidth: 16837
  394. *MinLeftMargin: 0
  395. *CenterPrintable?: FALSE
  396. *TopMargin: 282
  397. *BottomMargin: 282
  398. *switch: Orientation
  399. {
  400. *case: PORTRAIT
  401. {
  402. *Command: CmdSelect
  403. {
  404. *Order: DOC_SETUP.5
  405. *Cmd: "<1B>~8<0009011C011C>/<D0>L<8902>"
  406. }
  407. }
  408. *case: LANDSCAPE_CC270
  409. {
  410. *Command: CmdSelect
  411. {
  412. *Order: DOC_SETUP.5
  413. *Cmd: "<1B>~8<0009011C011C>L<89>/<D002>"
  414. }
  415. }
  416. }
  417. }
  418. }
  419. *% ========== ImageControl ==========
  420. *Feature: ImageControl
  421. {
  422. *rcNameID: =IMAGECONTROL_DISPLAY
  423. *DefaultOption: Option1
  424. *Option: Option1
  425. {
  426. *rcNameID: 283
  427. *Command: CmdSelect
  428. {
  429. *Order: DOC_SETUP.4
  430. *Cmd: "<1B>~Q<000100>"
  431. }
  432. }
  433. *Option: Option2
  434. {
  435. *rcNameID: 284
  436. *Command: CmdSelect
  437. {
  438. *Order: DOC_SETUP.4
  439. *Cmd: "<1B>~Q<000105>"
  440. }
  441. }
  442. *Option: Option3
  443. {
  444. *rcNameID: 285
  445. *Command: CmdSelect
  446. {
  447. *Order: DOC_SETUP.4
  448. *Cmd: "<1B>~Q<000101>"
  449. }
  450. }
  451. *Option: Option4
  452. {
  453. *rcNameID: 286
  454. *Command: CmdSelect
  455. {
  456. *Order: DOC_SETUP.4
  457. *Cmd: "<1B>~Q<000104>"
  458. }
  459. }
  460. *Option: Option5
  461. {
  462. *rcNameID: 287
  463. *Command: CmdSelect
  464. {
  465. *Order: DOC_SETUP.4
  466. *Cmd: "<1B>~Q<000107>"
  467. }
  468. }
  469. *Option: Option6
  470. {
  471. *rcNameID: 288
  472. *Command: CmdSelect
  473. {
  474. *Order: DOC_SETUP.4
  475. *Cmd: "<1B>~Q<000108>"
  476. }
  477. }
  478. }
  479. *% ========== Halftone ==========
  480. *Feature: Halftone
  481. {
  482. *rcNameID: =HALFTONING_DISPLAY
  483. *DefaultOption: HT_PATSIZE_AUTO
  484. *Option: HT_PATSIZE_AUTO
  485. {
  486. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  487. }
  488. *Option: HT_PATSIZE_SUPERCELL_M
  489. {
  490. *rcNameID: =HT_SUPERCELL_DISPLAY
  491. }
  492. *Option: HT_PATSIZE_6x6_M
  493. {
  494. *rcNameID: =HT_DITHER6X6_DISPLAY
  495. }
  496. *Option: HT_PATSIZE_8x8_M
  497. {
  498. *rcNameID: =HT_DITHER8X8_DISPLAY
  499. }
  500. }
  501. *% ========== Memory ==========
  502. *Feature: Memory
  503. {
  504. *rcNameID: =PRINTER_MEMORY_DISPLAY
  505. *DefaultOption: Option1
  506. *Option: Option1
  507. {
  508. *rcNameID: 410
  509. *MemoryConfigMB: PAIR(4, 3)
  510. }
  511. *Option: 12MB
  512. {
  513. *rcNameID: 414
  514. *MemoryConfigMB: PAIR(12, 11)
  515. }
  516. *Option: 20MB
  517. {
  518. *rcNameID: 415
  519. *MemoryConfigMB: PAIR(20, 19)
  520. }
  521. }
  522. *% ========== Job Control Command ==========
  523. *Command: CmdStartDoc
  524. {
  525. *Order: DOC_SETUP.1
  526. *Cmd: "<1B7E120001111B>~<010000>"
  527. }
  528. *Command: CmdEndJob
  529. {
  530. *Order: JOB_FINISH.1
  531. *Cmd: "<1B>~<0100001B7E12000100>"
  532. }
  533. *Command: CmdCopies
  534. {
  535. *Order: DOC_SETUP.6
  536. *Cmd: "<1B>~3<000201>" %c[1,255]{NumOfCopies}
  537. }
  538. *% ========== InvalidCombination ==========
  539. *InvalidCombination: LIST(InputBin.Option1, PaperSize.A5)
  540. *InvalidCombination: LIST(InputBin.Option1, PaperSize.B5)
  541. *InvalidCombination: LIST(InputBin.Option1, PaperSize.LEGAL)
  542. *InvalidCombination: LIST(InputBin.Option1, PaperSize.EXECUTIVE)
  543. *InvalidCombination: LIST(InputBin.Option1, PaperSize.Option3)
  544. *InvalidCombination: LIST(InputBin.Option1, PaperSize.Option6)
  545. *InvalidCombination: LIST(InputBin.Option1, PaperSize.JAPANESE_POSTCARD)
  546. *InvalidCombination: LIST(InputBin.Option1, PaperSize.CUSTOMSIZE)
  547. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  548. *InvalidCombination: LIST(InputBin.Option3, PaperSize.LEGAL)
  549. *InvalidCombination: LIST(InputBin.Option3, PaperSize.EXECUTIVE)
  550. *InvalidCombination: LIST(InputBin.Option3, PaperSize.Option3)
  551. *InvalidCombination: LIST(InputBin.Option3, PaperSize.Option6)
  552. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  553. *InvalidCombination: LIST(InputBin.Option3, PaperSize.CUSTOMSIZE)
  554. *% ========== Printer Capabilities ==========
  555. *RotateCoordinate?: FALSE
  556. *RotateRaster?: TRUE
  557. *RotateFont?: TRUE
  558. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  559. *MemoryUsage: LIST(FONT)
  560. *% ========== Cursor Control ==========
  561. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  562. *XMoveThreshold: 0
  563. *YMoveThreshold: 0
  564. *XMoveUnit: 1440
  565. *YMoveUnit: 1440
  566. *Command: CmdXMoveAbsolute { *Cmd : "<1B>~<1C000305>" %m{DestX } }
  567. *Command: CmdXMoveRelRight { *Cmd : "<1B>~<1C000306>" %m{DestXRel } }
  568. *Command: CmdYMoveAbsolute
  569. {
  570. *CallbackID: 2
  571. *Params: LIST(DestY)
  572. }
  573. *Command: CmdYMoveRelDown
  574. {
  575. *CallbackID: 3
  576. *Params: LIST(DestYRel)
  577. }
  578. *Command: CmdSetLineSpacing { *Cmd : "<1B>%%9" %m{(LinefeedSpacing / 12) } }
  579. *Command: CmdCR { *Cmd : "<0D>" }
  580. *Command: CmdLF { *Cmd : "<0A>" }
  581. *Command: CmdFF { *Cmd : "<0C>" }
  582. *Command: CmdBackSpace { *Cmd : "<08>" }
  583. *EjectPageWithFF?: TRUE
  584. *% ========== Raster Data Emission ==========
  585. *OutputDataFormat: H_BYTE
  586. *OptimizeLeftBound?: TRUE
  587. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  588. *CursorYAfterSendBlockData: AUTO_INCREMENT
  589. *% ========== Device Fonts ==========
  590. *DefaultFont: 5
  591. *DefaultCTT: 0
  592. *CharPosition: BASELINE
  593. *DeviceFonts: LIST(1,2,3,4,5,6,7,8)
  594. *% ========== Font Simulation ==========
  595. *Command: CmdBoldOn { *Cmd : "<1B>~<0E000117>" }
  596. *Command: CmdBoldOff { *Cmd : "<1B>~<0E000118>" }
  597. *Command: CmdItalicOn { *Cmd : "<1B>~v<000E1000000000000000000103000000>" }
  598. *Command: CmdItalicOff { *Cmd : "<1B>~v<000E0000000000000000000000000000>" }
  599. *Command: CmdUnderlineOn { *Cmd : "<1B>~<11000101>" }
  600. *Command: CmdUnderlineOff { *Cmd : "<1B>~<11000100>" }
  601. *%========== RectFill ==========
  602. *MinGrayFill: 1
  603. *MaxGrayFill: 1
  604. *% *MinGrayFill: 1
  605. *% *MaxGrayFill: 100
  606. *Command: CmdSetRectWidth
  607. {
  608. *CallbackID: 30
  609. *Params: LIST(RectXSize)
  610. }
  611. *Command: CmdSetRectHeight
  612. {
  613. *CallbackID: 31
  614. *Params: LIST(RectYSize)
  615. }
  616. *% *Command: CmdRectBlackFill { *CallbackID: 32 }
  617. *Command: CmdRectWhiteFill { *CallbackID: 33 }
  618. *%========== Font Substitution ==========
  619. *TTFSEnabled?: TRUE
  620. *TTFS: MSMincho
  621. {
  622. *rcTTFontNameID: 500
  623. *rcDevFontNameID:501
  624. }
  625. *TTFS: MSMinchoV
  626. {
  627. *rcTTFontNameID: 502
  628. *rcDevFontNameID:503
  629. }
  630. *TTFS: MSGothic
  631. {
  632. *rcTTFontNameID: 504
  633. *rcDevFontNameID:505
  634. }
  635. *TTFS: MSGothicV
  636. {
  637. *rcTTFontNameID: 506
  638. *rcDevFontNameID:507
  639. }
  640. *TTFS: MSMincho_E
  641. {
  642. *rcTTFontNameID: 520
  643. *rcDevFontNameID:501
  644. }
  645. *TTFS: MSMinchoV_E
  646. {
  647. *rcTTFontNameID: 521
  648. *rcDevFontNameID:503
  649. }
  650. *TTFS: MSGothic_E
  651. {
  652. *rcTTFontNameID: 522
  653. *rcDevFontNameID:505
  654. }
  655. *TTFS: MSGothicV_E
  656. {
  657. *rcTTFontNameID: 523
  658. *rcDevFontNameID:507
  659. }