Quantcast
Channel: Saraff.Twain.NET
Browsing all 419 articles
Browse latest View live
↧

New Post: Scan automatically ?

Thank you Saraff! :)

View Article


New Post: InvalidCastException when retrieving SupportedCaps capability

I'm using Saraff version, 1.0.20.517, with an HP Scanjet 8200 with official driver. I am iterating on capabilities in order to retrieve the supported ones. In order to test if it is supporte I'm...

View Article


New Post: InvalidCastException when retrieving SupportedCaps capability

Hello, jruizaranguren. According to the specification, the operation DG_CONTROL / DAT_CAPABILITY / MSG_QUERYSUPPORT must return the container of a TWON_ONEVALUE type.DG_CONTROL / DAT_CAPABILITY /...

View Article

New Post: InvalidCastException when retrieving SupportedCaps capability

Thank you very much for the answer (and awesome library).

View Article

New Post: MessageBox doesn't show in the AcquireCompleted event

Hello guys! I does not understand what is happening with my code .. If i put MessageBox out of AcquireCompleted event it work's! I'm doing something like this: class Scanner{ public Scanner(){...

View Article


New Post: SetCap TwCap.ICompression BadValue setting TwCompression.Lzw

I am trying to set the capability for compression. I check to see if the capability is supported and set it with the following code: if ((_twain.IsCapSupported(TwCap.ICompression) & TwQC.Set) != 0)...

View Article

New Post: MessageBox doesn't show in the AcquireCompleted event

Hello, pogs17. Try process the Twain32.AcquireError event.

View Article

New Post: SetCap TwCap.ICompression BadValue setting TwCompression.Lzw

Hello, GuyTraveler. Invoke the _twain.Capabilities.Compression.Get() method that get supported values.

View Article


New Post: The library maintains a waiting state even after the call of...

Hello everyone. I'm developing a tool in WPF and I have encountered a problem that occurs when you use a scanner with ADF . I manually set the settings and when calling the ' AcquireCompleted ' I have...

View Article


New Post: The library maintains a waiting state even after the call of...

Hello, alevin. I don't quite understand the purpose of this code:if (!this._twain32.ShowUI) { this._twain32.CloseDataSource(); }if (!this._twain32.ShowUI) { this._twain32.OpenDataSource();...

View Article

New Post: The library maintains a waiting state even after the call of...

To speed I have not included all the code for my UserControl . The OpenDSM() is called just created the UserControl . The OpenDataSource() is called to set the configuration parameters; without the...

View Article

New Post: The library maintains a waiting state even after the call of...

Hello, alevin. I will clarify my question. What do you expect from this line of code.this._twain32.DisableAfterAcquire = false;

View Article

New Post: The library maintains a waiting state even after the call of...

This line should enable / disable the caller after the acquisition . I tried to remove it , setting it to true to false , but the result does not change .

View Article


New Post: The library maintains a waiting state even after the call of...

Hello, alevin. I'm afraid you misunderstood the purpose of a Twain32.DisableAfterAcquire property. I suggest you read the TWAIN specification.

View Article

New Post: MessageBox doesn't show in the AcquireCompleted event

Hello, SARAFF. Ok, but this event is useful when an error occurs. I want to show a message when the scan process is finished. When i used 'MessageBox.Show' out of the event 'AcquireCompleted' it...

View Article


New Post: SetCap TwCap.ICompression BadValue setting TwCompression.Lzw

Thanks for the quick response. The values the get method returned were None, Group31D, Group31Deol, Group32D, Group4, Jpeg. I think the best solution for me going forward to guarantee compression will...

View Article

New Post: MessageBox doesn't show in the AcquireCompleted event

Hello, pogs17. Probably, during the Acquire process occurs exception. In this case, instead the Twain32.AcquireCompleted event occurs the Twain32.AcquireError event. Check a ConditionCode property and...

View Article


New Post: SetCap TwCap.ICompression BadValue setting TwCompression.Lzw

Hello, GuyTraveler.ICAP_COMPRESSION Allows the application and Source to identify which compression schemes they have in common for Buffered Memory and File transfers. For File transfer since only...

View Article

New Post: InvalidCastException when retrieving SupportedCaps capability

I received the same error on a Kyocera TASKalfa 4551ci so I decided to review the issue. Both HP Scanjet 8200 and Kyocera TASKalfa 4551ci are not Twain 2 drivers, so the 2.2 spec does not apply here....

View Article

New Post: InvalidCastException when retrieving SupportedCaps capability

Hello, jruizaranguren. I think you mistaken, because a DG_CONTROL / DAT_CAPABILITY / MSG_QUERYSUPPORT operation must return a bit flags value of a TWQC_xxxx. Bellow you can see result of DG_CONTROL /...

View Article
Browsing all 419 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>