;
; MF48SCN.INF  -- Windows Setup File for the MF220 Series (Windows XP,Vista,7,8,8.1(x86))
; Copyright CANON INC. 2005
;
; InfID: {31A50F13-EEBD-44B4-A1F4-8F67FE36BECE}
;
; Last Modified: 03-Feb-2014

[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}

;  The above GUID is the class GUID for all scanners and MUST NOT change
Provider=%Msft%
CatalogFile.NTx86=MF48SCN.CAT
DriverVer=03/03/2014, 11.3.0.0

[DestinationDirs]
DefaultDestDir=11
CNCDsFiles=10,"twain_32\"%CNCRFN%
CNCDsCommonFilesXP=24,"CanonMF\"%CNCRFN%
CNCDsCommonFiles=16422,"Canon\CanonMF\"%CNCRFN%
CNCMediaFiles=10,media
ColorFiles.NT=11,spool\drivers\Color

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%Mfg%=Models,NTx86.6.0

[Models]
%LPTENUM\CNC.DeviceDesc%=CNCInstall,USB\VID_04A9&PID_27A8&MI_00
%LPTENUM\CNC.DeviceDesc%=CNCInstallNet,CANON_MFNP&%CNCRFN%

[Models.NTx86.6.0]
%LPTENUM\CNC.DeviceDesc%=CNCInstall_VISTA,USB\VID_04A9&PID_27A8&MI_00
%LPTENUM\CNC.DeviceDesc%=CNCInstallNet_VISTA,CANON_MFNP&%CNCRFN%


