;This file is used to provide xscan with special case information needed to work porperly with
;certain scanners.  This file is currently checked only when a scanner is accessed via a TWAIN
; or WIA data source

;Note: if you put a space between the last attribute <XX=XX> and the hint it will consider this
;a different hint than one without the space.  This note will be updated when it is fixed in a
;later version.


;THIS IS HINT FILE VERSION 10.0

[Info]

<END>

[Default]
<END>

;****WIA scanner hints

;WIASCANNERID=Brother_MFC-9200C_ADF
[Brother MFC-9200C]
WIAMULTIPAGEBUFFER=YES
WIAXFERCOUNT=-1
<END>

;WIASCANNERID=Other
[Hewlett-Packard OfficeJet K80 Scanner]
WIAADF=SCROLLFED
WIAUI=HIDE
<END>

;These hints are commented out because the driver hangs when you cancel
; on XP, MS has confirmed it is a bug in the driver.  They will be checking
; the for LongHorn.
;WIASCANNERID=Fujitsu_M3091DCd_ADF
;[Fujitsu M3091DCd]
;WIAMULTIPAGEBUFFER=YES
;WIAXFERCOUNT=-1
;WIAMAXWIDTH=8.503937
;WIAMAXHEIGHT=14.015748
;WIAUI=HIDE
;WIAXFERMECH=MEMORY
;<END>

;WIASCANNERID=Brother_MFC-7300C_ADF
[Brother MFC-7300C]
WIAMULTIPAGEBUFFER=YES
WIAXFERCOUNT=-1
WIAADF=SHEET
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=14.015748
WIAUI=HIDE
WIAXFERMECH=MEMORY
<END>

;WIASCANNERID=Hewlett-Packard_ScanJet_2100C
[Hewlett-Packard ScanJet 2100C]
WIAADF=NO
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
WIAXFERMECH=MEMORY
WIAPRESETTOCOLOR=YES
<END>

;WIASCANNERID=Hewlett-Packard_ScanJet_3300C
[Hewlett-Packard ScanJet 3300C]
WIAADF=NO
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
WIAPRESETTOCOLOR=YES
WIAXFERMECH=MEMORY
<END>

[Hewlett-Packard ScanJet 6300C]
<OS=WINDOWS_XP>WIAMULTIPAGEBUFFER=YES
<OS=WINDOWS_XP>WIAXFERCOUNT=-1
WIASCANNERID=Hewlett-Packard_ScanJet_6300C_ADF
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.023623
WIAUI=HIDE
WIAXFERMECH=MEMORY
<END>

;WIASCANNERID=Hewlett-Packard_ScanJet_4200C
[Hewlett-Packard ScanJet 4200C]
WIAADF=NO
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=SHOW
WIAXFERMECH=MEMORY
<END>

[CanoScan N670U/N676U Rev 6.2]
TWAINUI=HIDE
XFERMECH=MEMORY
IGNORECANCEL=ONEBUF
<END>

;WIASCANNERID=EPSON_GT-30000_ADF
[EPSON GT-30000]
WIAXERCOUNT=-1
WIAADF=YES
<SCANNERID=EPSON_GT-30000_ADF>WIADUPLEX=YES
<SCANNERID=EPSON_GT-30000_ADF>WIADUPLEXDETECT=YES
WIADEVICETYPE=SCANNER
WIAUI=HIDE
WIAXFERMECH=MEMORY
<END>

;WIASCANNERID=Hewlett-Packard_ScanJet_5300C/5370C
[Hewlett-Packard ScanJet 5300C/5370C]
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
<SCANNERID=Hewlett-Packard_ScanJet_5300C/5370C_ADF>WIAMAXHEIGHT=14
<OS=WINDOWS_XP>WIAUI=SHOW
WIAXFERMECH=MEMORY
<END>

[Hewlett-Packard Scanjet 5470C]
[Hewlett-Packard ScanJet 5470C]
WIAREOPEN=FEEDER
WIAMAXWIDTH=8.503937
<SCANNERID=Hewlett-Packard_Scanjet_5470C_ADF>WIAMAXHEIGHT=14.015748
WIAUI=HIDE
WIAXFERMECH=MEMORY
<OS=WINDOWS_XP>WIAXFERMECH=NATIVE
<END>

;WIASCANNERID=Hewlett-Packard_ScanJet_4470C
[Hewlett-Packard ScanJet 4470C]
WIAADF=NO
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
WIAXFERMECH=NATIVE
<END>

[Hewlett-Packard ScanJet 4400C]
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAUI=HIDE
WIAXFERMECH=NATIVE
<END>

[Hewlett-Packard ScanJet 2200C]
WIAXFERMECH=NATIVE
<END>

[Hewlett-Packard OfficeJet K60xi Scanner]
WIAXFERMECH=NATIVE
WIAMAXHEIGHT=14
WIAADF=SHEET
WIADEVICETYPE=SCANNER
<END>

;WIASCANNERID=EPSON_Perfection1640_ADF
[EPSON Perfection1640]
WIAMULTIPAGEBUFFER=YES
WIAXFERCOUNT=-1
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
WIAXFERMECH=MEMORY
<END>

[EPSON Perfection1240]
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
<END>

;WIASCANNERID=Visioneer_OneTouch_8600
;Windows ME WIA driver, hinted UI up because it doesn't support the ADF in either mode
[Visioneer OneTouch 8600]
WIAADF=NO
WIADEVICETYPE=SCANNER
WIAUI=SHOW
WIAXFERMECH=MEMORY
<END>

;WIASCANNERID=Visioneer_7600_USB
[Visioneer 7600 USB]
WIAADF=NO
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
WIAXFERMECH=MEMORY
<END>

[Visioneer OneTouch 8100 USB]
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692914
WIAUI=HIDE
<END>

[Visioneer OneTouch 8600 USB]
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
<END>

[UMAX Astra 2200(USB)]
WIADOUBLEBUFFER=FALSE
WIADEVICETYPE=SCANNER
WIAXFERMECH=NATIVE
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
<END>

;WIASCANNERID=Hewlett-Packard_ScanJet_3400C
[Hewlett-Packard ScanJet 3400C]
WIAADF=NO
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
WIAXFERMECH=NATIVE
WIAPRESETTOCOLOR=YES
<END>

[Hewlett-Packard ScanJet 5p]
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
<END>

[Hewlett-Packard ScanJet 4300C]
WIAADF=NO
WIADEVICETYPE=SCANNER
WIAMAXWIDTH=8.503937
WIAMAXHEIGHT=11.692913
WIAUI=HIDE
WIAPRESETTOCOLOR=YES
<END>


;*****TWAIN scanner hints

;This device must run UI up and in Native mode because it returns the 
; data in memory mode in BGR instead of RGB order.  It also doesn't 
; handle multiple pages properly.  If you select flatbed mode in the
; UI it will return the last page. If you select feeder mode, it will
; fail.
[WIA-Brother MFC-5100C USB Rev 1.0]
ADF=YES
PENDINGXFERS=YES
TWAINUI=SHOW
XFERMECH=NATIVE
<END>

;hints provided by customer using Devkit 10
[Logitech QuickCam TWAIN Rev 1.0]
ADF=CAMERA
TWAINUI=SHOW
DFLTRES=100 
<END>

;hints provided by customer using Devkit 10
[Intel USB Video Camera Rev 2.0]
ADF=CAMERA
TWAINUI=SHOW
DFLTRES=100 
<END>

;Konica 7020 network copier/scanner/printer
[Konica Network Scanner Driver Rev 1]
TWAINUI=SHOW
<END>


;FC-630 Flatbed scanner
;*******NOTE: These hints are not fully tested, the only thing we know 
; about this driver is that its Rev number is random so the wizard
; will always recognize the driver as a new one each time it opens and
; closes it.  By adding this section it will eliminate that problem but
; we need to work with customers to determine if there are any other issues
; with this scanner.  I search on the web and there is very little information
; on this device so we can only rely on what we get from customers.
[FC-630 Flatbed Scanner]
RESRANGE=100,400,50
TWAINUI=HIDE
<END>

;primaScan 2400U
[USB Scanner 2400U Rev 2.0]
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

;HP OfficeJet K60xi
[HP OfficeJet K Series Rev 1.0]
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
XFERCOUNT=-1
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
TWAINUI=HIDE
<END>

;HP 4470c and HP 54xxC series
[HP Precisionscan Pro 3.1 Rev 3.0]
<SCANNERID=Hewlett-Packard_Scanjet_5470C_ADF>XFERCOUNT=-1
BRIGTNESSRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
BRIGHTNESS=AUTO
CONTRAST=AUTO
MAXWIDTH=8.503937
MAXHEIGHT=11.692914
<SCANNERID=Hewlett-Packard_Scanjet_5470C_ADF>MAXHEIGHT=14.015748
TWAINUI=HIDE
XFERMECH=MEMORY
<END>

;HP 7450C scanner with ADF
[HP PrecisionScan Pro 3.0 Rev 3]
ADF=YES
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
TWAINUI=HIDE
<END>

;HP ScanJet 5300C
;HP ScanJet 5300Cse
[HP PrecisionScan 3.02 Rev 1.0]
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
RESRANGE=50,600,50
XFERMECH=NATIVE
TWAINUI=HIDE
<END>

;HP ScanJet 5300C, Later twain rev
[HP PrecisionScan 3.03 Rev 1.0]
RESRANGE=100,600,50
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
<SCANNERID=Hewlett-Packard_ScanJet_5300C/5370C>TWAINUI=SHOW
XFERMECH=NATIVE
<END>

;HP ScanJet 5300C
[HP PrecisionScan 3]
RESRANGE=100,600,50
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
XFERMECH=NATIVE
TWAINUI=HIDE
<END>

