Detect paper
Issue #91
new
I can use the CurrentSource.Capabilities.CapPaperDetectable.IsSupported property to determine if a scanner can detect the presence of paper. If that capability is available, how do I use it to detect whether paper is in the scanner?
Comments (2)
-
repo owner -
Hi,
I'm checking this capability like:
dataSource.Open();
if ( dataSource.Capabilities.CapPaperDetectable.CanGet && dataSource.Capabilities.CapPaperDetectable.GetCurrent() == BoolType.True && dataSource.Capabilities.CapFeederLoaded..GetCurrent() == BoolType.False) { throw new Exception("Not loaded"); }
dosn't matter if is loaded or not it is retrunig False. Any suggestions?
- Log in to comment
Use CapFeederLoaded to get current state when it's supported.