; PmxScan.INF -- Windows Still Image Setup File for the DDK ; Copyright (c) 1997 Microsoft Corporation ; Leave thse lines as they are [Version] Signature="$CHICAGO$" Class=Image ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f} Provider=%Msft% LayoutFile=layout.inf, layout1.inf [Manufacturer] %Mfg%=Models [Models] ; Replace PnPIDINformation with the hardware ID generated by your ; device for PnP identification %ProductDesc% = Samp, USB\VID_0461&PID_0364 %ProductDesc%1 = Samp, USB\VID_0458&PID_2001 %ProductDesc%2 = Samp, USB\VID_04A7&PID_0211 %ProductDesc%3 = Samp, USB\VID_04A7&PID_0221 %ProductDesc%4 = Samp, USB\VID_04A7&PID_0231 %ProductDesc%5 = Samp, USB\VID_0461&PID_0340 %ProductDesc%6 = Samp, USB\VID_0461&PID_0360 %ProductDesc%7 = Samp, USB\VID_04B3&PID_7512 %ProductDesc%8 = Samp, USB\VID_0461&PID_0363 [Uninstall.PreSetupCommand] %10%\Twain_32\%TwainDir%\DelINF.EXE VID_0461&PID_0364 %10%\Twain_32\%TwainDir%\DelINF.EXE VID_0458&PID_2001 %10%\Twain_32\%TwainDir%\DelINF.EXE VID_04A7&PID_0211 %10%\Twain_32\%TwainDir%\DelINF.EXE VID_04A7&PID_0221 %10%\Twain_32\%TwainDir%\DelINF.EXE VID_04A7&PID_0231 %10%\Twain_32\%TwainDir%\DelINF.EXE VID_0461&PID_0340 %10%\Twain_32\%TwainDir%\DelINF.EXE VID_0461&PID_0360 %10%\Twain_32\%TwainDir%\DelINF.EXE VID_04B3&PID_7512 %10%\Twain_32\%TwainDir%\DelINF.EXE VID_0461&PID_0363 [ControlFlags] ; remove comment from this line for PnP devices ; ExcludeFromSelect.WIN=* ExcludeFromSelect=* [SourceDisksNames] 2=%ProductDesc%,,, [SourceDisksFiles] pmxusb.cpl=2 usbscan.sys=2 pmxsca95.sys=2 pmxsca98.sys=2 CONSTANT.INI=2 Config.dat=2 E1_USB.INI=2 E1_EPP.INI=2 HARDWARE.INI=2 ImgProc.dll=2 LTDIS90n.dll=2 ltfil90n.DLL=2 ltimg90n.dll=2 ltkrn90n.dll=2 LUT.PLG=2 PMXUSD.DLL=2 PROTOCOL.DS=2 Readme.txt=2 prdirect.dll=2 UI3RD_32.DLL=2 VICEO.DLL=2 gl.dll=2 Twunk_16.exe=2 Twunk_32.exe=2 APackENG.DLL=2 W95Inf16.DLL=2 W95Inf32.DLL=2 DrvEpp.dll=2 Vpmx2d.dll=2 Ppsio2.ini=2 Ppsio2.sys=2 DelINF.EXE=2 ; Depend on language TW_Eng.HLP=2 ScaENG95.inf=2 Tw_Eng.dll=2 Tw32_Eng.dll=2 UI32_Eng.DLL=2 S32_Eng.dll=2 TW_ENG.REG=2 [DestinationDirs] DefaultDestDir=11 ; LDID_SYS that is, \windows\system CopyFiles.Sys32.NTX86=12 ; system32\drivers CopyFiles.Sys32.WIN=11 CopyFiles.Inf=17 TwainDriver.CopyFiles=10,twain_32\%TwainDir% Uninstall.ExtraFiles=10,twain_32\%TwainDir% TwainTrunk.CopyFiles=10 CopyFiles.USB=10,twain_32\%TwainDir% CopyFiles.EPP=10,twain_32\%TwainDir% CopyFiles.EPP.WIN=10,twain_32\%TwainDir% CopyFiles.EPP.NTX86=12 [Samp] ; USB 95/98 ;SubClass=StillImage ;DeviceType=2 ;DeviceSubType=0x1 ;Capabilities=2 ;PropertyPages="USBScan.cpl,EnumStiPropPages" ;ICMProfiles="sRGB Color Space Profile.icm" DeviceData=Samp.DeviceData AddReg=Uninstall.Add.Reg.USB,Samp.AddReg.Win ;Events=SampUSD.Events CopyFiles=Samp.CopyFiles,CopyFiles.Sys32.Win,TwainDriver.CopyFiles,CopyFiles.USB,TwainTrunk.CopyFiles,CopyFiles.Inf,AdvPack Uninstall=DefaultUnInstall.USB RunPostSetupCommands = PostSetupCommandsSection_Win UpdateInis=Update.Hardware.INI [Samp.NTX86] ; USB 2000 ;SubClass=StillImage ;DeviceType=2 ;DeviceSubType=0x1 ;Capabilities=2 ;PropertyPages="USBScan.cpl,EnumStiPropPages" ;ICMProfiles="sRGB Color Space Profile.icm" DeviceData=Samp.DeviceData AddReg=Uninstall.Add.Reg.USB.NTX86,Samp.AddReg.NTX86,Samp.AddReg.STI ;Events=SampUSD.Events CopyFiles=Samp.CopyFiles,CopyFiles.Sys32.NTX86,TwainDriver.CopyFiles,CopyFiles.USB,TwainTrunk.CopyFiles,CopyFiles.Inf,AdvPack Uninstall=DefaultUnInstall.USB.NTX86 RunPostSetupCommands = PostSetupCommandsSection_NTX86 UpdateInis=Update.Hardware.INI [PostSetupCommandsSection_Win] RegEdit.exe /s %10%\twain_32\%TwainDir%\TWAIN.REG [PostSetupCommandsSection_NTX86] RegEdit.exe /s %10%\twain_32\%TwainDir%\TWAIN.REG [DefaultInstall] ; EPP 95/98 AddReg=Uninstall.Add.Reg.EPP CopyFiles=Samp.CopyFiles,CopyFiles.EPP,CopyFiles.EPP.Win,TwainDriver.CopyFiles,TwainTrunk.CopyFiles,CopyFiles.Inf,AdvPack Uninstall=DefaultUnInstall.EPP RunPostSetupCommands = PostSetupCommandsSection_Win UpdateInis=Update.Hardware.INI [DefaultInstall.NTX86] ; EPP NT4/2000 AddReg=Uninstall.Add.Reg.EPP.NTX86,Samp.AddReg.NTX86.EPP CopyFiles=Samp.CopyFiles,CopyFiles.EPP,CopyFiles.EPP.NTX86,TwainDriver.CopyFiles,TwainTrunk.CopyFiles,CopyFiles.Inf,AdvPack Uninstall=DefaultUnInstall.EPP.NTX86 RunPostSetupCommands = PostSetupCommandsSection_NTX86 UpdateInis=Update.Hardware.INI [Samp.DeviceData] ; Ancillary data to be associated with this device. ; TwainDS, ICMProfile, and ISISDriverName are known identifiers TwainDS=%Product% ; ISISDriverName="Samp.pxw" ; You can also attach additional information to any device. ; SpecialInfo="My very special information" [Samp.NTX86.Services] AddService = pmxscan, 0x00000002, PmxScan.AddService [SampUSD.Events] ButtonPress="%ButtonPress%",{EF2F45C1-E038-11D1-A415-0080C85429A2},Sti Event ButtonDown0=%String8%,{F55B91C1-9471-11D2-953E-0040052FC4F9},* ButtonDown1=%String9%,{F55B91C2-9471-11D2-953E-0040052FC4F9},* ButtonDown2=%String10%,{F55B91C3-9471-11D2-953E-0040052FC4F9},* ButtonDown3=%String11%,{F55B91C4-9471-11D2-953E-0040052FC4F9},* [Samp.AddReg.Win] ; This all depends on which kernel services you need HKR,,DeviceType,1,1 HKR,,DevLoader,,*NTKERN ; list system driver here if required such as this line for SCSI devices using MS SCSISCAN HKR,,NTMPDriver,,"pmxscan.sys" [Samp.AddReg.NTX86] ; This all depends on which kernel services you need HKR,,DeviceType,1,1 HKR,,DevLoader,,*NTKERN ; list system driver here if required such as this line for SCSI devices using MS SCSISCAN HKR,,NTMPDriver,,"usbscan.sys" [Samp.AddReg.NTX86.EPP] ; This all depends on which kernel services you need "HKLM","System\CurrentControlSet\Services\ppsio2" "HKLM","System\CurrentControlSet\Services\ppsio2",DisplayName,,"PPDevice" "HKLM","System\CurrentControlSet\Services\ppsio2",Group,,"Extended base" "HKLM","System\CurrentControlSet\Services\ppsio2",Type,0x00010001,1 "HKLM","System\CurrentControlSet\Services\ppsio2",Start,0x00010001,2 "HKLM","System\CurrentControlSet\Services\ppsio2",ErrorControl,0x00010001,1 [Samp.AddReg.STI] ; Replace the GUID in these four lines with a new GUID from guidgen ; Also change it in Sampusd.h HKR,,USDClass,,"{C3A80960-28B1-11D1-ACAD-00A02438AD48}" ;Change the dll name at the end of this line HKCR,CLSID\{C3A80960-28B1-11D1-ACAD-00A02438AD48},,,"USB Scanner STI USD" HKCR,CLSID\{C3A80960-28B1-11D1-ACAD-00A02438AD48}\InProcServer32,,,%10%\twain_32\%TwainDir%\pmxusd.dll HKCR,CLSID\{C3A80960-28B1-11D1-ACAD-00A02438AD48}\InProcServer32,ThreadingModel,,"Apartment" [Samp.CopyFiles] pmxusb.cpl [CopyFiles.Sys32.NTX86] ; Still Image Kernel Driver usbscan.sys [CopyFiles.Sys32.Win] pmxscan.sys,PmxSca95.sys [TwainDriver.CopyFiles] ; %windir%\twain_32\%TwainDir% CONSTANT.INI Config.dat HARDWARE.INI ImgProc.dll LTDIS90n.dll ltfil90n.DLL ltimg90n.dll ltkrn90n.dll LUT.PLG PMXUSD.DLL PROTOCOL.DS UI3RD_32.DLL VICEO.DLL gl.dll Readme.txt prdirect.dll DelINF.EXE ; Depend on language set32.dll,S32_Eng.DLL TWAIN.HLP,TW_ENG.HLP UI32.DLL,UI32_Eng.DLL TWAIN.REG,TW_ENG.REG [CopyFiles.USB] E1.INI,E1_USB.ini [CopyFiles.EPP] E1.INI,E1_EPP.ini DrvEpp.DLL [CopyFiles.EPP.NTX86] Ppsio2.ini Ppsio2.sys [CopyFiles.EPP.WIN] Vpmx2d.vxd [AdvPack] AdvPack.DLL,APackENG.DLL,,16 W95Inf16.DLL,,,16 W95Inf32.DLL,,,16 [TwainTrunk.CopyFiles] Twunk_16.exe,,,16 Twunk_32.exe,,,16 ; Depend on language Twain.dll,Tw_Eng.dll,,16 Twain_32.dll,Tw32_Eng.dll,,16 [CopyFiles.Inf] ; Depend on language PmxScan.inf,ScaENG95.inf [PmxScan.AddService] DisplayName = %pmxscan.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\usbscan.sys LoadOrderGroup = Base [DefaultUnInstall.USB.NTX86] ;USB Uninstall => Win2000 DelFiles=Samp.CopyFiles,TwainDriver.CopyFiles,CopyFiles.USB,Uninstall.ExtraFiles DelReg=Uninstall.Add.Reg.USB.NTX86 BeginPrompt=BeginUPromptSection EndPrompt=EndUPromptSection DelDirs = RemoveDirsSection RunPostSetupCommands = PostSetupCommandSection_NTX86 RunPreSetupCommands = Uninstall.PreSetupCommand [DefaultUnInstall.USB] ;USB Uninstall => 95/98 DelFiles=Samp.CopyFiles,TwainDriver.CopyFiles,CopyFiles.USB,Uninstall.ExtraFiles DelReg=Uninstall.Add.Reg.USB BeginPrompt=BeginUPromptSection EndPrompt=EndUPromptSection DelDirs = RemoveDirsSection RunPostSetupCommands = PostSetupCommandSection RunPreSetupCommands = Uninstall.PreSetupCommand [DefaultUnInstall.EPP.NTX86] ;EPP Uninstall => Win2000 DelFiles=Samp.CopyFiles,TwainDriver.CopyFiles,CopyFiles.EPP,CopyFiles.EPP.NTX86,Uninstall.ExtraFiles DelReg=Uninstall.Add.Reg.EPP.NTX86 BeginPrompt=BeginUPromptSection EndPrompt=EndUPromptSection DelDirs = RemoveDirsSection RunPostSetupCommands = PostSetupCommandSection_NTX86 [DefaultUnInstall.EPP] ;EPP Uninstall => 95/98 DelFiles=Samp.CopyFiles,TwainDriver.CopyFiles,CopyFiles.EPP,CopyFiles.EPP.Win,Uninstall.ExtraFiles DelReg=Uninstall.Add.Reg.EPP BeginPrompt=BeginUPromptSection EndPrompt=EndUPromptSection DelDirs = RemoveDirsSection RunPostSetupCommands = PostSetupCommandSection [PostSetupCommandSection] RunDll32 Advpack.dll,LaunchINFSection %17%\OneTouch.INF,DefaultUnInstall [PostSetupCommandSection_NTX86] RunDll32 Advpack.dll,LaunchINFSection %17%\OneTouch.INF,DefaultUnInstall.NTX86 [Uninstall.ExtraFiles] Twain.GID Preview.bmp PRDirect.log [BeginUPromptSection] Prompt=%BeginUPromptPrompt% ButtonType=YESNO Title=%BeginUPromptTitle% [EndUPromptSection] Prompt=%EndUPromptPrompt% [RemoveDirsSection] %10%\Twain_32\%TwainDir% [Uninstall.Add.Reg.USB] HKLM,%Uninstall%%Product% HKLM,%Uninstall%%Product%,"DisplayName",,"%Product%" HKLM,%Uninstall%%Product%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\PmxScan.INF,DefaultUnInstall.USB" [Uninstall.Add.Reg.USB.NTX86] HKLM,%Uninstall%%Product% HKLM,%Uninstall%%Product%,"DisplayName",,"%Product%" HKLM,%Uninstall%%Product%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\PmxScan.INF,DefaultUnInstall.USB.NTX86" [Uninstall.Add.Reg.EPP] HKLM,%Uninstall%%Product% HKLM,%Uninstall%%Product%,"DisplayName",,"%Product%" HKLM,%Uninstall%%Product%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\PmxScan.INF,DefaultUnInstall.EPP" [Uninstall.Add.Reg.EPP.NTX86] HKLM,%Uninstall%%Product% HKLM,%Uninstall%%Product%,"DisplayName",,"%Product%" HKLM,%Uninstall%%Product%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\PmxScan.INF,DefaultUnInstall.EPP.NTX86" [Update.Hardware.INI] ;%10%\Twain_32\%TwainDir%\Hardware.INI, "Identity",,"ProductName=%Product%" ,0 ;%10%\Twain_32\%TwainDir%\Hardware.INI, "Identity",,"ProductName_16=%Product%" ,0 ;%10%\Twain_32\%TwainDir%\Hardware.INI, "Option" ,,"Caption=%TwainUIName%" ,0 [Strings] Uninstall="Software\Microsoft\Windows\CurrentVersion\Uninstall\" ButtonPress="Launch Button Push" pmxscan.SvcDesc= "USB Flatbed Scanner Driver" String8="Scan Button" String9="Copy/Print Button" String10="Fax Button" String11="Custom Button" Msft="Primax" Mfg="Primax" ProductDesc="FlatBed Scanner(English Win95)" Product="FlatBed Scanner" ;TwainUIName="FlatBed Scanner" TwainDir="FlatBed" BeginUPromptPrompt="Are you sure you want to remove FlatBed Scanner?" BeginUPromptTitle="FlatBed Scanner Uninstall" EndUPromptPrompt="FlatBed Scanner was successfully removed from your computer."Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.