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.
 
 
 
 
 
 

647 lines
16 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "CNBJC800.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "Canon Bubble-Jet BJC-800"
*MasterUnits: PAIR(720, 720)
*ResourceDLL: "cnbjcres.dll"
*PrinterType: SERIAL
*OutputOrderReversed?: TRUE
*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.4
*Cmd: "<1B>(l<010014>"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<010010>"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "360 x 360 " =DOTS_PER_INCH
*DPI: PAIR(360, 360)
*TextDPI: PAIR(360, 360)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"K" }
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>(d<020001>h"
}
}
*Option: Option2
{
*Name: "180 x 180 " =DOTS_PER_INCH
*DPI: PAIR(180, 180)
*TextDPI: PAIR(180, 180)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"K" }
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>(d<020000B4>"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
*PrintableArea: PAIR(5910, 7470)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5908, 7468)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>n<01>r"
}
}
*Option: Option2
{
*rcNameID: 259
*PageDimensions: PAIR(7920, 6120)
*PrintableArea: PAIR(7710, 5670)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(7708, 5668)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>P<01>r"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1004
*PrintableArea: PAIR(5910, 9630)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5908, 9628)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<03008C01>r"
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1006
*PrintableArea: PAIR(5010, 7110)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5008, 7108)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>i<01>r"
}
}
*Option: FOLIO
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1013
*PrintableArea: PAIR(5910, 8910)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5908, 8908)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<03008201>r"
}
}
*Option: TABLOID
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1002
*PrintableArea: PAIR(7710, 11790)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(7708, 11788)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300AA01>r"
}
}
*Option: A3
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1007
*PrintableArea: PAIR(8207, 11459)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(8206, 11458)
}
*case: Option2
{
*PrintableArea: PAIR(8204, 11456)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300A501>r"
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1008
*PrintableArea: PAIR(5744, 7967)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(5744, 7966)
}
*case: Option2
{
*PrintableArea: PAIR(5740, 7964)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>u<01>r"
}
}
*Option: Option9
{
*rcNameID: 260
*PageDimensions: PAIR(8416, 5954)
*PrintableArea: PAIR(8206, 5504)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(8204, 5500)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>Q<01>r"
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1010
*PrintableArea: PAIR(3988, 5504)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(3984, 5500)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>S<01>r"
}
}
*Option: B4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1011
*PrintableArea: PAIR(7076, 9868)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(7072, 9864)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<03008B01>r"
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1012
*PrintableArea: PAIR(4952, 6836)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4948, 6832)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>e<01>r"
}
}
*Option: 10X14
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1015
*PrintableArea: PAIR(6990, 9630)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(6988, 9628)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<03008C01>r"
}
}
*Option: Option14
{
*rcNameID: 261
*PageDimensions: PAIR(5760, 4320)
*PrintableArea: PAIR(5550, 3870)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5548, 3868)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>%<<01>r"
}
}
*Option: ENV_9
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1018
*RotateSize? : TRUE
*PrintableArea: PAIR(6184, 2476)
*PrintableOrigin: PAIR(130, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(6180, 2476)
*PrintableOrigin: PAIR(132, 152)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>'<01>r"
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1019
*RotateSize? : TRUE
*PrintableArea: PAIR(6630, 2664)
*PrintableOrigin: PAIR(130, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(6628, 2664)
*PrintableOrigin: PAIR(132, 152)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>)<01>r"
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1026
*RotateSize? : TRUE
*PrintableArea: PAIR(6024, 2808)
*PrintableOrigin: PAIR(130, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(6020, 2808)
*PrintableOrigin: PAIR(132, 152)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>+<01>r"
}
}
*Option: ENV_B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1033
*RotateSize? : TRUE
*PrintableArea: PAIR(6875, 4540)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(6874, 4540)
}
*case: Option2
{
*PrintableArea: PAIR(6872, 4536)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>E<01>r"
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1027
*RotateSize? : TRUE
*PrintableArea: PAIR(6284, 4276)
*PrintableOrigin: PAIR(130, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(6280, 4276)
*PrintableOrigin: PAIR(132, 152)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>@<01>r"
}
}
*Option: ENV_MONARCH
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1036
*RotateSize? : TRUE
*PrintableArea: PAIR(5190, 2344)
*PrintableOrigin: PAIR(130, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5188, 2340)
*PrintableOrigin: PAIR(132, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>'<01>r"
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1255
*MinSize: PAIR(2520, 2520)
*MaxSize: PAIR(8424, 15840)
*MaxPrintableWidth: 8208
*MinLeftMargin: 130
*CenterPrintable?: FALSE
*TopMargin: 90
*BottomMargin: 360
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>(g<0300>" %c{(PhysPaperLength / 72) }"<01>r"
}
}
}
*Feature: MediaType
{
*rcNameID: =MEDIA_TYPE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 271
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(c<010000>"
}
}
*Option: Option2
{
*rcNameID: 272
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(c<010001>"
}
}
*Option: Option3
{
*rcNameID: 273
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(c<010002>"
}
}
*Option: Option4
{
*rcNameID: 274
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(c<010003>"
}
}
*Option: Option5
{
*rcNameID: 275
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(c<010004>"
}
}
}
*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: 4
*DevBPP: 1
*DrvBPP: 4
*ColorPlaneOrder: LIST(BLACK, CYAN, MAGENTA, YELLOW)
*Command: CmdSendBlackData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"K" }
*Command: CmdSendCyanData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"C" }
*Command: CmdSendMagentaData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"M" }
*Command: CmdSendYellowData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"Y" }
}
}
*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>[K<0200000F1B>(a<010001>"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>(a<0100001B>(b<0100001B>@"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*TextCaps: LIST(TC_RA_ABLE)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE)
*YMoveThreshold: *
*switch: Resolution
{
*case: Option1
{
*YMoveUnit: 360
*Command: CmdYMoveRelDown { *Cmd : "<1B>(e<0200>" %m{DestYRel / 2 } }
}
*case: Option2
{
*YMoveUnit: 180
*Command: CmdYMoveRelDown { *Cmd : "<1B>(e<0200>" %m{DestYRel / 4 } }
}
}
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<1B>(b<010001>" }
*Command: CmdDisableCompression { *Cmd : "<1B>(b<010000>" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultCTT: 0