;HP ScanJet 6450C WIA WinME
[WIA-Hewlett-Packard ScanJet 6300C Rev 1.0]
TWAINUI=SHOW
<END>

;HP ScanJet 6250
[WIA-Hewlett-Packard ScanJet 5200C Rev 1.0]
TWAINUI=SHOW
<END>

;SCANNERID=Microtek_ScanMaker_3750i
;SCANNERID=ScanMaker_8700_(USB)_ADF
[Microtek ScanWizard 5 Rev 5.76]
TWAINUI=HIDE
XFERMECH=MEMORY
<SCANNERID=ScanMaker_8700_(USB)_ADF>MAXHEIGHT=14.015748
<SCANNERID=ScanMaker_8700_(USB)_ADF>MAXWIDTH=8.503937
<SCANNERID=Microtek_ScanMaker_3750i>TWAINUI=SHOW
<SCANNERID=Microtek_ScanMaker_3750i>INVERTG=YES
<SCANNERID=Microtek_ScanMaker_3750i>INVERTC=YES
<END>

;Microtek ScanMaker 8700 on Win XP
[Microtek ScanWizard 5 Rev 5.75]
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
TWAINUI=HIDE
<END>

;Microtek ScanMaker 8700
[Microtek ScanWizard 5 Rev 5.50]
BUFFERSIZE=MINMAX
THRESHOLD=LOWLIGHT
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
TWAINUI=HIDE
<END>

;Microtek ScanMaker 3600 per Flora, running UI down it truncates sizes to whole inches
[Microtek ScanWizard 5 Rev 5]
TWAINUI=SHOW
<END>

;Syscan (hinted UI up because they need to do a calibration step or the image won't look good)
[TravelScan V1.2 Rev 3]
TWAINUI=SHOW
ADF=SHEET
MAXHEIGHT=14
<END>

;Primax Colorado USB 19200
;Primax Colorado 1200P in win 95,98.
[PRIMAX Power TWAIN Rev 1.0]
BUFFERSIZE=PREFERRED
MAXHEIGHT=11.7
TWAINUI=SHOW
<END>

;Primax Colorado 1200P in Win NT.
[Colorado 600p/1200p Rev 2.0]
BUFFERSIZE=PREFERRED
TWOPASS=DISABLED
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[Vivitar ViviScan Compact II]
ADF=NO
RESRANGE=100,400,100
MAXWIDTH=8.503937
MAXHEIGHT=11.69
TWAINUI=HIDE
<END>

[KODAK DC200/DC210 Zoom Acquire Rev 1.0]
ADF=CAMERA
INVERTC=YES
TWAINUI=SHOW
<END>

;SCANNERID=EPSON_GT-30000_ADF
[EPSON TWAIN HS Rev 1]
CHECKFEEDERENABLED=YES
PENDINGXFERS=BOTH
AUTOFEED=TRUE
XFERCOUNT=-1
TWAINUI=HIDE
XFERMECH=MEMORY
<END>

;Epson Perfection 1640SU
[EPSON TWAIN 5 Rev 5.2]
CHECKFEEDERENABLED=YES
THRESHOLD=LOWLIGHT
MAXWIDTH=8.503937
MAXHEIGHT=11.69
TWAINUI=HIDE
<END>

;Epson Perfection 1240U/1240SU
;Epson Perfection 1640SU
[EPSON TWAIN 5 Rev 5]
CHECKFEEDERENABLED=YES
THRESHOLD=LOWLIGHT
XFERCOUNT=1
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

;Epson Expression 1680
[EPSON TWAIN Pro Rev 2.0]
BRIGHTRANGE=-1000,1000,0
DFLTBRIGHT=USE MSG_SET
CONTRASTRANGE=-1000,1000,0
DFLTCONTRAST=USE MSG_SET
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>


;Epson Perfection 636U
[EPSON TWAIN 3(32-bit) Rev 3.1]
INDICATORS=ON
TWAINUI=HIDE
<END>

[EPSON TWAIN 3(32-bit) Rev 3]
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=SHOW
<END>

[MagicScan32 V3.1 Rev 3]
TWOPASS=DISABLED
ENDDELAY=10
MAXWIDTH=8.5
MAXHEIGHT=12
CONTRASTRANGE=-999,0,-499
TWAINUI=HIDE
<END>

[Storm PageScan USB Rev 2]
PAGESIZE=AUTOMATIC
ADF=SHEET
CONTRASTRANGE=-999,999,0
TWAINUI=HIDE
<END>

[DRSCAN30EPP Rev 1]
TWOPASS=DISABLED
BRIGHTRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
RESRANGE=50,400,50
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[DRSCAN30HREPP Rev 1]
RESRANGE=50,400,50
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>


[ImageReader LE v1.3.2 Rev 1.0]
TWOPASS=DISABLED
REGFLAT=CENTER
TWAINUI=HIDE
<END>

[ScanExpress 12000P]
TWOPASS=DISABLED
RESRANGE=100,1200,50
ADF=NO
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[6120P/32 V4.04 Rev 1.6]
ADF=NO
MAXWIDTH=8.50
MAXHEIGHT=11.69
INVERTB=YES
TWAINUI=HIDE
<END>

[WidowVIEW-32S 2.67 English Rev 2.67]
THRESHOLD=LOWLIGHT
DFLTBRIGHT=USE MSG_SET
BRIGHTRANGE=0,500,250
CONTRASTRANGE=0,500,250
RESRANGE=50,600,25
ADF=NO
MAXWIDTH=8.5
MAXHEIGHT=11.69
INVERTC=YES
INVERTG=YES
TWAINUI=SHOW
<END>

;Genius-Kye Color Page Vivid Pro USB 
[ColorPage-Vivid Pro USB Rev 2]
UI=BEHIND
XFERMECH=NATIVE
TWAINUI=HIDE
<END>

[ColorPage-View Rev 1]
TWOPASS=DISABLED
REGFLAT=CENTER
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[TotalScan Express Rev 1.0]
RESRANGE=100,400,50
TWAINUI=HIDE
<END>

[HP LaserJet 1100 Series Rev 1.0]
RESRANGE=100,400,50
BUFFERSIZE=MINMAX
ADF=SHEET
MAXWIDTH=8.503937
MAXHEIGHT=11.023622
TWAINUI=SHOW
<END>

[HP OfficeJet Series 600]
ENDDELAY=25
TWAINUI=SHOW
<END>

[HP OfficeJet Series 700]
TWAINUI=SHOW
<END>

;Mustek Plug-N-Scan 1200CU (USB)
[Mustek 1200 CU Rev]
RESRANGE=100,400,50
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

;Mustek Plug-n-Scan 1200ED (Parallel)
[Mustek 1200 ED Rev]
ADF=NO
RESRANGE=100,400,50
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[Mustek 1200 LS Rev 1.0]
RESRANGE=50,400,50
BRIGHTRANGE=-127,127,2
CONTRASTRANGE=-127,127,0
DFLTCONTRAST=USE MSG_SET
DFLTBRIGHT=USE MSG_SET
TWAINUI=HIDE
<END>

[HP ScanJet 5s Rev 1.0]
RESRANGE=50,400,50
BRIGHTRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
TWAINUI=SHOW
<END>

[ESCAN_32 600 v1.00 Rev 1.0]
RESRANGE=50,400,50
MAXWIDTH=8.5
MAXHEIGHT=11
TWAINUI=SHOW
<END>

[Dexxa Flatbed Scanner 4800 Rev 1.0]
RESRANGE=50,400,50
BRIGHTRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
MAXWIDTH=8.5
MAXHEIGHT=11
UI=BEHIND
TWAINUI=SHOW
<END>

[FUJITSU M3091DC Rev 2.0]
REGADF=CENTER
TWAINUI=HIDE
<END>

[FUJITSU TWAIN32(M3091DC) Rev 1.0]
REGADF=CENTER
TWAINUI=HIDE
<END>

;Fujitsu ScanPartner 93GX
[Fujitsu Limited TWAIN Driver Rev 7.2]
;Fujitsu ScanPartner 620c, OEM driver
[Fujitsu Limited TWAIN Driver Rev 7.3]
CHECKFEEDERENABLED=YES
COLORBITDEPTH24=YES
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
TWAINUI=HIDE
<END>

[Fujitsu]
CHECKFEEDERENABLED=YES
COLORBITDEPTH24=YES
<END>

[EasyPhoto ImageWave Rev 1.2]
RESRANGE=200,300,100
UI=BEHIND
MAXWIDTH=8.5
MAXHEIGHT=11.69
TWAINUI=HIDE
<END>

[Xerox WorkCentre XK50cx USB Rev 4.0]
ADF=YES
INDICATORS=NO
UI=BEHIND
ENDDELAY=10
;contrast is not supported
CONTRASTRANGE=0,0,0 
;brightness is supported but the driver uses highlight,
;	shadow and gamma instead
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
TWAINUI=HIDE
<END>


[Xerox WorkCentre 480cx Rev 4.0]
[Xerox WorkCentre 385 Rev 3.1]
;These are the hints for the Xerox WorkCentre 480CX
;The driver name will need to be renamed when they have a final version of
the driver
DFLTCONTRAST=USE MSG_SET
RESRANGE=100,400,100
ADF=SHEET
TWAINUI=HIDE
<END>

;SCANNERID=CanoScan_D660U
[CanoScan D660U Rev 5]
;Inverted hints would be require if not running UI up
;INVERTC=YES
;INVERTG=YES
TWAINUI=SHOW
XFERMECH=NATIVE
<END>

[CanoScan N1220U Rev 5]
TWAINUI=HIDE
THRESHOLD=LOWLIGHT
<END>

[CanoScan N650U/N656U Rev 5.7]
ADF=NO
MAXWIDTH=8.5
MAXHEIGHT=11.69
THRESHOLD=LOWLIGHT
COLORBITDEPTH24=YES
TWAINUI=HIDE
IGNORECANCEL=ONEBUF
<END>

[CanoScan FB630U/FB636U Rev 5.3]
TWAINUI=HIDE
<END>

[CanoScan FB320P/FB620P Rev 3.0]
ADF=NO
TWAINUI=HIDE
THRESHOLD=LOWLIGHT
<END>

[ARTEC AM12E Plus]
RESRANGE=50,400,50
BRIGHTRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
MAXWIDTH=8.500000
MAXHEIGHT=11.700000
TWAINUI=HIDE
<END>

[Easy Twain Module 32(Epp Mode)]
RESRANGE=50,600,50
BRIGHTRANGE=-100,100,-93
CONTRASTRANGE=-90,1,1
INVERTB=YES
ADF=NO
GETBRIGHTNESS=BADCAP
GETCONTRAST=BADCAP
GETRES=BADCAP
MAXWIDTH=8.464567
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[EasyPhoto SmartPage]
UI=BEHIND
RESRANGE=75,600,25
TWAINUI=SHOW
<END>

[4830P (32-Bit TWAIN Source) Rev 4.0]
TWOPASS=DISABLED
TWAINUI=HIDE
<END>

;UMAX 1200S DS installed from Win 98SE CD
[UMAX TWAIN DS Rev 2.38]
INVERTC=YES
INVERTB=YES
INVERTG=YES
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
TWAINUI=HIDE
<END>

;UMAX Astra 3470
;Compaq S4100 (has problems UI down so hinted UI up but needs inversion hints)
[VistaScan32 V3.73 Rev]
<SCANNERID=USB_Scanner>INVERTC=YES
<SCANNERID=USB_Scanner>INVERTG=YES
RESRANGE=200,9600,1
INDICATORS=ON
CONTRASTRANGE=-999,0,-499
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<SCANNERID=USB_Scanner>TWAINUI=SHOW
<END>

;UMAX Astra NETE3470
;UMAX 3400
;UMAX Astra 2200u
[VistaScan32 V3.75 Rev]
DFLTBRIGHT=USE MSG_SET
DFLTCONTRAST=USE MSG_SET
BRIGHTRANGE=0,1000,500
CONTRASTRANGE=-999,0,-499
;ENDDELAY=20
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

;SCANNERID=UMAX_Astra_2400S_ADF
[VistaScan32 V3.55 Rev 3.1]
<SCANNERID=UMAX_Astra_2400S_ADF>MAXHEIGHT=14
;UMAX Astra 4000U
;   4000U is a legal size scanner, need to run wizard to select legal size
;UMAX Astra 2000P
;UMAX Astra 2000U
;UMAX Astra 2100U
;UMAX Astra 2200
[VistaScan32 V3.52 Rev 3.1]
[VistaScan32 V3.51 Rev 3.1]
UI=BEHIND
CHECKFEEDERENABLED=YES
[VistaScan32 V3.5]
CONTRASTRANGE=-999,0,-499
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
;ENDDELAY=20
TWAINUI=HIDE
IGNORECANCEL=YES
<END>

[VistaScan32 V2.40]
[VistaScan32 V2.40 Rev 2.3]
TWAINUI=HIDE
FCW=YES
<END>

[VistaScan32 V2.43]
[VistaScan32 V2.43 Rev 2.4]
;if your scanner has an automatic document feeder, delete or comment (;)
;the line ADF=NO and add a line TWOPASS=DISABLED in this section
;If you are using the Umax 1200S, delete the (;) in front of the ENDDELAY = 20
;ENDDELAY=20
ADF=NO
TWAINUI=HIDE
FCW=YES
<END>

;UMAX Astra 6400
[VistaScan32 V3.72 Rev 3.1]
XFERMECH=NATIVE
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=SHOW
<END>

;HP 3400C
[HP PrecisionScan LTX 1.0 Rev 1.0]
[HP PrecisionScan LTX 1]
ADF=NO
BRIGTNESSRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
BRIGHTNESS=AUTO
CONTRAST=AUTO
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

;HP ScanJet 5370C
;NOTE, the Rev 1.0 version of this driver is slow
;  due to the fact that it creates a log file stub.log in C:\
;  with several entries for each TWAIN call in it
[HP PrecisionScan Pro 2.5 Rev 1.0]
ENDDELAY=8
BRIGHTRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[HP OfficeJet R PrecisionScan Rev 1]
ADF=YES
RESRANGE=100,600,50
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
TWOPASS=DISABLED
PAGESIZE=AUTOMATIC
UI=BEHIND
TWAINUI=HIDE
<END>

[HP PrecisionScan 1.01]
RESRANGE=50,400,50
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
PAGESIZE=AUTOMATIC
WNTTHREADPRIORITY=LOW
UI=BEHIND
TWAINUI=HIDE
<END>

[HP PrecisionScan 1.0 Rev 1.0]
BRIGHTRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
TWAINUI=SHOW
RESRANGE=100,600,50
<END>

[HP PrecisionScan Pro 1.0]
BRIGHTRANGE=-1000,1000,1
CONTRASTRANGE=-1000,1000,1
RESRANGE=100,600,50
MAXHEIGHT=14.02
TWOPASS=DISABLED
TWAINUI=HIDE
XFERCOUNT=1
UI=BEHIND
<END>

;HP Scanjet 4100C (USB)
[HP PrecisionScan LT 1.0 Rev 1]
[HP PrecisionScan LT 1] 
ADF=NO	
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
RESRANGE=100,400,50
UI=BEHIND
XFERMECH=NATIVE
PAGESIZE=AUTOMATIC
TWOPASS=DISABLED
TWAINUI=HIDE
<END>

;HP ScanJet 4200C (Rev 1.0)
;HP ScanJet 3200C (Rev 1.0)
[HP PrecisionScan LT 2.0 Rev]
[HP PrecisionScan LT 2]
ADF=NO
CLOSEDELAY=10
COLORBITDEPTH24=YES
GETSUPPORTEDCAPS=YES
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
RESRANGE=100,400,50
UI=BEHIND
EXCEPTION_INVALID_HANDLE=IGNORE
XFERMECH=NATIVE
PAGESIZE=AUTOMATIC
TWOPASS=DISABLED
INDICATORS=ON
TWAINUI=HIDE
<END>

;HP ScanJet 3300C (USB)
[HP PrecisionScan LT 3.0 Rev 1.0]
[HP PrecisionScan LT 3]
ADF=NO
COLORBITDEPTH24=YES
GETSUPPORTEDCAPS=YES
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
RESRANGE=100,400,50
UI=BEHIND
EXCEPTION_INVALID_HANDLE=IGNORE
XFERMECH=NATIVE
PAGESIZE=AUTOMATIC
TWOPASS=DISABLED
INDICATORS=ON
TWAINUI=HIDE
<END>

;HP Scanject 5200Cse
;HP Scanject 5200C
[HP PrecisionScan 2.0 Rev 1.0]
;HP Scanjet 6250C (SCSI/USB)
[HP PrecisionScan 2]
RESRANGE=100,400,50
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
XFERMECH=NATIVE
TWAINUI=SHOW
<END>

;HP ScanJet 6250c (SCSI/USB) and possibly others, OEM driver installed by windows 2000)
[HP ScanJet Source Rev 1.0]
RESRANGE=100,400,50
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
GRAY4=NO
UI=BEHIND
TWAINUI=SHOW
<END>

