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.
 
 
 
 
 
 

632 lines
18 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "DC5100.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "Digital DEClaser 5100 (PCL)"
*MasterUnits: PAIR(1200, 1200)
*ResourceDLL: "pcl5eres.dll"
*PrinterType: PAGE
*MaxCopies: 32767
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l0O"
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l1O"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 271
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l0H"
}
}
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l4H"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l2H"
}
}
*Option: LOWER
{
*rcNameID: =LOWER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l1H"
}
}
*Option: ENVFEED
{
*rcNameID: =ENV_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l6H"
}
}
*Option: LARGECAPACITY
{
*rcNameID: =LARGE_CAP_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l5H"
}
}
}
*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.6
*Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
}
}
*Option: Option2
{
*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.6
*Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9600, 12648)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(300, 180)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9760, 12688)
*PrintableOrigin: PAIR(200, 272)
*CursorOrigin: PAIR(200, 12960)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
}
}
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 5230
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9600, 16248)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(300, 180)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9760, 16284)
*PrintableOrigin: PAIR(200, 276)
*CursorOrigin: PAIR(200, 16560)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
}
}
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(8100, 12048)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(300, 180)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(8220, 12080)
*PrintableOrigin: PAIR(240, 280)
*CursorOrigin: PAIR(200, 12360)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
}
}
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4249
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9292, 13476)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(300, 180)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9464, 13516)
*PrintableOrigin: PAIR(220, 272)
*CursorOrigin: PAIR(200, 13788)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
}
}
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4296, 10800)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(300, 160)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6648Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4356, 10800)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(200, 11100)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
}
}
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4596, 9782)
*PrintableOrigin: PAIR(300, 460)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4596, 9780)
}
}
*CursorOrigin: PAIR(300, 160)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x6043Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4596, 9792)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(200, 10092)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
}
}
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(7036, 10224)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(300, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6254Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(7056, 10224)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(200, 10524)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
}
}
}
}
*Option: ENV_MONARCH
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(3996, 8400)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(300, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5160Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4056, 8400)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(200, 8700)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2554Y"
}
}
}
}
*Option: ENV_B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(7716, 11208)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(300, 160)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4630x6893Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(7716, 11208)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(200, 11508)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6725x4750Y"
}
}
}
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 312
}
*Option: Option2
{
*rcNameID: 313
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=LIGHT<0A>"
}
}
*Option: Option3
{
*rcNameID: 314
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=MEDIUM<0A>"
}
}
*Option: Option4
{
*rcNameID: 315
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=DARK<0A>"
}
}
*Option: Option5
{
*rcNameID: 316
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=OFF<0A>"
}
}
}
*Feature: Halftone
{
*rcNameID: =HALFTONING_DISPLAY
*DefaultOption: HT_PATSIZE_AUTO
*Option: HT_PATSIZE_AUTO
{
*rcNameID: =HT_AUTO_SELECT_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: 2048KB
*Option: 2048KB
{
*Name: "2MB"
*MemoryConfigKB: PAIR(2048, 1350)
}
*Option: 6144KB
{
*Name: "6MB"
*MemoryConfigKB: PAIR(6144, 4950)
}
*Option: 10240KB
{
*Name: "10MB"
*MemoryConfigKB: PAIR(10240, 8550)
}
*Option: 14336KB
{
*Name: "14MB"
*MemoryConfigKB: PAIR(14336, 12150)
}
*Option: 18432KB
{
*Name: "18MB"
*MemoryConfigKB: PAIR(18432, 15750)
}
*Option: 22528KB
{
*Name: "22MB"
*MemoryConfigKB: PAIR(22528, 19350)
}
*Option: 26624KB
{
*Name: "26MB"
*MemoryConfigKB: PAIR(26624, 22950)
}
*Option: 34816KB
{
*Name: "34MB"
*MemoryConfigKB: PAIR(34816, 30150)
}
*Option: 51200KB
{
*Name: "50MB"
*MemoryConfigKB: PAIR(51200, 44550)
}
*Option: 67584KB
{
*Name: "66MB"
*MemoryConfigKB: PAIR(67584, 58950)
}
}
*Feature: PageProtect
{
*rcNameID: =PAGE_PROTECTION_DISPLAY
*DefaultOption: OFF
*Option: ON
{
*rcNameID: =ON_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.1
*Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=LETTER<0A>"
}
}
*Option: OFF
{
*rcNameID: =OFF_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.1
*Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>"
}
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&u600D<1B>*r0F"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<1B>*b0M<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>E<1B>%%-12345X"
}
*Command: CmdCopies
{
*Order: DOC_SETUP.13
*Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
}
*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
*MemoryUsage: LIST(FONT)
*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 / 2) }"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
*Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
*Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(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(136,138,146,147,148,149,150,151,152,153,154,155,156,157,164,165,
+ 166,196,197,198,199,200,201,202,203,209,210,211,212,213,214,215,
+ 216,217,218,219,220,221,222,223,224,225,226,227,228,229,230)
*MinFontID: 16534
*MaxFontID: 32768
*FontFormat: HPPCL_OUTLINE
*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" }