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.
 
 
 
 
 
 

708 lines
20 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.0"
*GPDFileName: "LXOS1275.GPD"
*Include: "StdNames.gpd"
*Include: "ttfsub.gpd"
*ModelName: "Lexmark Optra SC 1275 (MS)"
*MasterUnits: PAIR(1200, 1200)
*ResourceDLL: "lmpclres.dll"
*PrinterType: PAGE
*MaxCopies: 99
*PrintRate: 12
*PrintRatePPM: 12
*PrintRateUnit: PPM
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l0O"
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l1O"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: UPPER
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "<1B>&l1H"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "<1B>&l2H"
}
}
*Option: LOWER
{
*rcNameID: =LOWER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "<1B>&l4H"
}
}
*Option: Option4
{
*rcNameID: 267
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "<1B>&l8H"
}
}
}
*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>*v7S<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rC" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*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>*v7S<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rC" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*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: 1028
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9600, 12800)
*PrintableOrigin: PAIR(300, 200)
*CursorOrigin: PAIR(300, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9800, 12720)
*PrintableOrigin: PAIR(200, 240)
*CursorOrigin: PAIR(200, 13000)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
}
}
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1692
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9600, 16400)
*PrintableOrigin: PAIR(300, 200)
*CursorOrigin: PAIR(300, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9800, 16320)
*PrintableOrigin: PAIR(200, 240)
*CursorOrigin: PAIR(200, 16600)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
}
}
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1063
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9360, 13628)
*PrintableOrigin: PAIR(288, 200)
*CursorOrigin: PAIR(288, 160)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9524, 13556)
*PrintableOrigin: PAIR(200, 236)
*CursorOrigin: PAIR(200, 13828)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
}
}
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 3198
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(8000, 11740)
*PrintableOrigin: PAIR(302, 202)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(7996, 11736)
*PrintableOrigin: PAIR(304, 204)
}
}
*CursorOrigin: PAIR(302, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t4802x7094Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(8200, 11660)
*PrintableOrigin: PAIR(202, 242)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(8196, 11656)
*PrintableOrigin: PAIR(204, 244)
}
}
*CursorOrigin: PAIR(200, 11944)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t6998x4970Y"
}
}
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(8100, 12200)
*PrintableOrigin: PAIR(300, 200)
*CursorOrigin: PAIR(300, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(8300, 12120)
*PrintableOrigin: PAIR(200, 240)
*CursorOrigin: PAIR(200, 12400)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
}
}
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 2125
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(6392, 9520)
*PrintableOrigin: PAIR(302, 202)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(6388, 9516)
*PrintableOrigin: PAIR(304, 204)
}
}
*CursorOrigin: PAIR(302, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l13a8c1E<1B>*p0x0Y<1B>*c0t3838x5762Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(6592, 9440)
*PrintableOrigin: PAIR(202, 242)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(6588, 9436)
*PrintableOrigin: PAIR(204, 244)
}
}
*CursorOrigin: PAIR(200, 9724)
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: "<1B>&l13a8c1E<1B>*p0x0Y<1B>*c0t5594x3958Y"
}
}
}
}
}
*Feature: ColorMode
{
*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
*DefaultOption: Color
*Option: Mono
{
*rcNameID: =MONO_DISPLAY
*DevNumOfPlanes: 1
*DevBPP: 1
*Color? : FALSE
}
*Option: Color
{
*rcNameID: =COLOR_DISPLAY
*DevNumOfPlanes: 3
*DevBPP: 1
*DrvBPP: 4
EXTERN_GLOBAL: *RasterSendAllData? : TRUE
*ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
*Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
*Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
*Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
*Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
*Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
*Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
*Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
*Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
*Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
*Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
*Command: CmdSelect
{
*Order: DOC_SETUP.16
*Cmd: "<1B>*r-3U"
}
}
*Option: 8bpp
{
*rcNameID: =8BPP_DISPLAY
*DevNumOfPlanes: 1
*DevBPP: 8
*DrvBPP: 8
*PaletteSize: 256
*PaletteProgrammable? : TRUE
*Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
+ "I" }
*Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
*Command: CmdSelect
{
*Order: DOC_SETUP.16
*Cmd: "<1B>*v1N<1B>*v1O<1B>*t0I<1B>*l184O<1B>*v6W<000108080808>"
}
}
*Option: 24bpp
{
*rcNameID: =24BPP_DISPLAY
*DevNumOfPlanes: 1
*DevBPP: 24
*DrvBPP: 24
*PaletteSize: 256
*PaletteProgrammable? : TRUE
*Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
+ "I" }
*Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
*Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
*Command: CmdSelect
{
*Order: DOC_SETUP.16
*Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<0003080808081B>*v0a0b0c7i255a255b255c0I<1B>*"
+ "o3W<060400>"
}
}
}
*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: 16384KB
*Option: 2048KB
{
*Name: "2MB"
*MemoryConfigKB: PAIR(2048, 1750)
}
*Option: 4096KB
{
*Name: "4MB"
*MemoryConfigKB: PAIR(4096, 3650)
}
*Option: 6144KB
{
*Name: "6MB"
*MemoryConfigKB: PAIR(6144, 5650)
}
*Option: 8192KB
{
*Name: "8MB"
*MemoryConfigKB: PAIR(8192, 8075)
}
*Option: 10240KB
{
*Name: "10MB"
*MemoryConfigKB: PAIR(10240, 10123)
}
*Option: 12288KB
{
*Name: "12MB"
*MemoryConfigKB: PAIR(12288, 12171)
}
*Option: 14336KB
{
*Name: "14MB"
*MemoryConfigKB: PAIR(14336, 12150)
}
*Option: 16384KB
{
*Name: "16MB"
*MemoryConfigKB: PAIR(16384, 13950)
}
*Option: 18432KB
{
*Name: "18MB"
*MemoryConfigKB: PAIR(18432, 15750)
}
*Option: 20480KB
{
*Name: "20MB"
*MemoryConfigKB: PAIR(20480, 17550)
}
*Option: 22528KB
{
*Name: "22MB"
*MemoryConfigKB: PAIR(22528, 19350)
}
*Option: 24576KB
{
*Name: "24MB"
*MemoryConfigKB: PAIR(24576, 21150)
}
*Option: 26624KB
{
*Name: "26MB"
*MemoryConfigKB: PAIR(26624, 22950)
}
*Option: 28672KB
{
*Name: "28MB"
*MemoryConfigKB: PAIR(28672, 24750)
}
*Option: 32768KB
{
*Name: "32MB"
*MemoryConfigKB: PAIR(32768, 28350)
}
*Option: 34816KB
{
*Name: "34MB"
*MemoryConfigKB: PAIR(34816, 30150)
}
*Option: 36864KB
{
*Name: "36MB"
*MemoryConfigKB: PAIR(36864, 31950)
}
*Option: 38912KB
{
*Name: "38MB"
*MemoryConfigKB: PAIR(38912, 33750)
}
*Option: 40960KB
{
*Name: "40MB"
*MemoryConfigKB: PAIR(40960, 35550)
}
*Option: 43008KB
{
*Name: "42MB"
*MemoryConfigKB: PAIR(43008, 37350)
}
*Option: 45056KB
{
*Name: "44MB"
*MemoryConfigKB: PAIR(45056, 39150)
}
*Option: 49152KB
{
*Name: "48MB"
*MemoryConfigKB: PAIR(49152, 43050)
}
*Option: 51200KB
{
*Name: "50MB"
*MemoryConfigKB: PAIR(51200, 44550)
}
*Option: 53248KB
{
*Name: "52MB"
*MemoryConfigKB: PAIR(53248, 46350)
}
*Option: 57344KB
{
*Name: "56MB"
*MemoryConfigKB: PAIR(57344, 49950)
}
*Option: 65536KB
{
*Name: "64MB"
*MemoryConfigKB: PAIR(65536, 57150)
}
*Option: 67584KB
{
*Name: "66MB"
*MemoryConfigKB: PAIR(67584, 58950)
}
*Option: 69632KB
{
*Name: "68MB"
*MemoryConfigKB: PAIR(69632, 60750)
}
*Option: 73728KB
{
*Name: "72MB"
*MemoryConfigKB: PAIR(73728, 64350)
}
*Option: 81920KB
{
*Name: "80MB"
*MemoryConfigKB: PAIR(81920, 71550)
}
*Option: 98304KB
{
*Name: "96MB"
*MemoryConfigKB: PAIR(98304, 85950)
}
}
*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: 2048KB
{
*Command: CmdStartDoc
{
*Order: DOC_SETUP.5
*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.11
*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" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*TTFSEnabled?: TRUE
*DefaultFont: 38
*DefaultCTT: 0
*CharPosition: BASELINE
*DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
+ 17,18,19,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
*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" }