;HP ScanJet 6350C (SCSI/USB)
[HP PrecisionScan Pro 2.0 Rev 1.0]
[HP PrecisionScan Pro 2]
BRIGHTRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
XFERMECH=NATIVE
UI=BEHIND
TWAINUI=HIDE
<END>

[HP PhotoSmart Photo Scanner Rev 1.0]
BRIGHTRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
MAXHEIGHT=7.0
MAXWIDTH=5.0
RESRANGE=100,2400,50
ADF=CAMERA
TWAINUI=SHOW
<END>

[600P (32-Bit TWAIN Source) Rev 4]
TWOPASS=DISABLED
TWAINUI=HIDE
<END>

[Microtek ScanWizard (32bit) Rev 2.5]
[Microtek ScanWizard Rev 2.5]
[Microtek ScanWizard (32bit) Rev 2.4]
[Microtek ScanWizard Rev 2.4]
;if you have an E3 Plus or SlimScan C6, remove the (;) from the line below
;TWOPASS=DISABLED
;if you have a SlimScan C6, also remove the (;) from the line below
;MAXHEIGHT = 11.692913
;if you have a SlimScan C3, remove the (;) from the line below
;ENDDELAY=15
THRESHOLD=LOWLIGHT
RESRANGE=100,400,100
DFLTBRIGHT=USE MSG_SET
DFLTCONTRAST=USE MSG_SET
TWAINUI=HIDE
<END>

[600 III EP]
[600 III EP Plus]
RESRANGE=100,400,50
TWAINUI=HIDE
DFLTBRIGHT=USE MSG_SET
MAXHEIGHT=11.7
<END>

[Mustek 1200 III EP Rev 1]
TWAINUI=HIDE
SCANAREA=GETRECT
<END>

[Mustek 1200 III SP]
ADF=NO
MAXWIDTH=8.5
MAXHEIGHT=11.7
RESRANGE=100,400,100
DFLTBRIGHT=USE MSG_SET
BRIGHTRANGE=-127,127,1
DFLTCONTRAST=USE MSG_SET
CONTRASTRANGE=-127,127,1
TWAINUI=HIDE
<END>

[FlatbedScanner Rev 1]
DFLTBRIGHTVAL=63
BUFFERSIZE=MINMAX
TWOPASS=DISABLED
MAXWIDTH=8.5
TWAINUI=HIDE
<END>