;........................................ WinXP section
[CNCInstall.NTx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData
AddReg=CNCAddreg,CNCAddreg_XP,CNCAddreg.USB,CNCUSDAddreg
CopyFiles=WiaFiles,CNCDsFiles,CNCDsCommonFilesXP,ColorFiles.NT,MPScanLLD,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events
DriverVer=03/03/2014, 11.3.0.0
FriendlyName=%CNC.FriendlyName%

[CNCInstall.NTx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;........................................ WinVista section
[CNCInstall_VISTA.NTx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData_VISTA
AddReg=CNCAddreg,CNCAddreg_VISTA,CNCAddreg.USB,CNCUSDAddreg,CNCUSDAddreg_VISTA
CopyFiles=Wia2Files,CNCDsFiles,CNCDsCommonFiles,ColorFiles.NT,MPScanLLD,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events
DriverVer=03/03/2014, 11.3.0.0
FriendlyName=%CNC.FriendlyName%

[CNCInstall_VISTA.NTx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;........................................ WinXP section(Network)
[CNCInstallNet.NTx86]
Include=sti.inf
Needs=STI.SerialSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData
AddReg=CNCAddreg,CNCAddreg_XP,CNCUSDAddreg
CopyFiles=WiaFiles,CNCDsFiles,CNCDsCommonFilesXP,ColorFiles.NT,MPScanLLD,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events
DriverVer=03/03/2014, 11.3.0.0
FriendlyName=%CNC.FriendlyName%

[CNCInstallNet.NTx86.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

;........................................ WinVista section(Network)
[CNCInstallNet_VISTA.NTx86]
Include=sti.inf
Needs=STI.SerialSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData_VISTA
AddReg=CNCAddreg,CNCAddreg_VISTA,CNCUSDAddreg,CNCUSDAddreg_VISTA
CopyFiles=Wia2Files,CNCDsFiles,CNCDsCommonFiles,ColorFiles.NT,MPScanLLD,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events
DriverVer=03/03/2014, 11.3.0.0
FriendlyName=%CNC.FriendlyName%

[CNCInstallNet_VISTA.NTx86.Services]
Include=sti.inf
Needs=STI.SerialSection.Services


;.......................................... Common Section
[PushButton.Events]
PushButtonPushed1=%PushButtonPushed1%,{A6CC3F15-C100-4d43-B2EE-F3972CFF156D},%ButtonApp%
PushButtonPushed2=%PushButtonPushed2%,{16D58C14-A3EC-4271-B133-B6AB39A29090},%ButtonApp%
PushButtonPushed3=%PushButtonPushed3%,{890B81A8-D7DB-426d-A1D3-7B4254FC2AF2},%ButtonApp%
PushButtonPushed4=%PushButtonPushed4%,{D6D0D4B7-DC11-4b99-A51C-D6A149EABB99},%ButtonApp%

[ColorFiles.NT]
CNZ005.ICC
CNFR20.ICC

[CNCDeviceData]
TwainDS=%CNC.TwainDS%
SpecialInfo=%CNC.SPInfo%
DeviceKey=%CNCRFN%
InstallDirectory="CanonMF\%CNCRFN%\"
KeyNamePath=%KEYNAME%
DefaultKeyNamePath=%DEFAULTKEYNAME%

[CNCDeviceData_VISTA]
TwainDS=%CNC.TwainDS%
SpecialInfo=%CNC.SPInfo%
DeviceKey=%CNCRFN%
InstallDirectory="Program Files\Canon\CanonMF\%CNCRFN%\"
KeyNamePath=%KEYNAME%
DefaultKeyNamePath=%DEFAULTKEYNAME%
UI Class ID={9E49D61A-0ECC-4897-A928-9EAC7DF96271}
;The above GUID reused from sample MUST change for each Model.

[CNCAddreg]
HKLM,"%SGDKEY%","DeviceName",,%CNC.MDL%
HKLM,"%SGDKEY%","SeriesName",,%CNC.SRS%
HKLM,"%SGDKEY%","Manufacturer",,"Canon Inc."
HKLM,"%SGDKEY%","ProductFamily",,"TWAIN Scanners"
HKLM,"%SGDKEY%","ProductName",,%CNC.MDL%
HKLM,"%SGDKEY%","InstallDirectory",,"%10%\TWAIN_32\%CNCRFN%\"
HKLM,"%SGDKEY%","DeviceDriver",,"SCANINTF.DLL"
HKLM,"%SGDKEY%","ProductId",,"MF220           "
HKLM,"%SGDKEY%","DataSourcePath",,"%10%\TWAIN_32\%CNCRFN%\cisds.ds"
HKLM,"%SGDKEY%","TextEnhance",0x00010001,0
HKLM,"%SGDKEY%","HiDefinitionMode",0x00010001,0
HKLM,"%SGDKEY%","AutoPreview",0x00010001,0
HKLM,"%SGDKEY%","AutoClose",0x00010001,0
HKLM,"%SGDKEY%","SavePreview",0x00010001,1
HKLM,"%SGDKEY%","DriverDate",,"02 2014"
HKLM,"%SGDKEY%","DriverVersion",,"11.3.0.0.mf21"
HKLM,"%SGDKEY%","ColorGear",,%CNC.ColorGear%
HKLM,"%SGDKEY%","ColorMatch Platen",,"CNFR20.ICC"
HKLM,"%SGDKEY%","SGIPPDEF",,"CNCFR20.DAT"
HKLM,"%SGDKEY%","Descreen",0x00010001,0
HKLM,"%SGDKEY%","Unsharp",0x00010001,3
HKLM,"%SGDKEY%","MultiLimitThreshold",0x00010001,180
HKLM,"%SGDKEY%","MultiJackUp",0x00010001,9
HKLM,"%SGDKEY%","MultiTrimJackUp",0x00010001,20
HKLM,"%SGDKEY%","CardPhotoDistThr",0x00010001,30
HKLM,"%SGDKEY%","PhotoTrimThr",0x00010001,210
HKLM,"%SGDKEY%","PhotoRThr",0x00010001,210
HKLM,"%SGDKEY%","PhotoGThr",0x00010001,210
HKLM,"%SGDKEY%","PhotoBThr",0x00010001,210
HKLM,"%SGDKEY%","CardTrimThr",0x00010001,30
HKLM,"%SGDKEY%","CardRThr",0x00010001,30
HKLM,"%SGDKEY%","CardGThr",0x00010001,30
HKLM,"%SGDKEY%","CardBThr",0x00010001,30
HKLM,"%SGDKEY%","ParWhiteBlackEth",0x00010001,5
HKLM,"%SGDKEY%","ParWhiteBlackEthDG",0x00010001,5
HKLM,"%SGDKEY%","ParWhiteBlackSth",0x00010001,35
HKLM,"%SGDKEY%","ParWhiteBlackVth",0x00010001,10
HKLM,"%SGDKEY%","ParLabelingHth",0x00010001,30
HKLM,"%SGDKEY%","ParLabelingLeft",0x00010001,1
HKLM,"%SGDKEY%","ParLabelingTop",0x00010001,1
HKLM,"%SGDKEY%","ParLabelingRight",0x00010001,1
HKLM,"%SGDKEY%","ParLabelingBottom",0x00010001,1
HKLM,"%SGDKEY%","DT_Left",,"10"
HKLM,"%SGDKEY%","DT_Top",,"0"
HKLM,"%SGDKEY%","DT_Width"	,,"1.5"
HKLM,"%SGDKEY%","DT_Length",,"4.5"
HKLM,"%SGDKEY%","DT_Border_1",,"2.5"
HKLM,"%SGDKEY%","DT_Border_2",,"3.5"
HKLM,"%SGDKEY%","DT_BkTh",,"18"
HKLM,"%SGDKEY%","DT_MinWhThr",,"15"
HKLM,"%SGDKEY%","DT_MaxWhThr",,"45"
HKLM,"%SGDKEY%","ButtonNum",0x00010001,4
HKLM,"%STIKEY%","MF220",0x00010001,1

[CNCAddreg_XP]
HKLM,"%SGDKEY%","CommonModuleDirectory",,"%24%\CanonMF\%CNCRFN%\"

[CNCAddreg_VISTA]
HKLM,"%SGDKEY%","CommonModuleDirectory",,"%16422%\Canon\CanonMF\%CNCRFN%\"

[CNCAddreg.USB]
HKLM,"%SGDKEY%","AvailableDriver",0x00010001,1

[CNCUSDAddreg]
HKLM,"%WIASGDKEY%","ColorMatch",0x00010001,1
HKLM,"%WIASGDKEY%","ColorGear",,"%CNC.ColorGear%"
HKLM,"%WIASGDKEY%","TextEnhance",0x00010001,0
HKLM,"%WIASGDKEY%","Descreen",0x00010001,0
HKLM,"%WIASGDKEY%","UnsharpMask",0x00010001,0
HKLM,"%WIASGDKEY%","HiDefinitionMode",0x00010001,0
HKLM,"%WIASGDKEY%","ProductId",,"MF220           "
HKLM,"%WIASGDKEY%","ButtonNum",0x00010001,4
HKLM,"%WIASGDKEY%","DspGamma",0x00010001,1
HKLM,"%WIASTIKEY%","MF220",0x00010001,1
HKR,,USDClass,,"{373FA387-A11D-4233-899B-1CC6823E0B19}"
HKCR,CLSID\{373FA387-A11D-4233-899B-1CC6823E0B19},,,"Canon USD"
HKCR,CLSID\{373FA387-A11D-4233-899B-1CC6823E0B19}\InProcServer32,,,%11%\CNCC220.DLL
HKCR,CLSID\{373FA387-A11D-4233-899B-1CC6823E0B19}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MF220 and MUST change for a different model.

[CNCUSDAddreg_VISTA]
HKCR,CLSID\{9E49D61A-0ECC-4897-A928-9EAC7DF96271},,,"WIA Driver UI Extension"
HKCR,CLSID\{9E49D61A-0ECC-4897-A928-9EAC7DF96271}\shellex\ImageProcessingFilter\{D129EAEF-1098-4eb7-99C1-466ACA56CD49}
;  The above GUID is specific to MF220 and MUST change for a different model.

HKCR,CLSID\{D129EAEF-1098-4eb7-99C1-466ACA56CD49},,,"Canon Image Processing Filter"
HKCR,CLSID\{D129EAEF-1098-4eb7-99C1-466ACA56CD49}\InProcServer32,,,%11%\CNCE220.dll
HKCR,CLSID\{D129EAEF-1098-4eb7-99C1-466ACA56CD49}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MF220 and MUST change for a different model.

[WiaFiles]
CNCC220.DLL
CNCI220.DLL
CNCL220.DLL

[Wia2Files]
CNCC220.DLL
CNCI220.DLL
CNCL220.DLL
CNCE220.DLL

[CNCDsFiles]
CISDS.DS
SGUI.DLL
SGUI_RES.DLL
IOP.DLL
ITLIB32.DLL
SCANINTF.DLL
TPM.DLL
CNCFR20.DAT
MC2.TXT
JDA_CIMG.DLL
NBS4MB.DLL
NBSCOR4M.DLL
RMSLANTC.DLL
RSTCOL.DLL

[CNCDsCommonFilesXP]
WIARES.DLL
SGCFLTR.dll

[CNCDsCommonFiles]
WIARES.DLL
SGCFLTR.dll

[MPScanLLD]
CNCMFP48.INI,,,0x20
CNCLSI48a.DLL,,,0x20
CNCLSD48a.DLL,,,0x20
CNCLSC48a.DLL,,,0x20
CNCLST48a.DLL,,,0x20
CNCLSU48a.DLL,,,0x20

[CNCMediaFiles]
CSSAMP1.MID

;-------------------------------Source Index
[SourceDisksFiles]
CNZ005.ICC=1
ITLIB32.DLL=1
JDA_CIMG.DLL=1
NBS4MB.DLL=1
NBSCOR4M.DLL=1
RMSLANTC.DLL=1
RSTCOL.DLL=1

CISDS.DS=1
SGUI.DLL=1
IOP.DLL=1
SCANINTF.DLL=1
TPM.DLL=1
SGCFLTR.dll=1

SGUI_RES.DLL=1
WIARES.DLL=1

CSSAMP1.MID=1

CNCFR20.DAT=1
CNFR20.ICC=1

MC2.TXT=1

CNCC220.DLL=1
CNCI220.DLL=1
CNCL220.DLL=1
CNCE220.DLL=1

CNCMFP48.INI=1
CNCLSI48a.DLL=1
CNCLSD48a.DLL=1
CNCLSC48a.DLL=1
CNCLST48a.DLL=1
CNCLSU48a.DLL=1

[SourceDisksNames]
1=%D1%,scan.cab,

;-------------------------------String Aliases
[Strings]
Msft="Canon"
Mfg="Canon"
SGDKEY="Software\Canon\SateraMFP1\ScanGear\11.3\Devices\MF220"
STIKEY="Software\Canon\SateraMFP1\ScanGear\STI"
DEFAULTKEYNAME="Software\Canon\SateraMFP1\Toolbox Ver4.9\Devices\"
KEYNAME="\Software\Canon\MFToolbox\"
WIASGDKEY="Software\Canon\SateraMFP1\WIA\3.0\Devices\MF220"
WIASTIKEY="Software\Canon\SateraMFP1\WIA\STI"
D1="Canon MF220 Series Setup Disk"
LPTENUM\CNC.DeviceDesc="Canon MF220 Series"
ButtonApp        = "MF Toolbox Ver4.9"
CNCRFN           = "MF220"
CNC.MDL          = "Canon MF220"
CNC.SRS          = "Canon MF220 Series"
CNC.DeviceDesc   = "Canon MF220"
CNC.SPInfo       = "Canon MF220 Scanner"
CNC.TwainDS      = "Canon MF220 Series"
CNC.ColorGear    = "FR20"
PushButtonPushed1= "Color Scan"
PushButtonPushed2= "B&W Scan"
PushButtonPushed3= "Custom 1"
PushButtonPushed4= "Custom 2"
CNC.FriendlyName     = "WIA Canon MF220 Series"

