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.
 
 
 
 
 
 

464 lines
12 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.0"
*GPDFileName: "EPST800P.GPD"
*Include: "StdNames.gpd"
*ModelName: "Epson Stylus 800+ ESC/P 2"
*MasterUnits: PAIR(720, 720)
*ResourceDLL: "escp2res.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.3
*Cmd: "<1B19>1"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B19>1"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "360 x 360 " =DOTS_PER_INCH
*DPI: PAIR(360, 360)
*TextDPI: PAIR(360, 360)
*PinsPerLogPass: 24
*MinStripBlankPixels: 1
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 170
*Command: CmdSendBlockData { *Cmd : "<1B>.<010A0A18>" %l{(RasterDataWidthInBytes * 8) } }
*Command: CmdEndBlockData { *Cmd : "<0D>" }
}
*Option: Option2
{
*Name: "360 x 180 " =DOTS_PER_INCH
*DPI: PAIR(360, 180)
*TextDPI: PAIR(360, 180)
*PinsPerLogPass: 24
*MinStripBlankPixels: 1
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 140
*Command: CmdSendBlockData { *Cmd : "<1B>.<01140A18>" %l{(RasterDataWidthInBytes * 8) } }
*Command: CmdEndBlockData { *Cmd : "<0D>" }
}
*Option: Option3
{
*Name: "180 x 180 " =DOTS_PER_INCH
*DPI: PAIR(180, 180)
*TextDPI: PAIR(180, 180)
*PinsPerLogPass: 24
*MinStripBlankPixels: 1
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>.<01141418>" %l{(RasterDataWidthInBytes * 8) } }
*Command: CmdEndBlockData { *Cmd : "<0D>" }
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5760, 7432)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 7428)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(5756, 7428)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200>x<0F1B>(c<0400>+<00B00E>"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5760, 9592)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 9588)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(5756, 9588)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200B0131B>(c<0400>+<00E812>"
}
}
*Option: Option3
{
*rcNameID: 270
*PageDimensions: PAIR(5954, 8416)
*PrintableArea: PAIR(5760, 7928)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 7924)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(5756, 7924)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200>p<101B>(c<0400>+<00A80F>"
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4026, 5466)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4026, 5464)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(4024, 5464)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200A10B1B>(c<0400>+<00D90A>"
}
}
*Option: Option5
{
*rcNameID: 271
*PageDimensions: PAIR(5954, 4198)
*PrintableArea: PAIR(5760, 3710)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 3708)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(5756, 3708)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200>3<081B>(c<0400>+<00>k<07>"
}
}
*Option: STATEMENT
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(3790, 5632)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(3790, 5628)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(3788, 5628)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200F40B1B>(c<0400>+<00>,<0B>"
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5050, 7072)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5050, 7068)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(5048, 7068)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200C40E1B>(c<0400>+<00FC0D>"
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2802, 6352)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2802, 6348)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(2800, 6348)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200>\<0D1B>(c<0400>+<00940C>"
}
}
*Option: Option9
{
*rcNameID: 272
*PageDimensions: PAIR(3118, 6236)
*PrintableArea: PAIR(2946, 5748)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2946, 5744)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(2944, 5744)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200>-<0C1B>(c<0400>+<00>e<0B>"
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4422, 6006)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4422, 6004)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(4420, 6004)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200AF0C1B>(c<0400>+<00E70B>"
}
}
*Option: Option11
{
*rcNameID: 273
*PageDimensions: PAIR(2979, 4196)
*PrintableArea: PAIR(2806, 3708)
*PrintableOrigin: PAIR(86, 86)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2806, 3704)
*PrintableOrigin: PAIR(86, 88)
}
*case: Option3
{
*PrintableArea: PAIR(2804, 3704)
*PrintableOrigin: PAIR(88, 88)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200>2<081B>(c<0400>+<00>j<07>"
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(720, 720)
*MaxSize: PAIR(6944, 15362)
*MaxPrintableWidth: 5760
*MinLeftMargin: 86
*CenterPrintable?: FALSE
*TopMargin: 86
*BottomMargin: 392
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(C<0200>" %l{(PhysPaperLength / 2) }"<1B>(c<0400>+<00>" %l{((PhysPaperLength - 400) / 2) }
+
}
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 283
}
*Option: Option2
{
*rcNameID: 284
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>U<00>"
}
}
*Option: Option3
{
*rcNameID: 285
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>U<01>"
}
}
}
*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>@<1B>(G<0100011B>(U<01000A1B>r<00>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>@"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*TextCaps: LIST(TC_RA_ABLE)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(FAVOR_LF)
*MaxLineSpacing: 255
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 360
*YMoveUnit: 360
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 2) } }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>(V<0200>" %l{(DestY / 2) } }
*Command: CmdSetLineSpacing { *Cmd : "<1B>+" %c[0,255]{(LinefeedSpacing / 2) } }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<0000>" }
*Command: CmdDisableCompression { *Cmd : "<0000>" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
*CursorYAfterSendBlockData: NO_MOVE
*DefaultCTT: 0