[WidowVIEW-32S]
INVERTC=YES
INVERTG=YES
BUFFERSIZE=MINMAX
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
RESRANGE=150,900,150
MAXWIDTH=11.535433
MAXHEIGHT=16.535433
TWAINUI=SHOW
<END>

[WidowVIEW Rev 2.6]
INVERTC=YES
INVERTG=YES
TWAINUI=SHOW
<END>

[Adara AdaraScan Rev 2.4]
TWAINUI=SHOW
BUFFERSIZE=PREFERRED
TWOPASS=DISABLED
<END>

[Perfection 600 (32 Bit) Rev 3.7]
MAXWIDTH=8.5
MAXHEIGHT=14
RESRANGE =100,400,100
BRIGHTRANGE=-100,100,0
CONTRASTRANGE=-100,100,0
ADF=NO
TWAINUI=SHOW
<END>

[Perfection 600 (32 Bit) Rev 3.53]
MAXWIDTH=8.5
MAXHEIGHT=14
RESRANGE=25,2400,25
TWAINUI=SHOW
<END>

[Perfection 600 (32) rev 3.5]
INVERTB=YES
INVERTC=YES
INVERTG=YES
TWAINUI=SHOW
<END>

[Info driver (32-BIT TWAIN Source)]
TWAINUI=SHOW
TWOPASS=DISABLED
BUFFERSIZE=PREFERRED
<END>

[Easy twain module rev 1.0]
INVERTC=YES
INVERTG=YES
TWAINUI=SHOW
<END>

;Brother MFC 4600
;This device does not support color and it also supports
;non-square resolutions in its ui(ie. 200 x 100 dpi)
[TWAIN_32 Brother MFL Pro Scanner Rev 1.1]
ADF=SHEET
TWAINUI=SHOW
<END>

[Brother MFL Pro Scanner Rev 1.0]
[Brother driver (32-BIT TWAIN Source)]
TWAINUI=SHOW
TWOPASS=DISABLED
BUFFERSIZE=PREFERRED
<END>

[Paragon PowerPro Rev 1.4]
REGFLAT=CENTER
BRIGHTRANGE=5,995,500
TWOPASS=DISABLED
ADF=NO
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[HP OfficeJet Pro PictureScan Rev 2.0]
RESRANGE=75,400,25
BUFFERSIZE=PREFERRED
MAXWIDTH=8.5
MAXHEIGHT=11
TWOPASS=DISABLED
TWAINUI=SHOW
<END>

[ColorFactory 2.0 Rev 1.0]
ENDDELAY=20
ADF=NO
TWAINUI=HIDE
<END>

[Nikon Scan 32 Rev 5.3]
ADF=NO
TWAINUI=SHOW
<END>

[Canon IS Scan Rev 1.1]
MAXWIDTH=8.51
MAXHEIGHT=14
ADF=SHEET
BUFFERSIZE=PREFERRED
TWAINUI=HIDE
<END>

[MyScan32 V1.2a Rev 3.1]
MAXWIDTH=8.5
MAXHEIGHT=11.7
ADF=SHEET
TWAINUI=HIDE
<END>

[Olympus Digital Vision]
TWAINUI=SHOW
<END>

[OLYMPUS C-2.1TE]
DFLTRES=100
ADF=NO
TWAINUI=SHOW
<END>

[EPSON PhotoPC 600]
TWAINUI=SHOW
<END>

[EPSON TWAIN(32-bit)]
ADF=NO
;MODEL: EPSON ES1000C (GT8500) 
;VERSION: 32-bit TWAIN 2.62
;5/4/98 sjl
;Pagis 2.0 
DFLTCONTRAST=USE MSG_SET
TWAINUI=HIDE
<END>

;Generic Epson section so untested drivers will pick up this hint
; since most new Epson ADFs seem to need it to work properly
[EPSON TWAIN]
CHECKFEEDERENABLED=YES
TWAINUI=HIDE
<END>

[CyberView]
[CyberView-32]
TWAINUI=SHOW
INVERTC=YES
INVERTG=YES
<END>

[WorkCentre 400c Series]
SCANNERID=WorkCentre 400c Series
TWAINUI=HIDE
<END>

[AV260C/32 V4]
BRIGHTRANGE=-127,127,0
MAXHEIGHT=11.7
MAXWIDTH=8.5
TWAINUI=HIDE
<END>

[CanoScan 300]
[CanoScan 600]
RESRANGE=100,400,100
MAXHEIGHT=11.69
MAXWIDTH=8.5
TWAINUI=HIDE
<END>

[Canon PowerShot 350]
TWAINUI=SHOW
<END>

[TotalScan Express Rev 1.0]
RESRANGE=100,400,100
MAXWIDTH=8.5
MAXHEIGHT=11.7
TWAINUI=HIDE
<END>

[Storm TotalScan]
TWOPASS=DISABLED
TWAINUI=HIDE
<END>

[ViewStation AS6E v1]
BRIGHTRANGE=-100,100,0
TWAINUI=HIDE
<END>

[CT-F300E Flat Bed]
RESRANGE=75,400,25
BRIGHTRANGE=-1000,1000,0
MAXHEIGHT=11.69
MAXWIDTH=8.5
TWOPASS=DISABLED
XFERMECH=NATIVE
TWAINUI=HIDE
<END>

[Primax Colorado Direct / D600]
BUFFERSIZE=PREFERRED
ENDDELAY=15
TWAINUI=HIDE
<END>

[ScanMagic 4800P]
BRIGHTRANGE=-1000,1000,0
TWOPASS=DISABLED
MAXHEIGHT=11
MAXWIDTH=8.5
TWAINUI=HIDE
<END>

;AcerScan Prisa 640U
[MiraScan V3.40 Rev 3.0]
;AcerScan 620U
;AcerScan Prisa 320P
[MiraScan V3.04 Rev 3.0]
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

;AcerScan Prisa 320U
[MiraScan V3.43 Rev 3.0]
XFERMECH=NATIVE
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

;AcerScan Prisa 620PT
[MiraScan V3.01 Rev 3.0]
RESRANGE=100,300,50
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[MiraScan32 2.2]
[MiraScan32 V2.3]
BRIGHTRANGE=-127,127,0
BUFFERSIZE=PREFERRED
RESRANGE=75,300,25
MAXHEIGHT=11.69
MAXWIDTH=8.5
TWAINUI=HIDE
<END>

[Imager 730/32 V4]
BRIGHTRANGE=-127,127,0
MAXHEIGHT=11.69
MAXWIDTH=8.5
TWAINUI=HIDE
<END>

[PaperPort OneTouch]
MAXWIDTH=8.5
MAXHEIGHT=11.69
TWAINUI=HIDE
<END>

;SCANNERID=Visioneer_9650_ADF
[Visioneer 9650 V1.00 Rev 1]
INVERTB=YES
TWAINUI=HIDE
XFERMECH=MEMORY
<END>

;SCANNERID=Visioneer_9650_ADF
[Visioneer 9650 V1.10 Rev 1]
[Visioneer 9650 Rev 1]
INVERTB=YES
MAXWIDTH=8.503937
MAXHEIGHT=14.015748
TWAINUI=HIDE
XFERMECH=MEMORY
<END>

;Visioneer OneTouch 8650 ADF scanner
[Visioneer Scan Manager Rev 2.0]
TWAINUI=SHOW
<END>

;Visioneer 4400
[Visioneer 4400 Rev 2.0]
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[Visioneer OneTouch 8100 Rev 2.0]
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

; Visioneer OneTouch 7600 USB
[Visioneer OneTouch 7600 USB Rev 1.10]
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

;Visioneer OneTouch 5300 USB
[Visioneer OneTouch 5300 USB Rev 1.10]
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[Visioneer PaperPort 3]
[Visioneer PaperPort 6]
BRIGHTRANGE=-127,127,0
MAXHEIGHT=11.7
MAXWIDTH=8.5
RESRANGE=100,600,50
DFLTBRIGHT=USE MSG_SET
ADF=NO
PIXELTYPE=VANILLA
TWOPASS=DISABLED
BUFFERSIZE=PREFERRED
TWAINUI=HIDE
<END>

[FotoSnap 32]
TWAINUI=SHOW
<END>

;AGFA 1212p,1212U,1236s
[ScanWise 1.2 Rev 1]
INDICATORS=ON
RESRANGE=100,400,100
ADF=NO
BUFFERSIZE=MINMAX
PENDINGXFERS=YES
TWOPASS=DISABLED
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>


;Agfa Scanners
[FotoLook 32]
[FotoLook 32 V2]
[FotoLook 32 V3.00.05 - TWAIN Rev 1.0]
MAXHEIGHT=11.7
MAXWIDTH=8.5
BRIGHTRANGE=-1000,1000,0
CONTRASTRANGE=-1000,1000,0
BUFFERSIZE=PREFERRED
TWAINUI=HIDE
<END>

[FotoLook 32 V3]
BRIGHTRANGE=-999,999,0
CONTRASTRANGE=-999,999,0
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[ImageReader Ultra/32 V4]
MAXHEIGHT=11.7
MAXWIDTH=8.5
BRIGHTRANGE=-127,127,0
DFLTBRIGHT=USE MSG_SET
DFLTCONTRAST=USE MSG_SET
TWAINUI=HIDE
<END>

[Logitech PageScan USB]
PAGESIZE=AUTOMATIC
ADF=SHEET
TWAINUI=HIDE
<END>

[Logitech FreeScan]
[Logitech PageScan Scanner Rev 2]
[Xerox Document HomeCentre Rev 2]
BRIGHTRANGE=-1000,1000,0
[Logitech PageScan]
ADF=SHEET
INDICATORS=ON
PAGESIZE=AUTOMATIC
SCANNERID=Logitech PageScan Color
TWAINUI=HIDE
<END>

