Forums › TWAIN Classic › How do you determine if a scanner is powered on or not › Re: Re: How do you determine if a scanner is powered on or not
- Topics - 3
- Replies - 66
- Total Posts - 69
I am using VB.net and I am trying to get my application to determine if the scanner is online.
I’m not familiar with the VB library you are using but it should provide a way to query capabilities via the DG_CONTROL/DAT_CAPABILITY/MSG_GET triplet. CAP_DEVICEONLINE will tell you if the scanner is online. Read about that capability, and capabilities in general, in the TWAIN specification.