Contact us


All times are UTC - 8 hours



Post new topic Reply to topic  [ 6 posts ] 
Author Message
Offline Profile  


Joined: Thu Sep 12, 2013 12:54 pm
Posts: 5
I have the following markup. When I call AcquireImage() on the plugin object, the image gets scanned just fine, but the OnPostTransfer and OnPostAllTransfers events don't fire. The mouse click event does work, interestingly. I had been using Dynamic Web TWAIN, and the events worked there, but they don't work in Image Capture Suite, either when I include the plugin in my page, or in the ICS demos.

Thanks!

Code:
<embed id="imageCapturePlugin"
            pluginspage="Resources/ImageCaptureSuitePlugIn.msi"
            type="Application/ImageCaptureSuite-Plugin"
            style="display: inline; width: 340px; height: 440px"
            OnPostTransfer="Dynamsoft_OnPostTransfer"
            OnPostAllTransfers='Dynamsoft_OnPostAllTransfers'
            OnMouseClick='Dynamsoft_OnMouseClick' />
    <script type="text/javascript">
        function Dynamsoft_OnPostTransfer()
        {
            console.log('Dynamsoft_OnPostTransfer fired');
        }

        function Dynamsoft_OnPostAllTransfers()
        {
            console.log('Dynamsoft_OnPostAllTransfers fired');
        }

        function Dynamsoft_OnMouseClick()
        {
            console.log('Dynamsoft_OnMouseClick fired');
        }
    </script>


User avatar
Offline Profile  


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1697
Hi baikal,

Thanks for your post.

May I know what version of ImageCapture Suite you are using? 8.2 or 9.0? Trial version?

You mean you have tried out our samples in the installation folder, and the events still don't work? Have you test our demo in IE?

Please keep me updated on this.

Thanks,

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


Offline Profile  


Joined: Thu Sep 12, 2013 12:54 pm
Posts: 5
I'm using ICS 9.1 trial version. I've tried the samples in the installation folder, and the Dynamsoft_OnPostTransfer and Dynamsoft_OnPostAllTransfers events never get called. (I tested with breakpoints and console.log). I have tested in both Chrome and IE10. I know events are working in general, because clicking on the image pane fires the Dynamsoft_OnMouseClick function.

I've found a workaround, whereby I poll the scanner with DataSourceStatus() to wait until it has finished acquiring the image, at which point I can perform the processing I need to do.


User avatar
Offline Profile  


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1697
Hi baikal,

Thanks for your update.

Actually, the latest version of ImageCapture Suite is 9.0. After checking with our testing team, I was told that it is a known issue.

To fix it, please download the internal version of ICS from the links below:

http://www.dynamsoft.com/download/Suppo ... eSuite.cab

http://www.dynamsoft.com/download/Suppo ... itex64.cab

http://www.dynamsoft.com/download/Suppo ... PlugIn.msi

1. Uninstall old version

Firstly, please uninstall the old version. Kindly navigate to Start menu -> Control Panel -> Uninstall a Program.

2. Deploy new components to server side

Please replace old resources with the new ones below under your application folder.

ActiveX Edition: DynamicWebTWAIN.cab and DynamicWebTWAINx64.cab
Plug-in Edition: DynamicWebTWAINPlugIn.msi

Please try it and keep me updated on this.

Thanks,

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


Offline Profile  


Joined: Thu Sep 12, 2013 12:54 pm
Posts: 5
That update solved my problem, thanks.


User avatar
Offline Profile  


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1697
Hi baikal,

Thanks for your update.

Please feel free to contact me with any questions or comments. :)

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Copyright © 2016 Dynamsoft | All Rights Reserved
dynamic designed by Dynamsoft team