[VistaScan32 2.37]
TWOPASS=DISABLED
FCW=YES
TWAINUI=HIDE
<END>

[VistaScan32 V2.3]
RESRANGE=100,300,100
MAXHEIGHT=11.7
MAXWIDTH=8.5
TWOPASS=DISABLED
DFLTBRIGHT=USE MSG_SET
FCW=YES
TWAINUI=HIDE
<END>

[VistaScan32 V2.4]
MAXHEIGHT=11.7
MAXWIDTH=8.5
DFLTBRIGHT=USE MSG_SET
TWOPASS=DISABLED
FCW=YES
TWAINUI=HIDE
<END>

[VistaScan32 V3.1]
[VistaScan32 V3.1 Rev 3.1]
;if you have an Astra 1220S or 2400S, remove the (;) from the line below
;ENDDELAY=20
RESRANGE=50,600,50
CONTRASTRANGE=500,500,500
TWAINUI=HIDE
FCW=YES
<END>

[HP PictureScan 3.0]
[HP PictureScan 2.0]
UI=BEHIND
TWOPASS=DISABLED
INDICATORS=ON
TWAINUI=HIDE
<END>

[DeskScan II 2.9]
RESRANGE=50,400,50
WNTTHREADPRIORITY=LOW
TWAINUI=SHOW
<END>

[DeskScan II 2.8]
EXCEPTION_INVALID_HANDLE=IGNORE
TWOPASS=DISABLED
[DeskScan]
WNTTHREADPRIORITY=LOW
UI=BEHIND
TWAINUI=HIDE
<END>

[HP OfficeJet Pro PictureScan]
RESRANGE=75,300,1
RESAPPRX=75,100,150,200,300,400,600
TWAINUI=HIDE
<END>

;Microtek Scanmaker X6 (USB)
;Microtek Slimscan C6 (USB)
[Microtek ScanWizard for USB Rev 1.3]
RESRANGE=100,400,50
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>


[Microtek 32-bit PageIn]
[Microtek 16-bit PageIn]
ADF=SHEET
REGADF=CENTER
TWAINUI=HIDE
<END>

[Microtek ScanWizard (32bit) Rev 2.30]
[Microtek ScanWizard (32bit) Rev 2.31]
[Microtek ScanWizard (32bit) Rev 2.32]
[Microtek ScanWizard Rev 2.30]
[Microtek ScanWizard Rev 2.31]
[Microtek ScanWizard Rev 2.32]
INVERTG=YES
INVERTC=YES
[Microtek ScanWizard (32bit) Rev 2]
RESRANGE=100,400,100
[Microtek ScanWizard (32bit)]
[Microtek ScanWizard]
;If your Microtek scanner does have an ADF attached, remove or comment (;) the line below
ADF=NO
DFLTBRIGHT=USE MSG_SET
DFLTCONTRAST=USE MSG_SET
RESAPPRX=75,100,150,200,300,400,600
TWAINUI=HIDE
<END>

[PSDScan]
ADF=SHEET
REGADF=CENTER
TWAINUI=HIDE
<END>

[UMAX ScanIt/32  V3.2]
;UMAX Astra 300p, UMAX ScanIt/32 V3.20, Pagis 2.0, TJP 5/5/98
;Note that the 3.30 rev of the ScanIt driver has to run Native mode transfer
INVERTB=YES
TWOPASS=DISABLED
ADF=NO
CONTRASTRANGE=-128,128,0
BRIGHTRANGE=-1000,1000,0
MAXWIDTH=8.5
MAXHEIGHT=11
XFERMECH=NATIVE
TWAINUI=HIDE
<END>

[UMAX ScanIt/32  V3.3]
;UMAX Astra 300p, UMAX ScanIt/32 V3.30, Pagis 2.0, TJP 5/5/98
;Note that the 3.30 rev of the ScanIt driver has to run UI up.
INVERTB=YES
TWOPASS=DISABLED
ADF=NO
CONTRASTRANGE=-128,128,0
BRIGHTRANGE=-1000,1000,0
MAXWIDTH=8.5
MAXHEIGHT=11
TWAINUI=SHOW
<END>

[UMAX PageOffice Color]
ADF=SHEET
REGADF=CENTER
TWAINUI=HIDE
<END>

[EPSON Scanners]
;If your Epson scanner does have an ADF attached, remove or comment (;) the line below
BRIGHTRANGE=-3,3,0
ADF=NO
TWAINUI=HIDE
<END>

