; LMABQScn.INF  -- Lexmark X500 Series setup file
; Copyright (c) 2007 Lexmark International
; Manufacturer:  Lexmark International


[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
DriverVer=03/15/2007,1.41.0.0
;CatalogFile=wia.cats
CatalogFile.ntx86=LMABQXP.cat
CatalogFile.ntamd64=LMABQV64.cat
;AdvancedINF = 2.5,"AdvPack.dll"

[DestinationDirs]
; By default, files will be copied to \windows\system32.
DefaultDestDir=11
TwainDriver.CopyFiles=10,Twain_32\%TwainDir%    ;Windows directory\twain_32\%TwainDir%
TwainTrunk.CopyFiles=10

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%Mfg%=Models, NTx86, NTamd64, NTia64

[Models]
%Lemxark.DeviceDesc%=Lemxark.Scanner,USB\Vid_043D&Pid_0109&Rev_0100&MI_01,USB\Vid_043D&Pid_0109&MI_01

; This is the models section for the x86 driver
[Models.NTx86]
%Lemxark.DeviceDesc%=Lemxark.Scanner,USB\Vid_043D&Pid_0109&Rev_0100&MI_01,USB\Vid_043D&Pid_0109&MI_01

; This is the models section for the amd64 driver
[Models.NTamd64]
%Lemxark.DeviceDesc%=Lemxark.Scanner,USB\Vid_043D&Pid_0109&Rev_0100&MI_01,USB\Vid_043D&Pid_0109&MI_01

; This is the models section for the ia64 driver
[Models.NTia64]
%Lemxark.DeviceDesc%=Lemxark.Scanner,USB\Vid_043D&Pid_0109&Rev_0100&MI_01,USB\Vid_043D&Pid_0109&MI_01


[Lemxark.Scanner]
Include=sti.inf,STI.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
Events=Lemxark.Events
DeviceData=Lemxark.DeviceData
AddReg=Lemxark.AddReg
CopyFiles=Lemxark.CopyFiles,TwainDriver.CopyFiles,TwainTrunk.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=Lemxark.RegisterDlls
;Uninstall=DefaultUnInstall.USB.NTX86
;RunPostSetupCommands =PostSetupCommandsSection_NTX86
[Lemxark.Scanner.Services]
Include=sti.inf,STI.inf
Needs=STI.USBSection,STI.microdriversection.Services


[PostSetupCommandsSection_NTX86]
RegEdit.exe /s %10%\twain_32\%TwainDir%\LMABQTWN.REG

[Lemxark.Events]
ScanButton=%ScanButton.Desc%,{A6C5A715-8C6E-11d2-977A-0000F87A926F},*
CopyButton=%CopyButton.Desc%,{B441F425-8C6E-11d2-977A-0000F87A926F},*
FaxButton=%FaxButton.Desc%,{C00EB793-8C6E-11d2-977A-0000F87A926F},*


[Lemxark.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
;UI Class ID={ACBF6AF6-51C9-46a9-87D8-A93F352BCB3E}
PollTimeout=700,1
Resolutions="75, 100, 150, 200, 300, 600"
TwainDS = "Lexmark X500 Series"

[Lemxark.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{98B3790C-0D93-4f22-ADAF-51A45B33C998}"
HKCR,CLSID\{98B3790C-0D93-4f22-ADAF-51A45B33C998},,,"WIA Scanner Minidriver"
HKCR,CLSID\{98B3790C-0D93-4f22-ADAF-51A45B33C998}\InProcServer32,,,%11%\LMABQWIA.dll
HKCR,CLSID\{98B3790C-0D93-4f22-ADAF-51A45B33C998}\InProcServer32,ThreadingModel,,Both

[Lemxark.RegisterDlls]
; Register UI extension

[TwainDriver.CopyFiles]
; %windir%\twain_32\%TwainDir%
;;;;;Drivers File
LMABQV32.dll
LMABQV64.dll
LMABQViz.txt
LMABQU32.dll
LMABQR32.dll
LMABQR64.dll
LMABQS32.dll
LMABQPTL.INI
LMABQPTL.DS
PMXUSD.DLL
Nta.dll
LMABQMFP.INI
LMABQGry.plg
LMABQTA.plg
LMABQADF.plg
LMABQ600.plg
LMABQ120.plg
LMABQLUT.PLG
LTKRN90N.DLL
ltimg90n.dll
LTFIL90N.DLL
LTDIS90n.dll
LFCMP90n.DLL
LFBMP90N.DLL
LMABQHTP.INI
LMABQHPt.INI
LMABQHW.INI
LMABQCNT.INI
Config.dat
LMABQTWN.REG
LMABQCAF.bmp
LMABQCRF.bmp
DelINF.exe
TWAIN.CHM
LMABQPrf.INI
LMABQSLT.dat

[Lemxark.CopyFiles]
LMABQWIA.dll

[TwainTrunk.CopyFiles]
RunUnDrv.exe

[SourceDisksFiles]
;filename=disk-number[,subdir] [,file-size]
LMABQV32.dll=6
LMABQV64.dll=6
LMABQViz.txt=6
LMABQR32.dll=6
LMABQR64.dll=6
LMABQPTL.INI=6
LMABQPTL.DS=6
PMXUSD.DLL=6
Nta.dll=6
LMABQMFP.INI=6
LMABQGry.plg=6
LMABQTA.plg=6
LMABQADF.plg=6
LMABQ600.plg=6
LMABQ120.plg=6
LMABQLUT.PLG=6
LTKRN90N.DLL=6
ltimg90n.dll=6
LTFIL90N.DLL=6
LTDIS90n.dll=6
LFCMP90n.DLL=6
LFBMP90N.DLL=6
LMABQHTP.INI=6
LMABQHPt.INI=6
LMABQHW.INI=6
LMABQCNT.INI=6
Config.dat=6
LMABQTWN.REG=6
LMABQCAF.bmp=6
LMABQCRF.bmp=6
DelINF.exe=6
RunUnDrv.exe=6
LMABQPrf.INI=6
LMABQSLT.dat=6
TWAIN.CHM = 60
LMABQS32.dll=60
LMABQU32.dll=60


[SourceDisksFiles.x86]
LMABQWIA.dll=700


[SourceDisksFiles.ia64]
LMABQWIA.dll=900


[SourceDisksFiles.amd64]
LMABQWIA.dll=900


;----------------------------------------------------------



;----------------------------------------------------------
;Dragon 2006/11/08

[SourceDisksNames]
6=%Location%,,,

[SourceDisksNames.x86]
60=%Location%,,,%LANG_PATH%
70=%Location%,,,%LANG_PATHi386%
700=%Location%,,,%i386%

[SourceDisksNames.amd64]
60=%Location%,,,%LANG_PATH%
90=%Location%,,,%LANG_PATHX64%
900=%Location%,,,%X64%

;---------------------------------------------------------
;Dragon 2006/11/08

; English - DEFAULT
[Strings]
i386="i386"
x64="x64"
LANG_PATH="english"
LANG_PATHi386="english\i386"
LANG_PATHX64="english\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"


; German Language
[Strings.0007]
i386="i386"
x64="x64"
LANG_PATH="german"
LANG_PATHi386="german\i386"
LANG_PATHX64="german\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"


; Italian Language
[Strings.0010]
i386="i386"
x64="x64"
LANG_PATH="italian"
LANG_PATHi386="italian\i386"
LANG_PATHX64="italian\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"



; PortBrzl Language
[Strings.0016]
i386="i386"
x64="x64"
LANG_PATH="portbrzl"
LANG_PATHi386="portbrzl\i386"
LANG_PATHX64="portbrzl\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"



; Spanish Language
[Strings.000a]
i386="i386"
x64="x64"
LANG_PATH="spanish"
LANG_PATHi386="spanish\i386"
LANG_PATHX64="spanish\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"


; French Language
[Strings.000c]
i386="i386"
x64="x64"
LANG_PATH="french"
LANG_PATHi386="french\i386"
LANG_PATHX64="french\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"


;Russian Language
[Strings.0019]
i386="i386"
x64="x64"
LANG_PATH="russian"
LANG_PATHi386="russian\i386"
LANG_PATHX64="russian\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"



; Polish Language
[Strings.0015]
i386="i386"
x64="x64"
LANG_PATH="polish"
LANG_PATHi386="polish\i386"
LANG_PATHX64="polish\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"



; Chinese Simplified Language
[Strings.0804]
i386="i386"
x64="x64"
LANG_PATH="chi_simp"
LANG_PATHi386="chi_simp\i386"
LANG_PATHX64="chi_simp\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"


; Chinese Traditional Language
[Strings.0404]
i386="i386"
x64="x64"
LANG_PATH="chi_trad"
LANG_PATHi386="chi_trad\i386"
LANG_PATHX64="chi_trad\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"


; Japanese
[Strings.0011]
i386="i386"
x64="x64"
LANG_PATH="japanese"
LANG_PATHi386="japanese\i386"
LANG_PATHX64="japanese\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"



; Korean Language
[Strings.0012]
i386="i386"
x64="x64"
LANG_PATH="Korean"
LANG_PATHi386="Korean\i386"
LANG_PATHX64="Korean\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"




; Turkish Language
[Strings.041f]
i386="i386"
x64="x64"
LANG_PATH="turkish"
LANG_PATHi386="turkish\i386"
LANG_PATHX64="turkish\X64"
Mfg="Lexmark International"
Lemxark.DeviceDesc="Lexmark X500 Series"
Lemxark.SvcDesc="Lexmark X500 Series"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install"
TwainDir="X500USB"


