DTWAIN Capabilities by Name and Data Type

Top  Previous  Next

The following is the list of TWAIN Capabilities sorted by the capabilities function and data type that the capability values will use.  The values are equivalent to the TWAIN version 1.8 values.  A complete description of the capabilities can be found in the TWAIN specification (http://www.twain.org/docs/Spec1_9_197.pdf).  

 

Note that a current version of DTWAIN may have more capability constants defined than what is shown below.  Twain capabilities are added (and removed) with each version of TWAIN.  An up-to-date set of DTWAIN capability constants can be found in the 'C' language header file "CAPCONST.H", which is included when DTWAIN is installed.

 

If there is a capability that is available but not listed in the table, the following translation can be applied when calling DTWAIN_GetCapValues or DTWAIN_SetCapValues:

 

Cap TWAIN Type

Equivalent DTWAIN Type

TWTY_BOOL

DTWAIN_BOOL

TWTY_FIX32

DTWAIN_FLOAT

TWTY_FRAME

DTWAIN_FRAME

TWTY_INT16

LONG

TWTY_INT32

LONG

TWTY_STR32

DTWAIN_STRING

TWTY_STR64

DTWAIN_STRING

TWTY_STR128

DTWAIN_STRING

TWTY_STR256

DTWAIN_STRING

TWTY_STR1024

DTWAIN_LONGSTRING

TWTY_UNI512

DTWAIN_UNICODESTRING

TWTY_UINT16

LONG

TWTY_UINT32

LONG

 

Alphabetical listing of capabilities and DTWAIN data types:

Capability

DTWAIN Data Type

DTWAIN_CV_ACAPAUDIOFILEFORMAT

LONG

DTWAIN_CV_ACAPXFERMECH

LONG

DTWAIN_CV_CAPALARMS

LONG

DTWAIN_CV_CAPALARMVOLUME

LONG

DTWAIN_CV_CAPAUTHOR

DTWAIN_STRING

DTWAIN_CV_CAPAUTOFEED                    

DTWAIN_BOOL

DTWAIN_CV_CAPAUTOMATICCAPTURE

LONG

DTWAIN_CV_CAPAUTOSCAN                

DTWAIN_BOOL

DTWAIN_CV_CAPBATTERYMINUTES        

LONG

DTWAIN_CV_CAPBATTERYPERCENTAGE

LONG

DTWAIN_CV_CAPCAMERAPREVIEWUI        

DTWAIN_BOOL

DTWAIN_CV_CAPCAPTION  

DTWAIN_STRING

DTWAIN_CV_CAPCLEARBUFFERS

LONG

DTWAIN_CV_CAPCLEARPAGE

DTWAIN_BOOL

DTWAIN_CV_CAPCUSTOMDSDATA

DTWAIN_BOOL

DTWAIN_CV_CAPDEVICEEVENT        

DTWAIN_BOOL

DTWAIN_CV_CAPDEVICEONLINE

DTWAIN_BOOL

DTWAIN_CV_CAPDEVICETIMEDATE        

DTWAIN_STRING

DTWAIN_CV_CAPDUPLEX                

LONG

DTWAIN_CV_CAPDUPLEXENABLED

DTWAIN_BOOL

DTWAIN_CV_CAPENABLEDSUIONLY

DTWAIN_BOOL

DTWAIN_CV_CAPENDORSER

LONG

DTWAIN_CV_CAPEXTENDEDCAPS

LONG

DTWAIN_CV_CAPFEEDERALIGNMENT

LONG

DTWAIN_CV_CAPFEEDERENABLED

DTWAIN_BOOL

DTWAIN_CV_CAPFEEDERLOADED

DTWAIN_BOOL

DTWAIN_CV_CAPFEEDERORDER

LONG

DTWAIN_CV_CAPFEEDPAGE

DTWAIN_BOOL

DTWAIN_CV_CAPINDICATORS

DTWAIN_BOOL

DTWAIN_CV_CAPJOBCONTROL

LONG

DTWAIN_CV_CAPLANGUAGE

LONG

DTWAIN_CV_CAPMAXBATCHBUFFERS        

LONG

DTWAIN_CV_CAPPAPERDETECTABLE

DTWAIN_BOOL

DTWAIN_CV_CAPPOWERSAVETIME

LONG

DTWAIN_CV_CAPPOWERSUPPLY

LONG

DTWAIN_CV_CAPPRINTER

LONG

DTWAIN_CV_CAPPRINTERENABLED

DTWAIN_BOOL

DTWAIN_CV_CAPPRINTERINDEX

LONG

DTWAIN_CV_CAPPRINTERMODE

LONG

DTWAIN_CV_CAPPRINTERSTRING

DTWAIN_STRING

DTWAIN_CV_CAPPRINTERSUFFIX

DTWAIN_STRING

DTWAIN_CV_CAPREACQUIREALLOWED

DTWAIN_BOOL

DTWAIN_CV_CAPREWINDPAGE

DTWAIN_BOOL

DTWAIN_CV_CAPSERIALNUMBER

DTWAIN_STRING

DTWAIN_CV_CAPSUPPORTEDCAPS

LONG

DTWAIN_CV_CAPTHUMBNAILSENABLED

DTWAIN_BOOL

DTWAIN_CV_CAPTIMEBEFOREFIRSTCAPTURE

DTWAIN_STRING

DTWAIN_CV_CAPTIMEBETWEENCAPTURES

DTWAIN_STRING

DTWAIN_CV_CAPTIMEDATE

DTWAIN_STRING

DTWAIN_CV_CAPTHUMBNAILSENABLED

DTWAIN_BOOL

DTWAIN_CV_CAPUICONTROLLABLE

DTWAIN_BOOL

DTWAIN_CV_CAPXFERCOUNT

LONG

DTWAIN_CV_ICAPAUTOBRIGHT        

DTWAIN_BOOL

DTWAIN_CV_ICAPAUTODISCARDBLANKPAGES

DTWAIN_BOOL

DTWAIN_CV_ICAPAUTOMATICBORDERDETECTION

DTWAIN_BOOL

DTWAIN_CV_ICAPAUTOMATICDESKEW

DTWAIN_BOOL

DTWAIN_CV_ICAPAUTOMATICROTATE

DTWAIN_BOOL

DTWAIN_CV_ICAPBARCODEDETECTIONENABLED

DTWAIN_BOOL

DTWAIN_CV_ICAPBARCODEMAXRETRIES

LONG

DTWAIN_CV_ICAPBARCODEMAXSEARCHPRIORITIES

LONG

DTWAIN_CV_ICAPBARCODESEARCHMODE

LONG

DTWAIN_CV_ICAPBARCODESEARCHPRIORITIES

LONG

DTWAIN_CV_ICAPBARCODETIMEOUT

LONG

DTWAIN_CV_ICAPBITDEPTH

LONG

DTWAIN_CV_ICAPBITDEPTHREDUCTION

LONG

DTWAIN_CV_ICAPBITORDER

LONG

DTWAIN_CV_ICAPBITORDERCODES

LONG

DTWAIN_CV_ICAPBRIGHTNESS

DTWAIN_FLOAT

DTWAIN_CV_ICAPCCITTKFACTOR

LONG

DTWAIN_CV_ICAPCOMPRESSION

LONG

DTWAIN_CV_ICAPCONTRAST

DTWAIN_FLOAT

DTWAIN_CV_ICAPCUSTHALFTONE

LONG

DTWAIN_CV_ICAPEXTIMAGEINFO

DTWAIN_BOOL

DTWAIN_CV_ICAPFILTER

LONG

DTWAIN_CV_ICAPFLASHUSED

LONG

DTWAIN_CV_ICAPFLASHUSED2

LONG

DTWAIN_CV_ICAPFLIPROTATION

LONG

DTWAIN_CV_ICAPFRAMES

DTWAIN_FRAME

DTWAIN_CV_ICAPGAMMA

DTWAIN_FLOAT

DTWAIN_CV_ICAPHALFTONES

DTWAIN_STRING

DTWAIN_CV_ICAPHIGHLIGHT

DTWAIN_FLOAT

DTWAIN_CV_ICAPIMAGEDATASET

LONG

DTWAIN_CV_ICAPIMAGEFILEFORMAT        

LONG

DTWAIN_CV_ICAPIMAGEFILTER

LONG

DTWAIN_CV_ICAPJPEGPIXELTYPE

LONG

DTWAIN_CV_ICAPJPEGQUALITY

LONG

DTWAIN_CV_ICAPLAMPSTATE

DTWAIN_BOOL

DTWAIN_CV_ICAPLIGHTPATH

LONG

DTWAIN_CV_ICAPLIGHTSOURCE

LONG

DTWAIN_CV_ICAPMAXFRAMES

LONG

DTWAIN_CV_ICAPMINIMUMHEIGHT

DTWAIN_FLOAT

DTWAIN_CV_ICAPMINIMUMWIDTH

DTWAIN_FLOAT

DTWAIN_CV_ICAPNOISEFILTER

LONG

DTWAIN_CV_ICAPORIENTATION

LONG

DTWAIN_CV_ICAPOVERSCAN

LONG

DTWAIN_CV_ICAPPATCHCODEDETECTIONENABLED

DTWAIN_BOOL

DTWAIN_CV_ICAPPATCHCODEMAXRETRIES

LONG

DTWAIN_CV_ICAPPATCHCODEMAXSEARCHPRIORITIES

LONG

DTWAIN_CV_ICAPPATCHCODESEARCHMODE

LONG

DTWAIN_CV_ICAPPATCHCODESEARCHPRIORITIES

LONG

DTWAIN_CV_ICAPPATCHCODETIMEOUT

LONG

DTWAIN_CV_ICAPPHYSICALHEIGHT

DTWAIN_FLOAT

DTWAIN_CV_ICAPPHYSICALWIDTH

DTWAIN_FLOAT

DTWAIN_CV_ICAPPIXELFLAVOR

LONG

DTWAIN_CV_ICAPPIXELFLAVORCODES

LONG

DTWAIN_CV_ICAPPIXELTYPE

LONG

DTWAIN_CV_ICAPPLANARCHUNKY

LONG

DTWAIN_CV_ICAPROTATION

DTWAIN_FLOAT

DTWAIN_CV_ICAPSHADOW

DTWAIN_FLOAT

DTWAIN_CV_ICAPSUPPORTEDBARCODETYPES

LONG

DTWAIN_CV_ICAPSUPPORTEDPATCHCODETYPES

LONG

DTWAIN_CV_ICAPSUPPORTEDSIZES

LONG

DTWAIN_CV_ICAPTHRESHOLD

DTWAIN_FLOAT

DTWAIN_CV_ICAPTILES

DTWAIN_BOOL

DTWAIN_CV_ICAPTIMEFILL

LONG

DTWAIN_CV_ICAPUNDEFINEDIMAGESIZE

DTWAIN_BOOL

DTWAIN_CV_ICAPUNITS        

LONG

DTWAIN_CV_ICAPXFERMECH

LONG

DTWAIN_CV_ICAPXNATIVERESOLUTION

DTWAIN_FLOAT

DTWAIN_CV_ICAPXRESOLUTION

DTWAIN_FLOAT

DTWAIN_CV_ICAPXSCALING

DTWAIN_FLOAT

DTWAIN_CV_ICAPYNATIVERESOLUTION

DTWAIN_FLOAT

DTWAIN_CV_ICAPYRESOLUTION

DTWAIN_FLOAT

DTWAIN_CV_ICAPYSCALING

DTWAIN_FLOAT

DTWAIN_CV_ICAPZOOMFACTOR

LONG