[Mustek F/B Scanner]
[Mustek F/B Scanner (EPP)]
[F/B Scanner (EPP-II)]
UI=BEHIND
BUFFERSIZE=MINMAX
RESRANGE=100,600,100
CONTRASTRANGE=-128,128,0
BRIGHTRANGE=-1000,1000,0
MAXWIDTH=8.5
MAXHEIGHT=11.69
DFLTBRIGHT=USE MSG_SET
DFLTCONTRAST=USE MSG_SET
ENDDELAY=20
;If your Mustek scanner does have an ADF attached, remove or comment (;
ADF=NO
TWAINUI=HIDE
<END>

[Paragon Page Color]
ADF=SHEET
REGADF=CENTER
DFLTBRIGHT=USE MSG_SET
DFLTCONTRAST=USE MSG_SET
BRIGHTRANGE=-1000,1000,0
MAXWIDTH=8.5
MAXHEIGHT=14
TWAINUI=HIDE
<END>

[4830P (32-Bit TWAIN Source)]
[9630P (32-Bit TWAIN Source)]
TWOPASS=DISABLED
BUFFERSIZE=PREFERRED
TWAINUI=HIDE
<END>

[600P (32-Bit TWAIN Source)]
TWOPASS=DISABLED
TWAINUI=HIDE
<END>

[OpticPro A3I]
TWOPASS=DISABLED
TWAINUI=HIDE
<END>

; Plustek Flatbed
[Flatbed Scanner (32-bit) Rev 3]
TWOPASS=DISABLED
BUFFERSIZE=PREFERRED
ADF=NO
TWAINUI=HIDE
<END>

;Plustek 9636T
[Flatbed Scanner]
RESRANGE=75,600,25
ENDDELAY=10
TWOPASS=DISABLED
REGFLAT=CENTER
TWAINUI=HIDE
<END>

;IBM Ideascan P
[IBM Scanner (011) Rev 2.35]
REGFLAT=CENTER
MAXWIDTH=8.503937
MAXHEIGHT=11.692913
TWAINUI=HIDE
<END>

[IBM Flatbed Scanner-32]
REGFLAT=CENTER
TWOPASS=DISABLED
SCANNERID=WorkCentre 400c Series
TWAINUI=HIDE
<END>

;IBM ADF Color Scanner
; Plustek Spectra 1200
[Sheetfed Scanner (32) Rev 3]
BUFFERSIZE=PREFERRED
ADF=SHEET
TWAINUI=HIDE
<END>

[DynaScan_32 V3]
ENDDELAY=15
TWAINUI=HIDE
<END>

[AV360C/16 Scanner V3]
INVERTB=YES
ADF=NO
TWAINUI=HIDE
<END>

[ColorTake Scan 6630-32]
RESRANGE=50,1200,50
ADF=SHEET
TWAINUI=HIDE
<END>

[MrScan/32-Expert V3]
INVERTB=YES
TWAINUI=HIDE
<END>

[MultiPASS Source]
ADF=SHEET
UI=BEHIND
CONTRASTRANGE=-128,128,0
BRIGHTRANGE=-1000,1000,0
MAXWIDTH=8.5
MAXHEIGHT=11
TWAINUI=SHOW
<END>

[MultiPASS C5000]
SCANNERID=WorkCentre 400c Series
ADF=SHEET
REGADF=CENTER
BUFFERSIZE=PREFERRED
TWAINUI=HIDE
<END>

[Olivetti STUDIO JET 300(32 bit)]
[Xerox WorkCentre Xi]
ADF=NO
RESRANGE=100,300,100
DFLTBRIGHT=USE MSG_SET
DFLTCONTRAST=USE MSG_SET
TWOPASS=DISABLED
TWAINUI=HIDE
<END>

;translation table for OS specific hints
;format is PlatformID,Major version,Minor version = OS string name
[Operating Systems]
1,4,0=WINDOWS_95
1,4,10=WINDOWS_98
1,4,90=WINDOWS_ME
2,3,51=WINDOWS_NT351
2,4,0=WINDOWS_NT40
2,5,0=WINDOWS_2000
2,5,1=WINDOWS_XP
<END>



[TwainCaps]

32768=CAP_CUSTOMBASE	
						; 0x8000 Base of custom capabilities

; all data sources are REQUIRED to support these caps
00001=CAP_XFERCOUNT	
						; 0x0001

; image data sources are REQUIRED to support these caps
00256=ICAP_COMPRESSION	
						; 0x0100
00267=ICAP_PIXELTYPE	
						; 0x0101
00268=ICAP_UNITS	
						; 0x0102 default is TWUN_INCHES
00269=ICAP_XFERMECH	
						; 0x0103

; all data sources MAY support these caps
04096=CAP_AUTHOR	
						; 0x1000
04097=CAP_CAPTION	
						; 0x1001
04098=CAP_FEEDERENABLED
						; 0x1002
04099=CAP_FEEDERLOADED    
						; 0x1003
04100=CAP_TIMEDATE
					        ; 0x1004
04101=CAP_SUPPORTEDCAPS   
						; 0x1005
04102=CAP_EXTENDEDCAPS    
						; 0x1006
04103=CAP_AUTOFEED        
						; 0x1007
04104=CAP_CLEARPAGE       
						; 0x1008
04105=CAP_FEEDPAGE        
						; 0x1009
04106=CAP_REWINDPAGE      
						; 0x100a
04107=CAP_INDICATORS      
						; 0x100b   Added 1.1
04108=CAP_SUPPORTEDCAPSEXT 
						; 0x100c   Added 1.6
04109=CAP_PAPERDETECTABLE 
						; 0x100d   Added 1.6
04110=CAP_UICONTROLLABLE  
						; 0x100e   Added 1.6
04111=CAP_DEVICEONLINE    
						; 0x100f   Added 1.6
04112=CAP_AUTOSCAN        
						; 0x1010   Added 1.6
04113=CAP_THUMBNAILSENABLED 
						; 0x1011   Added 1.7
04114=CAP_DUPLEX          
						; 0x1012   Added 1.7
04115=CAP_DUPLEXENABLED   
						; 0x1013   Added 1.7
04116=CAP_ENABLEDSUIONLY  
						; 0x1014   Added 1.7
04117=CAP_CUSTOMDSDATA    
						; 0x1015   Added 1.7
04118=CAP_ENDORSER        
						; 0x1016   Added 1.7
04119=CAP_JOBCONTROL      
						; 0x1017   Added 1.7
04120=CAP_ALARMS          
						; 0x1018   Added 1.8
04121=CAP_ALARMVOLUME     
						; 0x1019   Added 1.8
04122=CAP_AUTOMATICCAPTURE 
						; 0x101a   Added 1.8
04123=CAP_TIMEBEFOREFIRSTCAPTURE 
						; 0x101b   Added 1.8
04124=CAP_TIMEBETWEENCAPTURES 
						; 0x101c   Added 1.8
04125=CAP_CLEARBUFFERS    
						; 0x101d   Added 1.8
04126=CAP_MAXBATCHBUFFERS 
						; 0x101e   Added 1.8
04127=CAP_DEVICETIMEDATE  
						; 0x101f   Added 1.8
04128=CAP_POWERSUPPLY     
						; 0x1020   Added 1.8
04129=CAP_CAMERAPREVIEWUI 
						; 0x1021   Added 1.8
04130=CAP_DEVICEEVENT     
						; 0x1022   Added 1.8
04132=CAP_SERIALNUMBER    
						; 0x1024   Added 1.8
04134=CAP_PRINTER         
						; 0x1026   Added 1.8
04135=CAP_PRINTERENABLED  
						; 0x1027   Added 1.8
04136=CAP_PRINTERINDEX    
						; 0x1028   Added 1.8
04137=CAP_PRINTERMODE     
						; 0x1029   Added 1.8
04138=CAP_PRINTERSTRING   
						; 0x102a   Added 1.8
04139=CAP_PRINTERSUFFIX   
						; 0x102b   Added 1.8
04140=CAP_LANGUAGE        
						; 0x102c   Added 1.8
04141=CAP_FEEDERALIGNMENT 
						; 0x102d   Added 1.8
04142=CAP_FEEDERORDER     
						; 0x102e   Added 1.8
04144=CAP_REACQUIREALLOWED 
						; 0x1030   Added 1.8
04146=CAP_BATTERYMINUTES  
						; 0x1032   Added 1.8
04147=CAP_BATTERYPERCENTAGE 
						; 0x1033   Added 1.8
 
/* image data sources MAY support these caps */
04352=ICAP_AUTOBRIGHT     
						; 0x1100
04353=ICAP_BRIGHTNESS     
						; 0x1101
04355=ICAP_CONTRAST       
						; 0x1103
04356=ICAP_CUSTHALFTONE   
						; 0x1104
04357=ICAP_EXPOSURETIME   
						; 0x1105
04358=ICAP_FILTER         
						; 0x1106
04359=ICAP_FLASHUSED      	
						; 0x1107
04360=ICAP_GAMMA          
						; 0x1108
04361=ICAP_HALFTONES      
						; 0x1109
04362=ICAP_HIGHLIGHT      
						; 0x110a
04364=ICAP_IMAGEFILEFORMAT 
						; 0x110c
04365=ICAP_LAMPSTATE      
						; 0x110d
04366=ICAP_LIGHTSOURCE    
						; 0x110e
04368=ICAP_ORIENTATION    
						; 0x1110
04369=ICAP_PHYSICALWIDTH  
						; 0x1111
04370=ICAP_PHYSICALHEIGHT 
						; 0x1112
04371=ICAP_SHADOW         
						; 0x1113
04372=ICAP_FRAMES         
						; 0x1114
04374=ICAP_XNATIVERESOLUTION 
						; 0x1116
04375=ICAP_YNATIVERESOLUTION 
						; 0x1117
04376=ICAP_XRESOLUTION    
						; 0x1118
04377=ICAP_YRESOLUTION    
						; 0x1119
04378=ICAP_MAXFRAMES      
						; 0x111a
04379=ICAP_TILES          
						; 0x111b
04380=ICAP_BITORDER       
						; 0x111c
04381=ICAP_CCITTKFACTOR   
						; 0x111d
04382=ICAP_LIGHTPATH      
						; 0x111e
04383=ICAP_PIXELFLAVOR    
						; 0x111f
04384=ICAP_PLANARCHUNKY   
						; 0x1120
04385=ICAP_ROTATION       
						; 0x1121
04386=ICAP_SUPPORTEDSIZES 
						; 0x1122
04387=ICAP_THRESHOLD      
						; 0x1123
04388=ICAP_XSCALING       
						; 0x1124
04389=ICAP_YSCALING       
						; 0x1125
04390=ICAP_BITORDERCODES  
						; 0x1126
04391=ICAP_PIXELFLAVORCODES 
						; 0x1127
04392=ICAP_JPEGPIXELTYPE  
						; 0x1128
04394=ICAP_TIMEFILL       
						; 0x112a
04395=ICAP_BITDEPTH       
						; 0x112b
04396=ICAP_BITDEPTHREDUCTION 
						; 0x112c  Added 1.5
04397=ICAP_UNDEFINEDIMAGESIZE 
						; 0x112d  Added 1.6
04398=ICAP_IMAGEDATASET   
						; 0x112e  Added 1.7
04399=ICAP_EXTIMAGEINFO   	
						; 0x112f  Added 1.7
04400=ICAP_MINIMUMHEIGHT  
						; 0x1130  Added 1.7
04401=ICAP_MINIMUMWIDTH   
						; 0x1131  Added 1.7
04406=ICAP_FLIPROTATION   
						; 0x1136  Added 1.8
04407=ICAP_BARCODEDETECTIONENABLED 
						; 0x1137  Added 1.8
04408=ICAP_SUPPORTEDBARCODETYPES	 
						; 0x1138  Added 1.8
04409=ICAP_BARCODEMAXSEARCHPRIORITIES 
						; 0x1139  Added 1.8
04410=ICAP_BARCODESEARCHPRIORITIES 
						; 0x113a  Added 1.8
04411=ICAP_BARCODESEARCHMODE 
						; 0x113b  Added 1.8
04412=ICAP_BARCODEMAXRETRIES 
						; 0x113c  Added 1.8
04413=ICAP_BARCODETIMEOUT 
						; 0x113d  Added 1.8
04414=ICAP_ZOOMFACTOR     
						; 0x113e  Added 1.8
04415=ICAP_PATCHCODEDETECTIONENABLED	
						; 0x113f  Added 1.8
04416=ICAP_SUPPORTEDPATCHCODETYPES	
						; 0x1140  Added 1.8
04417=ICAP_PATCHCODEMAXSEARCHPRIORITIES 
						; 0x1141  Added 1.8
04418=ICAP_PATCHCODESEARCHPRIORITIES 
						; 0x1142  Added 1.8
04419=ICAP_PATCHCODESEARCHMODE
						; 0x1143  Added 1.8
04420=ICAP_PATCHCODEMAXRETRIES
						; 0x1144  Added 1.8
04421=ICAP_PATCHCODETIMEOUT
		 				; 0x1145  Added 1.8
04422=ICAP_FLASHUSED2
	 					; 0x1146  Added 1.8
04423=ICAP_IMAGEFILTER
	 					; 0x1147  Added 1.8
04424=ICAP_NOISEFILTER
	 					; 0x1148  Added 1.8
04425=ICAP_OVERSCAN
	 					; 0x1149  Added 1.8
04442=ICAP_AUTOMATICBORDERDETECTION
			 			; 0x1150  Added 1.8
04443=ICAP_AUTOMATICDESKEW
		 				; 0x1151  Added 1.8
04444=ICAP_AUTOMATICROTATE
		 				; 0x1152  Added 1.8
04445=ICAP_JPEGQUALITY
		     				; 0x1153  Added 1.9
<END>
; end TwainCaps section

;-------------------------------------------------------------------------------
;The below entry is provided for documentation.
;The value in brackets should reflect the name of the TWAIN or WIA source as is in the
;Data Source ID ProductName member of the TW_IDENTITY structure or returned from the WIA device.  If you want
;to specify a particular TWAIN driver version append:<space>Rev<space>m.n
;You may want to do this if the vendor has changed behavior in later revisions
;of the same twain source
;
;If you do not know the value you need to put in brackets do the following:
;	create a file called psapideb.ini
;	put the following lines in it
;
;	For Pagis 2.0, Pagis 3.0 , or Pagis Millenium
; 		[XSCAN]
;		LOG=1
;		LOGFILE=xscan32.log
;		
;	For TB 9.0, and TB Millenium
;
;		[XPAGE]
;		LOG=1
;		LOGFILE=xpage32.log
;		FLAGS1=0x480
;
;	For OmniPage Pro 11.0
;
;		[SCANAPI]
;		LOG=1
;		LOGFILE=xscan32.log
;		FLAGS1=0x480
;
;	make sure this file is in the same directory as the xscan32.psp or xscan32.dll(for Pagis) 
;	run any product that uses xscan32.psp or Xscan32.dll for scanning and use it to connect to your scanner
;	This will generate a log file using the name specified in LOGFILE=... in the same directory.
;	Look for a line in log file that reads:
;	Looking up hints for Dummy Entry Rev 1.1 where Dummy Entry Rev 1.1 would be replaced by the driver name.
;	This then becomes the bracketed value that identifies the Data Source as shown below
	

;*******************************************
;* NOTE: a new hint syntax has been added so that it is possible to create hints
;* that are specific to OS, Product, Scanner or a combination of these.  The syntax is as follows:
;* 	<SCANNERID=xxxxx><PRODUCT=xxxxx><OS=xxxxx>TWAINUI=HIDE
;*
;* where the SCANNERID matches one of the strings returned from the registery when enumerating the device IDs
;* 		The scanner wizard will add a SCANNERID=xxxx in the hint section if we can determine the device installed
;* where the PRODUCTID matches the string passed to the Register function of the wizard
;* where the OSID is one of the OS string names in the "Operating Systems" table above
;******************************************* 

;IMPROPER CAPABILITY NEGOTIATION
;The following sections pertain to hinting sources that don't properly report the devices
;capabilities.  Brightness, Contrast, Resolution, etc.

[TWAIN Dummy Entry Rev 1.1]

;The hint below is for setting a valid range and default brightness values for those devices that don't report them properly.  It can 
; also be used to limit the range to a subset of the device's range if desired.
	BRIGHTRANGE=<dark value,light value,default> example:
	BRIGHTRANGE=-1000,1000,0

;Set the brightness setting to its default value.  This prevents the value
;getting set to something the generates an error because of an improper value
;Some mustek scanners that don't handle brightness negotiation properly need this 
;hint
	DFLTBRIGHT=USE MSG_SET

;Set brightness default value
	DFLTBRIGHTVAL=100

;Include the line below if changing the brightness when scanning B+W doesn't show any noticable change to the image.
;Some scanners use thresholding instead of brightness for B+W.  If one hint doesn't work, try the other since the TWAIN
;specification doesn't say which way the range should map to.
	THRESHOLD=LOWLIGHT
	THRESHOLD=LOWDARK

;The hint below is for setting a valid range and default contrast values for those devices that don't report them properly.  It can 
; also be used to limit the range to a subset of the device's range if desired.
	CONTRASTRANGE=<low value,high value,default> example:
	CONTRASTRANGE=-128,128,0

;Set the contrast setting to its default value.  
	DFLTCONTRAST=USE MSG_SET

;Set contrast default value
	DFLTCONTRASTVAL=100

;The following indicate that the device doesn't allow setting contrast/brightness but instead chooses the value automatically
;  which is different than setting the ICAP_AUTOBRIGHTNESS capability that is provided by TWAIN.  These caps will override other
brightness or contrast hints.
	BRIGHTNESS=AUTO
	CONTRAST=AUTO

	RESRANGE=<min,max,step> example:
	RESRANGE=75,600,50

;Include the line below to set a default resolution.  This is usually used for a digital camera which doesn't report a 
;resolution.  100 is a good default value in this case.
	DFLTRES=x

	MAXHEIGHT=<Physical Heigth of the platen in inches> example:
	MAXHEIGHT=11

	MAXWIDTH=<Physical Width of the platen in inches>  example:
	MAXWIDTH=8.5

;SHEET FEEDER AND ADF HINTS
;The following entries can be tried to allow proper operation of scanners that do not properly
;report whether an optional ADF is attatched of if the scanner is a sheet fed only scanner
	ADF=NO
	ADF=YES
	ADF=SHEET

;The following three entries force xscan to attempt to set and test whether there 
;is an ADF in a variety of manners for Data Sources that don't respond well
;to the conventional ways of querying the existence of an ADF.
	ADF=SET
	ADF=SETADF
	ADF=SET&TEST

;Include the following if the scanner is a hand held scanner
	ADF=HAND

;Include the proper entry below if any of binary, grey, or color scans seem inverted
	INVERTB=YES
	INVERTG=YES
	INVERTC=YES

;TWAIN USER INTERFACE HINTS
;The following lines force the scan to take place using the Data Source's User Interface up,
;suppressed, and up only for the first scan of a multiple image scan respectively.
;The scan will proceed with the Source UI suppressed if no hint is found.  
	TWAINUI=SHOW
	TWAINUI=HIDE
;The following hint is temporarily disabled in the version of devkit following the Devkit Rev.10 SP1 build ID 182 (01/02/02)
	TWAINUI=ONCE

;Include the following to disable two-pass scanning.  Note: Two-pass scanning was removed in OP 11 and later 
;products.
	TWOPASS=DISABLED

;Include the following line to force the application to choose a buffer in-between the Data Source's Min and Max
;buffersizes.  This will sometimes solve problems in which the preferred sized buffer causes the aquisition process
;to get out of sync and data to be lost.
	BUFFERSIZE=MINMAX

;Include the line below if the twain source allows setting CAP_INDICATORS off but really
;needs them to be on to work properly
	INDICATORS=ON

;Include the line below if the origin of the scanner is in the middle of platen.  This is common
;in Sheetfed scanners in which the paper guide slides to the center for business cards etc.
;The following corresponds to sheetfed/ADF and flatbeds respectively
	REGADF=CENTER
	REGFLAT=CENTER	Note: this was developed more for OEM use and should be used cautiously....

;Include the line below if the twain source only supports the native mode image transfer mechanism
;only do this if absolutely necessary as it will usually be slower and use more memory.
	XFERMECH=NATIVE

;Include the line below if scanner shuts off communication with application as it brings the lamp
;back to its home position. This will force xscan to sit idle for the specified amount of time
;allowing the lamp to return home before it attempts to resume communication.
	ENDDELAY=<time in seconds> example:
	ENDDELAY=15

;Include the line below if the scanner automatically determines page size by using a black background or
;sensors on movable paper guide(s)
	PAGESIZE=AUTOMATIC

;Include the line below if the twain source supports ICAP_GAMMA and the default value for the twain source
;is not appropriate (please refer to the TWAIN specification)
	GAMMA=<some float value, i.e. 2.2>

;Include the line below if the twain source's user interface or progress indicator comes up behind the
;scantool's user interface. 
	UI=BEHIND


;Include the line below if canceling from a button in the applications user interface causes crashes
;or hangs.  This should not be used with TWAINUI=SHOW
	IGNORECANCEL=YES

;Include the line below if you want to set the color bitdepth to 24 instead of the current 8.
	COLORBITDEPTH24=YES

;Include one of the lines below if the scanner's ADF doesn't report whether a page is inserted correctly.
;Although there are conflicting statements in the TWAIN spec, some scanners must have the scanner in feeder
;mode before they will return the proper value when checking CAP_FEEDERLOADED.  This CHECKFEEDERENABLED hint
;will enforce this behavior.
	CHECKFEEDERENABLED=YES
	PENDINGXFERS=YES
	PENDINGXFERS=NO
	PENDINGXFERS=BOTH

;Include the line below if the scanner allows selecting 4-bit gray but doesn't scan correctly in this mode.  This disables
;the ability of this type being displayed in the UI.
	GRAY4=NO



;****The following hints shouldn't be used without testing them in a debugging environment first.



 ;The hints below are to overcome a thread/process priority issue.  In some instances you will have multiple
 ;threads/processes running where two or more will receive almost all the processing time leaving one or more
 ;other threads getting hardly any.  These hints lower the thread priority of the calling thread before making
 ;TWAIN calls and then restore it afterwords.  The hints are specific to OS since they handle setting priorities
 ;differently.

   	W9XTHREADPRIORITY=LOW
   	WNTTHREADPRIORITY=LOW
   	W2KTHREADPRIORITY=LOW

 ;Include the line below if you want to see what Capabilities the twain source says it supports.
 ;The decimal values of the supported caps will be listed in the log file.
 ;Note that this does not necessarily mean that it actually supports it.
 ;i.e. the DeskScan issue with AutoBrightness returning an exception only in the debugger. 
	GETSUPPORTEDCAPS=YES

 ;Include the line below to override the transfer count set by default.  Usually it is -1 (as many as you have) or 1.  
	XFERCOUNT=x 

 ;Include the line below to override the photometric interpretation which may be incorrectly reported by the data source.
 ;This hint must be used in conjunction with the XFERMECH=NATIVE hint because it forces us to use the photometric
 ;information returned in the DIB structure of the image.
	DIBPHOTOMETRICINTERPRET=YES

 ;Include the line below for those scanners which return an image larger or slightly smaller than what is being requested
 ;by the application.  Note: if the image is significantly smaller it will produce an image with a lot of white space
 ;around it.
	CROP=YES

 ;Include one of the lines below if the scanner expresses its values in units other than inches which is our default.
	UNITTYPE=CENTIMETERS
	UNITTYPE=PICAS
	UNITTYPE=POINTS
	UNITTYPE=TWIPS
	UNITTYPE=PIXELS
	
 ;Include the line below if the scanner requires Autofeed be set to true when scanning from the ADF
	AUTOFEED=TRUE

 ;Include the line below if the scanner returns an incorrect Imagewidth and imagelength but returns the correct scan area
 ;rectangle.  This provides another method for getting the correct image size being returned.
	SCANAREA=GETRECT

 ;Include the line below if the scanner is failing during the image transfer.  This hint increases the size of the allocated
 ;buffer to x.  This can be helpful if the scanner is running off the end of our buffer and changing a memory location that 
 ;someone is depending on to be correct.
	BUFFERCUSHION=x

 ;Include the line below to set the ID of the scanner used with this particular driver.  Note: currently this hint is not
 ;used for TWAIN or WIA so I'm including it for possible future use.
	SCANNERID=x

 ;Include one of the lines below to map resolutions to another resolution value (ex, you select 100 dpi but want 101 dpi)
 ;The hint uses a list of resolutions where the first value (x) is the resolution you want mapped and the next value (y)
 ;is the one you want it mapped to.
	MAPXRES=x,y,x,y,...
	MAPYRES=x,y,x,y,...
	
 ;Include the lines below if the scanner says it is returning one resolution when in-fact it is returning another.  (ex, 
 ;scanner reports the image is 100 dpi when it is really 101).  The hint can have a list of approximate resolutions and
 ;should be combined with the RESAPPRXDIF hint to indicate the maximum difference between the actual and approximate
 ;values.
	RESAPPRX=x,x,x,x,...
	RESAPPRXDIF=x

<END>

[WIA Dummy Entry Rev 1.1]

;This hint was added for some HP scanners which didn't retain the bitdepth value properly.  If the scanner was set to a color
;type of either gray or BW and it was closed and reopened, the color type would be retained but the bitdepth would be 24
;If you tried to reset the value to either BW or gray, it would see the color type was correct and wouldn't verify the bitdepth
;so this makes sure that we always set it to color when the driver is opened.
	WIAPRESETTOCOLOR=YES

;Include the line below to override the transfer count set by default.  Usually it is -1 (as many as you have) or 1(this is the default in the code).  
	WIAXFERCOUNT=x 

;The hint below is to turn on a new ADF transfer model that was introduced by WIA, These scanners can't detect whether a page
; is in their ADF without scanning first.  They also expect to transfer the entire stack in one transfer instead of a page 
; at a time so we have to deal with getting multiple images in the buffer.  Note: you may also need to at a WIAXFERCOUNT=-1
; hint for some of these scanners to work properly

	WIAMULTIPAGEBUFFER=YES

;The hint below is for setting a valid range and default brightness values for those devices that don't report them properly.  It can 
; also be used to limit the range to a subset of the device's range if desired.
	WIABRIGHTRANGE=<dark value,light value,default> example:
	WIABRIGHTRANGE=-1000,1000,0

;Set the brightness setting to its default value.  This prevents the value
;getting set to something the generates an error because of an improper value
;Some mustek scanners that don't handle brightness negotiation properly need this 
;hint
	WIADFLTBRIGHT=USE MSG_SET

;Set brightness default value
	WIADFLTBRIGHTVAL=100

;Include the line below if changing the brightness when scanning B+W doesn't show any noticable change to the image.
;Some scanners use thresholding instead of brightness for B+W.  If one hint doesn't work, try the other since the TWAIN
;specification doesn't say which way the range should map to.
	WIATHRESHOLD=LOWLIGHT
	WIATHRESHOLD=LOWDARK

;The hint below is for setting a valid range and default contrast values for those devices that don't report them properly.  It can 
; also be used to limit the range to a subset of the device's range if desired.
	WIACONTRASTRANGE=<low value,high value,default> example:
	WIACONTRASTRANGE=-128,128,0

;Set the contrast setting to its default value.  
	WIADFLTCONTRAST=USE MSG_SET

;Set contrast default value
	WIADFLTCONTRASTVAL=100

;The following indicate that the device doesn't allow setting contrast/brightness but instead chooses the value automatically
;  which is different than setting the ICAP_AUTOBRIGHTNESS capability that is provided by TWAIN.
	WIABRIGHTNESS=AUTO
	WIACONTRAST=AUTO


	WIARESRANGE=<min,max,step> example:
	WIARESRANGE=75,600,50

;Include the line below to set a default resolution.  This is usually used for a digital camera which doesn't report a 
;resolution.  100 is a good default value in this case.
	WIADFLTRES=x

	WIAMAXHEIGHT=<Physical Heigth of the platen in inches> example:
	WIAMAXHEIGHT=11

	WIAMAXWIDTH=<Physical Width of the platen in inches>  example:
	WIAMAXWIDTH=8.5

;SHEET FEEDER AND ADF HINTS
;The following entries can be tried to allow proper operation of scanners that do not properly
;report whether an optional ADF is attatched of if the scanner is a sheet fed only scanner
	WIAADF=NO
	WIAADF=YES
	WIAADF=SHEET
	WIAADF=SCROLLFED ;For ScrollFed devices, they always transfer in native mode and always return true that another page is waiting.  When
; there are no more pages, it will return the XS_FEEDEREMPTY error code from the call to XS_BeginScan

;The following three entries force xscan to attempt to set and test whether there 
;is an ADF in a variety of manners for Data Sources that don't respond well
;to the conventional ways of querying the existence of an ADF.
	WIASETALL=YES
	WIASETADF=YES
	WIASET&TEST=YES

;The following hints indicate that the scanner can detect a page is ready in the corresponding mode
	WIADUPLEXDETECT=YES
	WIAADFDETECT=YES
	WIAFLATDETECT
	

;Include the following if the scanner is a hand held scanner
	WIAADF=HAND

;DUPLEX Hints
;Include the hints below for a scanner which doesn't report its duplex scanning support correctly
	WIADUPLEX=YES
	WIADUPLEX=NO

;Include the proper entry below if any of binary, grey, or color scans seem inverted
	WIAINVERTB=YES
	WIAINVERTG=YES
	WIAINVERTC=YES

;WIA USER INTERFACE HINTS
;The following lines force the scan to take place using either the scanner's native user interface,
;the application's, or the scanner's native user interface only for the first scan of a multiple image scan respectively.
;The scan will proceed with the application's user interface if no hint is found.  
	WIAUI=SHOW
	WIAUI=HIDE
	WIAUI=ONCE

;Include the following to disable two-pass scanning.  Note: Two-pass scanning was removed in OP 11 and later 
;products.
	WIATWOPASS=DISABLED



;Include the following line or lines to alter the buffersize used when doing a memory transfer. This will sometimes solve
;problems when there is a failure during the transfer.  The WIABUFFERSIZEPERCENT hint requires the WIABUFFERSIZE hint to
;specify the percentage value which multiplied by the total image size is used to calculate the new buffer size.
	WIABUFFERSIZE=x	(size in bytes or a percentage of the size of the image when combined with the hint below)
	WIABUFFERSIZEPERCENT=YES

;Include the following line to turn off double buffering mode when doing a memory transfer.  WIA allows you to do either
;single or double buffered mode.  The advantage is that when doing double buffered mode, the application can read from 
;one half of the buffer while the driver is writing to the other.
	WIADOUBLEBUFFER=FALSE

;Include the line below if the WIA source allows setting CAP_INDICATORS off but really
;needs them to be on to work properly
	WIAINDICATORS=ON

;Include one of the lines below if the origin of the scanner is in the middle of platen or to the right side.
;This is common in Sheetfed scanners in which the paper guide slides to the center for business cards etc.
;The following corresponds to sheetfed/ADF and flatbeds respectively
	WIAREGADF=CENTER
	WIAREGADF=RIGHTJUSTIFIED

	WIAREGFLATHORIZONTAL=CENTER   
	WIAREGFLATHORIZONTAL=RIGHTJUSTIFIED
	WIAREGFLATVERTICAL=CENTER   
	WIAREGFLATVERTICAL=RIGHTJUSTIFIED

;Include the line below if the WIA source only supports the native mode image transfer mechanism
;only do this if absolutely necessary as it will usually be slower and use more memory.
	WIAXFERMECH=NATIVE

;Include the line below if scanner shuts off communication with application as it brings the lamp
;back to its home position. This will force xscan to sit idle for the specified amount of time
;allowing the lamp to return home before it attempts to resume communication.
	WIAENDDELAY=<time in seconds> example:
	WIAENDDELAY=15

;Include the line below if the scanner automatically determines page size by using a black background or
;sensors on movable paper guide(s)
	WIAPAGESIZE=AUTOMATIC

;Include the line below if the WIA source's user interface or progress indicator comes up behind the
;application's user interface. 
	WIAUI=BEHIND

;Include one of the lines below if the scanner's ADF doesn't report whether a page is inserted correctly.
	WIAPENDINGXFERS=YES
	WIAPENDINGXFERS=NO
	WIAPENDINGXFERS=BOTH
	WIAREOPEN=FEEDER	; this line shuts the data source down and reopens it every time you check the feeder
						; this hint was added for the HP 54xxC series which required this to report whether a page is waiting properly

;Include one of the lines below to indicate the type of device you are using
	WIADEVICETYPE=CAMERA
	WIADEVICETYPE=SCANNER

;****The following hints shouldn't be used without testing them in a debugging environment first.


;Include one of the lines below if the scanner is reporting its pixelflavor incorrectly
	WIAPIXELFLAVOR=VANILLA
	WIAPIXELFLAVOR=CHOCOLATE

 ;Include the line below to set the ID of the scanner used with this particular driver.  Note: currently this hint is not
 ;used for TWAIN or WIA so I'm including it for possible future use.
	WIASCANNERID=x

 ;Include one of the lines below to map resolutions to another resolution value (ex, you select 100 dpi but want 101 dpi)
 ;The hint uses a list of resolutions where the first value (x) is the resolution you want mapped and the next value (y)
 ;is the one you want it mapped to.
	WIAMAPXRES=x,y,x,y,...
	WIAMAPYRES=x,y,x,y,...
	
 ;Include the lines below if the scanner says it is returning one resolution when in-fact it is returning another.  (ex, 
 ;scanner reports the image is 100 dpi when it is really 101).  The hint can have a list of approximate resolutions and
 ;should be combined with the RESAPPRXDIF hint to indicate the maximum difference between the actual and approximate
 ;values.
	WIARESAPPRX=x,x,x,x,
	WIARESAPPRXDIF=x

<END>
