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.
 
 
 
 
 
 

659 lines
17 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.00"
*GPDFileName: "CNLC680J.GPD"
*Include: "STDNAMES.GPD"
*CodePage: 1252
*ModelName: "Canon BJC-680J LIPS4c"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "cnl4jres.dll"
*PrinterType: SERIAL
*MaxCopies: 255
*FontCartSlots: 2
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.9
*CallbackID: 2
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.9
*CallbackID: 3
*% Error: you must check if this command callback requires any parameters!
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: AUTO
*Option: AUTO
{
*rcNameID: =AUTO_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*CallbackID: 450
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "360 x 360 dots per inch"
*DPI: PAIR(360, 360)
*TextDPI: PAIR(360, 360)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
EXTERN_GLOBAL: *LookAheadRegion: 1
*SpotDiameter: 100
*Command: CmdSendBlockData
{
*CallbackID: 7
*Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
}
*Command: CmdSelect
{
*Order: JOB_SETUP.3
*CallbackID: 308
*% Error: you must check if this command callback requires any parameters!
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: A4
{
*rcNameID: =A4_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2833, 4058)
*PrintableOrigin: PAIR(72, 30)
*CursorOrigin: PAIR(72, 30)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 44
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2833, 4046)
*PrintableOrigin: PAIR(72, 42)
*CursorOrigin: PAIR(72, 4088)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 45
}
}
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1955, 2827)
*PrintableOrigin: PAIR(72, 30)
*CursorOrigin: PAIR(72, 30)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 46
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(1955, 2815)
*PrintableOrigin: PAIR(72, 42)
*CursorOrigin: PAIR(72, 2857)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 47
}
}
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2437, 3493)
*PrintableOrigin: PAIR(72, 30)
*CursorOrigin: PAIR(72, 30)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 52
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2437, 3481)
*PrintableOrigin: PAIR(72, 42)
*CursorOrigin: PAIR(72, 3523)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 53
}
}
}
}
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2916, 3810)
*PrintableOrigin: PAIR(72, 30)
*CursorOrigin: PAIR(72, 30)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 56
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2916, 3798)
*PrintableOrigin: PAIR(72, 42)
*CursorOrigin: PAIR(72, 3840)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 57
}
}
}
}
*Option: LEGAL
{
*rcNameID: =LEGAL_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2916, 4890)
*PrintableOrigin: PAIR(72, 30)
*CursorOrigin: PAIR(72, 30)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 58
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2916, 4878)
*PrintableOrigin: PAIR(72, 42)
*CursorOrigin: PAIR(72, 4920)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 59
}
}
}
}
*Option: EXECUTIVE
{
*rcNameID: =EXECUTIVE_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2466, 3630)
*PrintableOrigin: PAIR(72, 30)
*CursorOrigin: PAIR(72, 30)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 62
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2466, 3618)
*PrintableOrigin: PAIR(72, 42)
*CursorOrigin: PAIR(72, 3660)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 63
}
}
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1274, 1949)
*PrintableOrigin: PAIR(72, 30)
*CursorOrigin: PAIR(72, 30)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 48
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(1274, 1937)
*PrintableOrigin: PAIR(72, 42)
*CursorOrigin: PAIR(72, 1979)
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 49
}
}
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(1418, 1418)
*MaxSize: PAIR(3060, 5040)
*MaxPrintableWidth: 3060
*MinLeftMargin: 49
*CenterPrintable?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 40
*Params: LIST(PhysPaperWidth, PhysPaperLength)
}
*CustCursorOriginX: %d{72}
*CustCursorOriginY: %d{30}
*CustPrintableOriginX: %d{72}
*CustPrintableOriginY: %d{30}
*CustPrintableSizeX: %d{PhysPaperWidth - 144}
*CustPrintableSizeY: %d{PhysPaperLength - 152}
}
*case: LANDSCAPE_CC90
{
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*CallbackID: 41
*Params: LIST(PhysPaperWidth, PhysPaperLength)
}
*CustCursorOriginX: %d{72}
*CustCursorOriginY: %d{PhysPaperLength - 122}
*CustPrintableOriginX: %d{72}
*CustPrintableOriginY: %d{42}
*CustPrintableSizeX: %d{PhysPaperWidth - 144}
*CustPrintableSizeY: %d{PhysPaperLength - 164}
}
}
}
}
*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
*ColorPlaneOrder: LIST(RED, GREEN, BLUE)
*Command: CmdSelectBlackColor { *CallbackID: 360 }
*Command: CmdSelectBlueColor { *CallbackID: 361 }
*Command: CmdSelectGreenColor { *CallbackID: 362 }
*Command: CmdSelectCyanColor { *CallbackID: 363 }
*Command: CmdSelectRedColor { *CallbackID: 364 }
*Command: CmdSelectMagentaColor { *CallbackID: 365 }
*Command: CmdSelectYellowColor { *CallbackID: 366 }
*Command: CmdSelectWhiteColor { *CallbackID: 367 }
*Command: CmdSendRedData { *Cmd : "" }
*Command: CmdSendGreenData { *Cmd : "" }
*Command: CmdSendBlueData { *Cmd : "" }
*Command: CmdSelect
{
*Order: JOB_SETUP.2
*CallbackID: 200
}
}
*Option: 8bpp
{
*rcNameID: =8BPP_DISPLAY
*DevNumOfPlanes: 1
*DevBPP: 8
*DrvBPP: 8
*PaletteSize: 256
*PaletteProgrammable? : TRUE
*Command: CmdBeginPaletteDef
{
*Order: PAGE_SETUP.16
*Cmd: "^00"
}
*Command: CmdEndPaletteDef { *Cmd: "<1E>" }
*Command: CmdDefinePaletteEntry { *Cmd : %n[0,1000]{((RedValue * 200) / 51) } %n[0,1000]{((GreenValue * 200) / 51) } %n[0,1000]{((BlueValue * 200) / 51) } }
*Command: CmdBeginPaletteReDef { *Cmd: "^0" }
*Command: CmdEndPaletteReDef { *Cmd: "<1E>" }
*Command: CmdReDefinePaletteEntry { *Cmd : %n{PaletteIndexToProgram} %n[0,1000]{((RedValue * 200) / 51) } %n[0,1000]{((GreenValue * 200) / 51) } %n[0,1000]{((BlueValue * 200) / 51) } }
*Command: CmdSelectPaletteEntry
{
*CallbackID: 368
*Params: LIST(CurrentPaletteIndex)
}
*Command: CmdSelect
{
*Order: JOB_SETUP.2
*CallbackID: 202
}
}
*Option: 24bpp
{
*rcNameID: =24BPP_DISPLAY
*DevNumOfPlanes: 1
*DevBPP: 24
*DrvBPP: 24
*PaletteSize: 1
*PaletteProgrammable? : TRUE
EXTERN_GLOBAL: *MaxMultipleRowBytes: 262144
*Command: CmdDefinePaletteEntry { *Cmd: "" }
*Command: CmdReDefinePaletteEntry
{
*CallbackID: 369
*Params: LIST(RedValue, GreenValue, BlueValue)
}
*Command: CmdSelectPaletteEntry { *Cmd: "" }
*Command: CmdSelect
{
*Order: JOB_SETUP.2
*CallbackID: 201
}
}
}
*switch: ColorMode
{
*case: Color
{
*RasterSendAllData?: TRUE
*UseExpColorSelectCmd?: TRUE
}
}
*SendMultipleRows?: TRUE
*ChangeColorModeOnDoc?: FALSE
*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: 4096KB
*Option: 4096KB
{
*Name: "4MB"
*MemoryConfigKB: PAIR(4096, 3500)
}
*Option: 8192KB
{
*Name: "8MB"
*MemoryConfigKB: PAIR(8192, 7168)
}
}
*Command: CmdStartJob
{
*Order: JOB_SETUP.1
*CallbackID: 301
*% Error: you must check if this command callback requires any parameters!
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*CallbackID: 130
*% Error: you must check if this command callback requires any parameters!
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*CallbackID: 302
*% Error: you must check if this command callback requires any parameters!
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*CallbackID: 304
}
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*Cmd: "<0C>"
*% Error: you must check if this command callback requires any parameters!
}
*Command: CmdCopies
{
*Order: PAGE_SETUP.5
*Cmd: "<1B>[" %d[1,255]{NumOfCopies }"v"
}
*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_CR_90,TC_CR_ANY,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE)
}
*case: LANDSCAPE_CC90
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_CR_90,TC_CR_ANY,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE)
}
}
*MemoryUsage: LIST(FONT)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 360
*YMoveUnit: 360
*Command: CmdXMoveAbsolute
{
*CallbackID: 15
*Params: LIST(DestX)
}
*Command: CmdYMoveAbsolute
{
*CallbackID: 16
*Params: LIST(DestY)
}
*Command: CmdCR { *CallbackID: 18 }
*Command: CmdSetSimpleRotation
{
*CallbackID: 4
*Params: LIST(PrintDirInCCDegrees)
}
*EjectPageWithFF?: TRUE
*Command: CmdDisableCompression { *CallbackID: 12 }
*Command: CmdEnableTIFF4 { *CallbackID: 103 }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 40
*DefaultCTT: 0
*CharPosition: BASELINE
*DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,
+ 40,41,42,43)
*FontCartridge: FC1
{
*rcCartridgeNameID: 271
*Fonts: LIST(44,45)
}
*FontCartridge: FC2
{
*rcCartridgeNameID: 272
*Fonts: LIST(48,49)
}
*FontCartridge: FC3
{
*rcCartridgeNameID: 273
*Fonts: LIST(46,47)
}
*FontCartridge: FC4
{
*rcCartridgeNameID: 274
*Fonts: LIST(54,55)
}
*FontCartridge: FC5
{
*rcCartridgeNameID: 275
*Fonts: LIST(10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,
+ 26,27,28,29,30,31)
}
*FontCartridge: FC6
{
*rcCartridgeNameID: 276
*Fonts: LIST(50,51)
}
*FontCartridge: FC7
{
*rcCartridgeNameID: 277
*Fonts: LIST(52,53)
}
*% *MinFontID: 0
*% *MaxFontID: 100
*% *MaxNumDownFonts: 0
*% *FontFormat: OEM_CALLBACK
*Command: CmdBoldOn { *CallbackID: 20 }
*Command: CmdBoldOff { *CallbackID: 21 }
*Command: CmdItalicOn { *CallbackID: 22 }
*Command: CmdItalicOff { *CallbackID: 23 }
*Command: CmdWhiteTextOn { *CallbackID: 30 }
*Command: CmdWhiteTextOff { *CallbackID: 31 }
*Command: CmdSelectSingleByteMode { *CallbackID: 32 }
*Command: CmdSelectDoubleByteMode { *CallbackID: 33 }
*Command: CmdVerticalPrintingOn { *CallbackID: 34 }
*Command: CmdVerticalPrintingOff { *CallbackID: 35 }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "" }
*ReselectFont: LIST(AFTER_FF)
*TTFS: Arial
{
*rcTTFontNameID: 501
*rcDevFontNameID: 502
}
*TTFS: Symbol
{
*rcTTFontNameID: 503
*rcDevFontNameID: 504
}
*TTFS: TimesNewRoman
{
*rcTTFontNameID: 505
*rcDevFontNameID: 506
}
*TTFS: CourierNew
{
*rcTTFontNameID: 507
*rcDevFontNameID: 508
}
*TTFS: MSMincho
{
*rcTTFontNameID: 509
*rcDevFontNameID: 510
}
*TTFS: MSMinchoV
{
*rcTTFontNameID: 511
*rcDevFontNameID: 512
}
*TTFS: MSGothic
{
*rcTTFontNameID: 513
*rcDevFontNameID: 514
}
*TTFS: MSGothicV
{
*rcTTFontNameID: 515
*rcDevFontNameID: 516
}
*TTFS: MSMincho_E
{
*rcTTFontNameID: 540
*rcDevFontNameID: 510
}
*TTFS: MSMinchoV_E
{
*rcTTFontNameID: 541
*rcDevFontNameID: 512
}
*TTFS: MSGothic_E
{
*rcTTFontNameID: 542
*rcDevFontNameID: 514
}
*TTFS: MSGothicV_E
{
*rcTTFontNameID: 543
*rcDevFontNameID: 516
}
*TTFSEnabled?: TRUE