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.
 
 
 
 
 
 

365 lines
8.8 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "LX1020CM.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "Lexmark 1020 Color Jetprinter (Mono)"
*MasterUnits: PAIR(300, 300)
*ResourceDLL: "lmikjres.dll"
*PrinterType: SERIAL
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
}
*Option: LANDSCAPE_CC270
{
*rcNameID: =LANDSCAPE_DISPLAY
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: AUTO
*Option: AUTO
{
*rcNameID: =AUTO_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l1H"
}
}
*Option: ENVMANUAL
{
*rcNameID: =ENV_MANUAL_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l3H"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "300 x 300 " =DOTS_PER_INCH
*DPI: PAIR(300, 300)
*TextDPI: PAIR(300, 300)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rC" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>*t300R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2400, 3074)
*PrintableOrigin: PAIR(75, 38)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l2A"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2400, 3974)
*PrintableOrigin: PAIR(75, 38)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l3A"
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2369, 3281)
*PrintableOrigin: PAIR(75, 38)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l26A"
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1599, 2256)
*PrintableOrigin: PAIR(75, 75)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l13A"
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2001, 2811)
*PrintableOrigin: PAIR(75, 75)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l12A"
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2025, 2924)
*PrintableOrigin: PAIR(75, 38)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l1A"
}
}
*Option: ENV_MONARCH
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1014, 2100)
*PrintableOrigin: PAIR(75, 75)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l27A"
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1089, 2700)
*PrintableOrigin: PAIR(75, 75)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l27A"
}
}
*Option: ENV_9
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1014, 2514)
*PrintableOrigin: PAIR(75, 75)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l27A"
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1149, 2498)
*PrintableOrigin: PAIR(75, 30)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l6d0e26P"
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1789, 2581)
*PrintableOrigin: PAIR(75, 50)
*CursorOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l8d0e51P"
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(300, 300)
*MaxSize: PAIR(2550, 3900)
*MaxPrintableWidth: 2400
*MinLeftMargin: 75
*CenterPrintable?: FALSE
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l12d0e" %d{(PhysPaperLength / 25) }"P"
}
}
}
*Feature: MediaType
{
*rcNameID: =MEDIA_TYPE_DISPLAY
*DefaultOption: STANDARD
*Option: STANDARD
{
*rcNameID: =PLAIN_PAPER_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&b10T"
}
}
*Option: TRANSPARENCY
{
*rcNameID: =TRANSPARENCY_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&k3W<1B>*o2Q"
}
}
*Option: GLOSSY
{
*rcNameID: =GLOSSY_PAPER_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&k3W<1B>*o2Q"
}
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 259
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(s2Q<1B>*r2Q"
}
}
*Option: Option2
{
*rcNameID: 260
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(s0Q<1B>*r0Q"
}
}
*Option: Option3
{
*rcNameID: 261
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q"
}
}
}
*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
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1B>E<1B>&l0O<1B>&l0L<1B>*r1U"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>E"
}
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*Cmd: "<0D>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST()
}
}
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 300
*YMoveUnit: 300
*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{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>" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*LookAheadRegion: 180