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.
 
 
 
 
 
 

778 lines
23 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "MT9005PS.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "Mannesmann Tally T9005 Plus"
*MasterUnits: PAIR(600, 600)
*ResourceDLL: "pcl5eres.dll"
*PrinterType: PAGE
*MaxCopies: 99
*FontCartSlots: 2
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l0O"
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l1O"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 266
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l0H"
}
}
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l1H"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l2H"
}
}
*Option: ENVMANUAL
{
*rcNameID: =ENV_MANUAL_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l3H"
}
}
*Option: LOWER
{
*rcNameID: =LOWER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l4H"
}
}
*Option: ENVFEED
{
*rcNameID: =ENV_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l6H"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "300 x 300 " =DOTS_PER_INCH
*DPI: PAIR(300, 300)
*TextDPI: PAIR(300, 300)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>*t300R"
}
}
*Option: Option2
{
*Name: "150 x 150 " =DOTS_PER_INCH
*DPI: PAIR(150, 150)
*TextDPI: PAIR(300, 300)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>*t150R"
}
}
*Option: Option3
{
*Name: "75 x 75 " =DOTS_PER_INCH
*DPI: PAIR(75, 75)
*TextDPI: PAIR(300, 300)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>*t75R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1028
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4800, 6342)
*PrintableOrigin: PAIR(150, 108)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4796, 6340)
*PrintableOrigin: PAIR(152, 108)
}
*case: Option3
{
*PrintableArea: PAIR(4792, 6336)
*PrintableOrigin: PAIR(152, 112)
}
}
*CursorOrigin: PAIR(150, 104)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l2a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4850, 6300)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4848, 6296)
*PrintableOrigin: PAIR(152, 152)
}
*case: Option3
{
*PrintableArea: PAIR(4848, 6296)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(116, 6450)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l2a8c1E"
}
}
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1692
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4800, 8200)
*PrintableOrigin: PAIR(150, 100)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4796, 8200)
*PrintableOrigin: PAIR(152, 100)
}
*case: Option3
{
*PrintableArea: PAIR(4792, 8192)
*PrintableOrigin: PAIR(152, 104)
}
}
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l3a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4900, 8160)
*PrintableOrigin: PAIR(100, 120)
*switch: Resolution
{
*case: Option3
{
*PrintableArea: PAIR(4896, 8160)
*PrintableOrigin: PAIR(104, 120)
}
}
*CursorOrigin: PAIR(100, 8280)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l3a8c1E"
}
}
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1028
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4050, 6100)
*PrintableOrigin: PAIR(150, 100)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4048, 6100)
*PrintableOrigin: PAIR(152, 100)
}
*case: Option3
{
*PrintableArea: PAIR(4048, 6096)
*PrintableOrigin: PAIR(152, 104)
}
}
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l1a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4150, 6060)
*PrintableOrigin: PAIR(100, 120)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4148, 6060)
}
*case: Option3
{
*PrintableArea: PAIR(4144, 6056)
*PrintableOrigin: PAIR(104, 120)
}
}
*CursorOrigin: PAIR(100, 6180)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l1a8c1E"
}
}
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1063
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4716, 6814)
*PrintableOrigin: PAIR(130, 100)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4712, 6812)
*PrintableOrigin: PAIR(132, 100)
}
*case: Option3
{
*PrintableArea: PAIR(4704, 6808)
*PrintableOrigin: PAIR(136, 104)
}
}
*CursorOrigin: PAIR(130, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l26a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4762, 6790)
*PrintableOrigin: PAIR(100, 108)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4760, 6788)
}
*case: Option3
{
*PrintableArea: PAIR(4752, 6784)
*PrintableOrigin: PAIR(104, 112)
}
}
*CursorOrigin: PAIR(100, 6864)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l26a8c1E"
}
}
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1028
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2178, 5500)
*PrintableOrigin: PAIR(150, 100)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2176, 5500)
*PrintableOrigin: PAIR(152, 100)
}
*case: Option3
{
*PrintableArea: PAIR(2176, 5496)
*PrintableOrigin: PAIR(152, 104)
}
}
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l81a1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2278, 5460)
*PrintableOrigin: PAIR(100, 120)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2276, 5460)
}
*case: Option3
{
*PrintableArea: PAIR(2272, 5456)
*PrintableOrigin: PAIR(104, 120)
}
}
*CursorOrigin: PAIR(100, 5580)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l81a1E"
}
}
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1028
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2298, 4996)
*PrintableOrigin: PAIR(150, 100)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2296, 4996)
*PrintableOrigin: PAIR(152, 100)
}
*case: Option3
{
*PrintableArea: PAIR(2296, 4992)
*PrintableOrigin: PAIR(152, 104)
}
}
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l90a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2398, 4956)
*PrintableOrigin: PAIR(100, 120)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2396, 4956)
}
*case: Option3
{
*PrintableArea: PAIR(2392, 4952)
*PrintableOrigin: PAIR(104, 120)
}
}
*CursorOrigin: PAIR(100, 5076)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l90a8c1E"
}
}
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1028
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(3528, 5212)
*PrintableOrigin: PAIR(150, 100)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(3524, 5212)
*PrintableOrigin: PAIR(152, 100)
}
*case: Option3
{
*PrintableArea: PAIR(3520, 5208)
*PrintableOrigin: PAIR(152, 104)
}
}
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l91a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(3628, 5172)
*PrintableOrigin: PAIR(100, 120)
*switch: Resolution
{
*case: Option3
{
*PrintableArea: PAIR(3624, 5168)
*PrintableOrigin: PAIR(104, 120)
}
}
*CursorOrigin: PAIR(100, 5292)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l91a8c1E"
}
}
}
}
*Option: ENV_MONARCH
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1028
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2028, 4300)
*PrintableOrigin: PAIR(150, 100)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2024, 4300)
*PrintableOrigin: PAIR(152, 100)
}
*case: Option3
{
*PrintableArea: PAIR(2024, 4296)
*PrintableOrigin: PAIR(152, 104)
}
}
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l80a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2128, 4260)
*PrintableOrigin: PAIR(100, 120)
*switch: Resolution
{
*case: Option3
{
*PrintableArea: PAIR(2120, 4256)
*PrintableOrigin: PAIR(104, 120)
}
}
*CursorOrigin: PAIR(100, 4380)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l80a8c1E"
}
}
}
}
}
*Feature: Halftone
{
*rcNameID: =HALFTONING_DISPLAY
*DefaultOption: HT_PATSIZE_AUTO
*Option: HT_PATSIZE_AUTO
{
*rcNameID: =HT_AUTO_SELECT_DISPLAY
}
*Ifdef: WINNT_50
*Option: HT_PATSIZE_SUPERCELL_M
{
*rcNameID: =HT_SUPERCELL_DISPLAY
}
*Endif:
*Option: HT_PATSIZE_6x6_M
{
*rcNameID: =HT_DITHER6X6_DISPLAY
}
*Option: HT_PATSIZE_8x8_M
{
*rcNameID: =HT_DITHER8X8_DISPLAY
}
}
*Feature: Memory
{
*rcNameID: =PRINTER_MEMORY_DISPLAY
*DefaultOption: 1024KB
*Option: 1024KB
{
*Name: "1MB"
*MemoryConfigKB: PAIR(1024, 700)
}
*Option: 2048KB
{
*Name: "2MB"
*MemoryConfigKB: PAIR(2048, 1645)
}
*Option: 3072KB
{
*Name: "3MB"
*MemoryConfigKB: PAIR(3072, 2590)
}
*Option: 4096KB
{
*Name: "4MB"
*MemoryConfigKB: PAIR(4096, 3535)
}
*Option: 5120KB
{
*Name: "5MB"
*MemoryConfigKB: PAIR(5120, 4480)
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1B>E<1B>&l0S<1B>*r0F"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<1B>*b0M<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>E"
}
*Command: CmdCopies
{
*Order: DOC_SETUP.9
*Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
}
*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
*MemoryUsage: LIST(FONT, RASTER, VECTOR)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 300
*YMoveUnit: 300
*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
*Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,6300]{max_repeat((DestYRel / 2) )}"Y" }
*Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,6300]{max_repeat((DestYRel / 2) )}"Y" }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<00>" }
*Command: CmdUniDirectionOff { *Cmd : "<00>" }
*Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
*Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
*Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultFont: 136
*DefaultCTT: 0
*CharPosition: BASELINE
*DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153)
*FontCartridge: FC1
{
*rcCartridgeNameID: 322
*Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
}
*FontCartridge: FC2
{
*rcCartridgeNameID: 323
*Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
+ 75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
+ 91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
}
*FontCartridge: FC3
{
*rcCartridgeNameID: 324
*Fonts: LIST(31,32,33,34,35,36)
}
*FontCartridge: FC4
{
*rcCartridgeNameID: 325
*Fonts: LIST(37,38,39,40,41,42,43)
}
*FontCartridge: FC5
{
*rcCartridgeNameID: 326
*Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
}
*FontCartridge: FC6
{
*rcCartridgeNameID: 327
*Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
+ 144,145)
}
*FontCartridge: FC7
{
*rcCartridgeNameID: 328
*Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64)
}
*FontCartridge: FC8
{
*rcCartridgeNameID: 329
*Fonts: LIST(14,19,20,21,22,23,24,25,26)
}
*FontCartridge: FC9
{
*rcCartridgeNameID: 330
*Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
}
*FontCartridge: FC10
{
*rcCartridgeNameID: 331
*Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
+ 247,248)
}
*FontCartridge: FC11
{
*rcCartridgeNameID: 332
*Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
+ 170,171,172,173,174,175,176,177,178,179,180,181,182)
}
*FontCartridge: FC12
{
*rcCartridgeNameID: 333
*Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
+ 199,200,201,202,203,204,205,206,207,208)
}
*MinFontID: 16534
*MaxFontID: 32768
*FontFormat: HPPCL
*Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
*Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
*Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
*Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
*Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
*Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
*Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
*MinGrayFill: 1
*MaxGrayFill: 100
*Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
*Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
*Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
*Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }