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.
 
 
 
 
 
 

442 lines
10 KiB

*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.00"
*GPDFileName: "CSCP210J.GPD"
*Include: "STDNAMES.GPD"
*CodePage: 1252
*ModelName: "CASIO CP-2100"
*MasterUnits: PAIR(1200, 1200)
*ResourceDLL: "CAPPLRES.DLL"
*PrinterType: PAGE
*MaxCopies: 99
*PrintRate: 12
*PrintRateUnit: PPM
*Macros: CAPPLCBID
{
CM_XM_ABS : 20
CM_YM_ABS : 22
AUTOFEED : 30
PS_B4 : 41
PS_A4 : 42
PS_B5 : 43
PS_LETTER : 44
PS_POSTCARD : 45
PS_FREE : 48
CBID_PORT : 50
CBID_LAND : 51
PRN_2000 : 60
OPT_NOSET : Option1
OPT_B4 : Option3
OPT_A4 : Option4
OPT_B5 : Option5
OPT_LETTER : Option6
OPT_POSTCARD : Option7
}
*Command: CmdCopies
{
*Order: DOC_SETUP.60
*Cmd: "<1B>%<1" %2d[1,99]{NumOfCopies }
}
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.58
*CallbackID: =CBID_PORT
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.58
*CallbackID: =CBID_LAND
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: AUTO
*Option: Option3
{
*rcNameID: 259
*Command: CmdSelect
{
*Order: DOC_SETUP.55
*Cmd: "<1B>@)0"
}
}
*Option: Option4
{
*rcNameID: 260
*Command: CmdSelect
{
*Order: DOC_SETUP.55
*Cmd: "<1B>@)1"
}
}
*Option: MANUAL
{
*rcNameID: 264
*Command: CmdSelect
{
*Order: DOC_SETUP.55
*Cmd: "<1B>@)3"
}
}
*Option: Option2
{
*rcNameID: 258
*Command: CmdSelect
{
*Order: DOC_SETUP.55
*Cmd: "<1B>@)2"
}
}
*Option: AUTO
{
*rcNameID: 263
*Command: CmdSelect
{
*Order: DOC_SETUP.55
*CallbackID: =AUTOFEED
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "240 x 240 dots per inch"
*DPI: PAIR(240, 240)
*TextDPI: PAIR(240, 240)
EXTERN_GLOBAL: *XMoveUnit: 240
EXTERN_GLOBAL: *YMoveUnit: 240
*MinStripBlankPixels: 128
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
EXTERN_GLOBAL: *SendMultipleRows?: TRUE
*SpotDiameter: 100
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*PrintableArea: PAIR(9680, 12720)
*PrintableOrigin: PAIR(400, 120)
*% 2001/03/01 ->
*switch: Orientation
{
*case: PORTRAIT
{
*CursorOrigin: PAIR(400, 120)
}
*case: LANDSCAPE_CC90
{
*CursorOrigin: PAIR(400, 12840)
}
}
*% 2001/03/01 <-
*Command: CmdSelect
{
*Order: DOC_SETUP.50
*CallbackID: =PS_LETTER
}
}
*Option: A4
{
*rcNameID: =A4_DISPLAY
*PrintableArea: PAIR(9360, 13550)
*PrintableOrigin: PAIR(405, 240)
*% 2001/03/01 ->
*switch: Orientation
{
*case: PORTRAIT
{
*CursorOrigin: PAIR(405, 240)
}
*case: LANDSCAPE_CC90
{
*CursorOrigin: PAIR(405, 13790)
}
}
*% 2001/03/01 <-
*Command: CmdSelect
{
*Order: DOC_SETUP.50
*CallbackID: =PS_A4
}
}
*Option: B4
{
*rcNameID: =B4_DISPLAY
*PrintableArea: PAIR(11520, 16670)
*PrintableOrigin: PAIR(405, 240)
*% 2001/03/01 ->
*switch: Orientation
{
*case: PORTRAIT
{
*CursorOrigin: PAIR(405, 240)
}
*case: LANDSCAPE_CC90
{
*CursorOrigin: PAIR(405, 16910)
}
}
*% 2001/03/01 <-
*Command: CmdSelect
{
*Order: DOC_SETUP.50
*CallbackID: =PS_B4
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*PrintableArea: PAIR(8080, 11660)
*PrintableOrigin: PAIR(405, 240)
*% 2001/03/01 ->
*switch: Orientation
{
*case: PORTRAIT
{
*CursorOrigin: PAIR(405, 240)
}
*case: LANDSCAPE_CC90
{
*CursorOrigin: PAIR(405, 11900)
}
}
*% 2001/03/01 <-
*Command: CmdSelect
{
*Order: DOC_SETUP.50
*CallbackID: =PS_B5
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*PrintableArea: PAIR(4160, 6480)
*PrintableOrigin: PAIR(400, 160)
*% 2001/03/01 ->
*switch: Orientation
{
*case: PORTRAIT
{
*CursorOrigin: PAIR(400, 160)
}
*case: LANDSCAPE_CC90
{
*CursorOrigin: PAIR(400, 6640)
}
}
*% 2001/03/01 <-
*Command: CmdSelect
{
*Order: DOC_SETUP.50
*CallbackID: =PS_POSTCARD
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(4255, 6995)
*MaxSize: PAIR(12145, 17200)
*MaxPrintableWidth: 11345
*MinLeftMargin: 400
*CenterPrintable?: FALSE
*CustCursorOriginX: %d{400}
*% 2001/03/01 ->
*% *CustCursorOriginY: %d{240}
*switch: Orientation
{
*case: PORTRAIT
{
*CustCursorOriginY: %d{240}
}
*case: LANDSCAPE_CC90
{
*CustCursorOriginY: %d{PhysPaperLength - 240}
}
}
*% 2001/03/01 <-
*CustPrintableOriginX: %d{400}
*CustPrintableOriginY: %d{240}
*CustPrintableSizeX: %d{PhysPaperWidth - 800}
*CustPrintableSizeY: %d{PhysPaperLength - 480}
*Command: CmdSelect
{
*Order: DOC_SETUP.50
*CallbackID: =PS_FREE
*Params: LIST(PhysPaperWidth,PhysPaperLength)
}
}
}
*Feature: Halftone
{
*rcNameID: =HALFTONING_DISPLAY
*DefaultOption: HT_PATSIZE_AUTO
*Option: HT_PATSIZE_AUTO
{
*rcNameID: =HT_AUTO_SELECT_DISPLAY
}
*Option: HT_PATSIZE_SUPERCELL_M
{
*rcNameID: =HT_SUPERCELL_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: 1024KB
*Option: 1024KB
{
*Name: "1MB"
*MemoryConfigKB: PAIR(1024, 700)
}
}
*Feature: MPFSetting
{
*FeatureType: DOC_PROPERTY
*rcNameID: 5500
*DefaultOption: =OPT_NOSET
*Option: =OPT_NOSET
{
*rcNameID: 5010
}
*Option: =OPT_B4
{
*rcNameID: =B4_DISPLAY
*Constraints: InputBin.MANUAL
*Constraints: InputBin.Option2
*Constraints: InputBin.Option3
*Constraints: InputBin.Option4
}
*Option: =OPT_A4
{
*rcNameID: =A4_DISPLAY
*Constraints: InputBin.MANUAL
*Constraints: InputBin.Option2
*Constraints: InputBin.Option3
*Constraints: InputBin.Option4
}
*Option: =OPT_B5
{
*rcNameID: =B5_DISPLAY
*Constraints: InputBin.MANUAL
*Constraints: InputBin.Option2
*Constraints: InputBin.Option3
*Constraints: InputBin.Option4
}
*Option: =OPT_LETTER
{
*rcNameID: =LETTER_DISPLAY
*Constraints: InputBin.MANUAL
*Constraints: InputBin.Option2
*Constraints: InputBin.Option3
*Constraints: InputBin.Option4
}
*Option: =OPT_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*Constraints: InputBin.MANUAL
*Constraints: InputBin.Option2
*Constraints: InputBin.Option3
*Constraints: InputBin.Option4
}
}
*% 2001/03/01 ->
*% *RotateCoordinate?: FALSE
*RotateCoordinate?: TRUE
*% 2001/03/01 <-
*RotateRaster?: TRUE
*RotateFont?: FALSE
*TextCaps: LIST(TC_RA_ABLE)
*MemoryUsage: LIST(FONT)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*XMoveThreshold: 0
*YMoveThreshold: 0
*EjectPageWithFF?: TRUE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultCTT: 0
*Command: CmdStartJob
{
*Order: JOB_SETUP.1
*CallbackID: =PRN_2000
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.10
*Cmd: "<1B>c1"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.10
*Cmd: "<1B><5C>9<0000><0000>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.10
*Cmd: "<1B>c1"
}
*Command: CmdXMoveAbsolute
{
*CallbackID: =CM_XM_ABS
*Params: LIST(DestX,DestY)
}
*Command: CmdYMoveAbsolute {
*CallbackID: =CM_YM_ABS
*Params: LIST(DestX,DestY)
}
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdSendBlockData
{
*Cmd: "<1B>w" %m[1,2047]{RasterDataWidthInBytes}
+ %m[1,16383]{RasterDataHeightInPixels}
}