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.
 
 
 
 
 
 

588 lines
16 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "Xrdcs35.GPD"
*ModelName: "Xerox DCS 35"
*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.9
*Cmd: "<1B>&l0O"
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "<1B>&l1O"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 271
*OptionID: 271
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l0H"
}
}
*Option: Option2
{
*rcNameID: 276
*OptionID: 276
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l1H"
}
}
*Option: Option3
{
*rcNameID: 277
*OptionID: 277
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l3H"
}
}
*Option: Option4
{
*rcNameID: 410
*OptionID: 410
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l4A"
}
}
*Option: Option5
{
*rcNameID: 428
*OptionID: 428
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l6H"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "600 x 600 " =DOTS_PER_INCH
*DPI: PAIR(600, 600)
*TextDPI: PAIR(600, 600)
*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.1
*Cmd: "<1B>*t600R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4800, 6342)
*PrintableOrigin: PAIR(150, 108)
*CursorOrigin: PAIR(150, 104)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l2a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4800, 6342)
*PrintableOrigin: PAIR(150, 188)
*CursorOrigin: PAIR(116, 6530)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l2a8c1E"
}
}
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4800, 8200)
*PrintableOrigin: PAIR(150, 100)
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l3a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4800, 8140)
*PrintableOrigin: PAIR(150, 80)
*CursorOrigin: PAIR(100, 8220)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l3a8c1E"
}
}
}
}
*Option: TABLOID
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(6300, 10000)
*PrintableOrigin: PAIR(150, 100)
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l6a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(6300, 9920)
*PrintableOrigin: PAIR(150, 100)
*CursorOrigin: PAIR(100, 10020)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l6a8c1E"
}
}
}
}
*Option: A3
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(6714, 9680)
*PrintableOrigin: PAIR(150, 100)
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l27a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(6714, 9680)
*PrintableOrigin: PAIR(150, 100)
*CursorOrigin: PAIR(100, 9780)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l27a8c1E"
}
}
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4616, 6700)
*PrintableOrigin: PAIR(130, 100)
*CursorOrigin: PAIR(130, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l26a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4716, 6770)
*PrintableOrigin: PAIR(130, 100)
*CursorOrigin: PAIR(130, 6870)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l26a8c1E"
}
}
}
}
*Option: Option6
{
*rcNameID: 474
*OptionID: 474
*PageDimensions: PAIR(5100, 7800)
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4854, 7500)
*PrintableOrigin: PAIR(130, 100)
*CursorOrigin: PAIR(130, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l26a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4854, 7500)
*PrintableOrigin: PAIR(100, 100)
*CursorOrigin: PAIR(100, 7600)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l26a8c1E"
}
}
}
}
*Option: Option7
{
*rcNameID: 491
*OptionID: 491
*PageDimensions: PAIR(5102, 7441)
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4802, 7100)
*PrintableOrigin: PAIR(150, 100)
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l158a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4802, 7100)
*PrintableOrigin: PAIR(140, 100)
*CursorOrigin: PAIR(140, 7200)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l158a8c1E"
}
}
}
}
}
*Feature: MediaType
{
*rcNameID: =MEDIA_TYPE_DISPLAY
*DefaultOption: STANDARD
*Option: STANDARD
{
*rcNameID: =PLAIN_PAPER_DISPLAY
}
}
*Feature: OutputBin
{
*rcNameID: =OUTPUTBIN_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 658
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l1G"
}
}
*Option: Option2
{
*rcNameID: 431
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l2G"
}
}
}
*Feature: Halftone
{
*rcNameID: =HALFTONING_DISPLAY
*DefaultOption: HT_PATSIZE_AUTO
*Option: HT_PATSIZE_AUTO
{
*rcNameID: =HT_AUTO_SELECT_DISPLAY
}
*Option: HT_PATSIZE_SUPERCELL_M
{
*rcNameID: =HT_SUPERCELL_DISPLAY
}
*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)
}
}
*Feature: Duplex
{
*rcNameID: =TWO_SIDED_PRINTING_DISPLAY
*DefaultOption: NONE
*Option: NONE
{
*rcNameID: =NONE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l0S"
}
}
*Option: VERTICAL
{
*rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l1S"
}
}
*Option: HORIZONTAL
{
*rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l2S"
}
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&u600D"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<1B>*r0F<1B>*b0M<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>E"
}
*Command: CmdCopies
{
*Order: DOC_SETUP.3
*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: 600
*YMoveUnit: 600
*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat(DestXRel )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat(DestXRel )}"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
*Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
*Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"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: CmdEnableDRC { *Cmd : "<1B>*b3M" }
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*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,125,126,127,128,129,130,131,132,133)
}
*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(236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,
+ 252,253)
}
*FontCartridge: FC11
{
*rcCartridgeNameID: 332
*Fonts: LIST(154,155,156,157,158,159,160,161,162,168,169,170,171,172,173,174,
+ 175,176,177,178,179,180,181,182,183,184,185,186,187)
}
*FontCartridge: FC12
{
*rcCartridgeNameID: 333
*Fonts: LIST(188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,
+ 204,205,206,207,208,209,210,211,212,213)
}
*MinFontID: 16534
*MaxFontID: 32768
*FontFormat: HPPCL_RES
*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}"A" }
*Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
*Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
*Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }