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.
 
 
 
 
 
 

768 lines
21 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "LXOPEPL.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*Include: "ttfsub.gpd"
*ModelName: "Lexmark Optra E+ (MS)"
*MasterUnits: PAIR(1200, 1200)
*ResourceDLL: "lmpclres.dll"
*PrinterType: PAGE
*MaxCopies: 99
*PrintRate: 6
*PrintRatePPM: 6
*PrintRateUnit: PPM
*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: UPPER
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l1H"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l2H"
}
}
*Option: ENVMANUAL
{
*rcNameID: =ENV_MANUAL_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l3H"
}
}
*Option: LOWER
{
*rcNameID: =LOWER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l4H"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option2
*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(9580, 12800)
*PrintableOrigin: PAIR(420, 200)
*CursorOrigin: PAIR(300, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9680, 12700)
*PrintableOrigin: PAIR(320, 300)
*CursorOrigin: PAIR(200, 13000)
*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(9480, 16420)
*PrintableOrigin: PAIR(420, 180)
*CursorOrigin: PAIR(300, 180)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9680, 16320)
*PrintableOrigin: PAIR(320, 240)
*CursorOrigin: PAIR(200, 16600)
*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(7980, 12200)
*PrintableOrigin: PAIR(420, 200)
*CursorOrigin: PAIR(300, 180)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(8180, 12100)
*PrintableOrigin: PAIR(320, 300)
*CursorOrigin: PAIR(200, 12400)
*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(9488, 13628)
*PrintableOrigin: PAIR(280, 200)
*CursorOrigin: PAIR(168, 180)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9424, 13538)
*PrintableOrigin: PAIR(300, 310)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(9424, 13536)
*PrintableOrigin: PAIR(300, 312)
}
}
*CursorOrigin: PAIR(200, 13828)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
}
}
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 2125
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(6264, 9520)
*PrintableOrigin: PAIR(420, 202)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(6264, 9516)
*PrintableOrigin: PAIR(420, 204)
}
}
*CursorOrigin: PAIR(300, 160)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l13a8c1E<1B>*p0x0Y<1B>*c0t3838x5762Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(6474, 9372)
*PrintableOrigin: PAIR(320, 252)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(6472, 9372)
}
}
*CursorOrigin: PAIR(200, 9724)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l13a8c1E<1B>*p0x0Y<1B>*c0t5594x3958Y"
}
}
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 3198
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(7884, 11740)
*PrintableOrigin: PAIR(420, 202)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(7884, 11736)
*PrintableOrigin: PAIR(420, 204)
}
}
*CursorOrigin: PAIR(302, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t4802x7094Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(8082, 11640)
*PrintableOrigin: PAIR(320, 252)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(8080, 11640)
}
}
*CursorOrigin: PAIR(160, 11944)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t6998x4970Y"
}
}
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4344, 11000)
*PrintableOrigin: PAIR(312, 200)
*CursorOrigin: PAIR(312, 160)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4548, 10920)
*PrintableOrigin: PAIR(204, 240)
*CursorOrigin: PAIR(200, 11196)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
}
}
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4628, 9992)
*PrintableOrigin: PAIR(284, 200)
*CursorOrigin: PAIR(284, 160)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x5995Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4796, 9920)
*PrintableOrigin: PAIR(200, 236)
*CursorOrigin: PAIR(200, 10192)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5948x2878Y"
}
}
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(7010, 10416)
*PrintableOrigin: PAIR(360, 204)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(7008, 10416)
}
}
*CursorOrigin: PAIR(286, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4231x6250Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(7134, 10344)
*PrintableOrigin: PAIR(320, 240)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(7132, 10344)
}
}
*CursorOrigin: PAIR(200, 10624)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6202x4352Y"
}
}
}
}
*Option: ENV_B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(7670, 11408)
*PrintableOrigin: PAIR(360, 200)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(7668, 11408)
}
}
*CursorOrigin: PAIR(286, 160)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4630x6893Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(7794, 11336)
*PrintableOrigin: PAIR(320, 236)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(7792, 11336)
}
}
*CursorOrigin: PAIR(200, 11608)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6725x4750Y"
}
}
}
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 268
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=OFF<0A>@PJL SET ECONOMODE=OFF<0A>"
}
}
*Option: Option2
{
*rcNameID: 284
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=OFF<0A>"
}
}
*Option: Option3
{
*rcNameID: 285
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=ON<0A>"
}
}
*Option: Option4
{
*rcNameID: 294
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET ECONOMODE=OFF<0A>"
}
}
*Option: Option5
{
*rcNameID: 295
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET ECONOMODE=ON<0A>"
}
}
}
*Feature: PrintDensity
{
*rcNameID: =PRINTDENSITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 291
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "@PJL SET DENSITY=1<0A>"
}
}
*Option: Option2
{
*rcNameID: 292
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "@PJL SET DENSITY=3<0A>"
}
}
*Option: Option3
{
*rcNameID: 293
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "@PJL SET DENSITY=5<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: 1024KB
{
*Name: "1MB"
*MemoryConfigKB: PAIR(1024, 650)
}
*Option: 2048KB
{
*Name: "2MB"
*MemoryConfigKB: PAIR(2048, 1650)
}
*Option: 3072KB
{
*Name: "3MB"
*MemoryConfigKB: PAIR(3072, 2650)
}
*Option: 4096KB
{
*Name: "4MB"
*MemoryConfigKB: PAIR(4096, 3650)
}
*Option: 5120KB
{
*Name: "5MB"
*MemoryConfigKB: PAIR(5120, 4650)
}
*Option: 6144KB
{
*Name: "6MB"
*MemoryConfigKB: PAIR(6144, 5650)
}
}
*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>"
}
}
}
*switch: Memory
{
*case: 1024KB
{
*Command: CmdStartDoc
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&u600D<1B>*r3F"
}
*RotateRaster?: FALSE
}
*case: 2048KB
{
*Command: CmdStartDoc
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&u600D<1B>*r3F"
}
*RotateRaster?: FALSE
}
*case: 3072KB
{
*Command: CmdStartDoc
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&u600D<1B>*r3F"
}
*RotateRaster?: FALSE
}
*default:
{
*Command: CmdStartDoc
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&u600D<1B>*r0F"
}
*RotateRaster?: TRUE
}
}
*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,99]{NumOfCopies}"X"
}
*RotateCoordinate?: 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 / 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
*TTFSEnabled?: TRUE
*DefaultFont: 1
*DefaultCTT: 0
*CharPosition: BASELINE
*DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,20,21,
+ 22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,
+ 38,39,40,41,42,43,44,45,46,47,48,49,50,51,52)
*MinFontID: 16534
*MaxFontID: 32768
*switch: Resolution
{
*case: Option1
{
*FontFormat: HPPCL_OUTLINE
}
*case: Option2
{
*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: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
*Command: CmdSelectBlackBrush { *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" }