WiaEnableDuplex
WiaEnableDuplex
Hi,
how can I enable the Wia Duplex Scan? I have tried the following code without success:
...
oGdPictureImaging.WiaEnableDuplex(true);
oGdPictureImaging.WiaSelectFeeder(true);
do
{
ImageID = oGdPictureImaging.WiaAcquireToGdPictureImage();
if (ImageID != 0)
...
Thank you!
how can I enable the Wia Duplex Scan? I have tried the following code without success:
...
oGdPictureImaging.WiaEnableDuplex(true);
oGdPictureImaging.WiaSelectFeeder(true);
do
{
ImageID = oGdPictureImaging.WiaAcquireToGdPictureImage();
if (ImageID != 0)
...
Thank you!
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: WiaEnableDuplex
Hi,
Please check the return status of the function: WiaEnableDuplex. If the result is false, please use WiaGetLastError to diagnose the problem.
Best,
Sami
Please check the return status of the function: WiaEnableDuplex. If the result is false, please use WiaGetLastError to diagnose the problem.
Best,
Sami
Re: WiaEnableDuplex
Hi Sami,
the result of WiaEnableDuplex is true and WiaGetLastError returns WIA_OK.
The Problem is that WiaAcquireToGdPictureImage() only acquires the front side.
The same scanner (Kodak i1120) can scan Duplex with GdPicture Twain and with Windows Fax&Scan also Duplex is possible with this Scanner using Wia.
Thank you!
the result of WiaEnableDuplex is true and WiaGetLastError returns WIA_OK.
The Problem is that WiaAcquireToGdPictureImage() only acquires the front side.
The same scanner (Kodak i1120) can scan Duplex with GdPicture Twain and with Windows Fax&Scan also Duplex is possible with this Scanner using Wia.
Thank you!
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: WiaEnableDuplex
Hi,
Unfortunately, WIA is usually poorly implemented and when TWAIN is available this is what should be used especially with document feeder where WIA never works as expected.
Please see point 4 in the following topic: viewtopic.php?t=1486
Best,
Sami
Unfortunately, WIA is usually poorly implemented and when TWAIN is available this is what should be used especially with document feeder where WIA never works as expected.
Please see point 4 in the following topic: viewtopic.php?t=1486
Best,
Sami
Re: WiaEnableDuplex
Hi,
Unfortunately, I have to implement a running solution for both Twain and Wia. I have tried this:
if(oGdPictureImaging.WiaIsDuplexAvailable())
if(oGdPictureImaging.WiaIsDuplexEnabled() == false)
if(oGdPictureImaging.WiaEnableDuplex(true) == false)
rc = (int) oGdPictureImaging.WiaGetLastError();
else
if (oGdPictureImaging.WiaIsDuplexEnabled() == false)
rc = (int)oGdPictureImaging.WiaGetLastError();
The second WiaIsDuplexEnabled() returns true, so WiaEnableDuplex(true) seem to do something.
How do I have to proceed if WiaAcquireToGdPictureImage() is not scanning the back side? What else can I try?
Thank you!
Unfortunately, I have to implement a running solution for both Twain and Wia. I have tried this:
if(oGdPictureImaging.WiaIsDuplexAvailable())
if(oGdPictureImaging.WiaIsDuplexEnabled() == false)
if(oGdPictureImaging.WiaEnableDuplex(true) == false)
rc = (int) oGdPictureImaging.WiaGetLastError();
else
if (oGdPictureImaging.WiaIsDuplexEnabled() == false)
rc = (int)oGdPictureImaging.WiaGetLastError();
The second WiaIsDuplexEnabled() returns true, so WiaEnableDuplex(true) seem to do something.
How do I have to proceed if WiaAcquireToGdPictureImage() is not scanning the back side? What else can I try?
Thank you!
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: WiaEnableDuplex
Hi,
Again, unfortunately the WIA protocol has problems controlling the document feeder and using it. If you have Twain I highly suggest you use it.
Unfortunately this is out of the control of GdPicture.
Best,
Sami
Again, unfortunately the WIA protocol has problems controlling the document feeder and using it. If you have Twain I highly suggest you use it.
Unfortunately this is out of the control of GdPicture.
Best,
Sami
Re: WiaEnableDuplex
Hi Sami,
if Windows Fax and Scan can scan Duplex with WIA on the same scanner, the bug has to be either in GdPicture or in my code. Is there any sample code for WiaEnableDuplex available? My code only acquires the front page:
...
oGdPictureImaging.WiaEnableDuplex(true);
do
{
ImageID = oGdPictureImaging.WiaAcquireToGdPictureImage();
...
Thank you!
if Windows Fax and Scan can scan Duplex with WIA on the same scanner, the bug has to be either in GdPicture or in my code. Is there any sample code for WiaEnableDuplex available? My code only acquires the front page:
...
oGdPictureImaging.WiaEnableDuplex(true);
do
{
ImageID = oGdPictureImaging.WiaAcquireToGdPictureImage();
...
Thank you!
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: WiaEnableDuplex
Hi,
This issue would require further investigation. Please supply us with a code that recreates the problem and the problem only and attach it to a support ticket with explanation of the issue at our support platform:
http://support.orpalis.com/
Best,
Sami
This issue would require further investigation. Please supply us with a code that recreates the problem and the problem only and attach it to a support ticket with explanation of the issue at our support platform:
http://support.orpalis.com/
Best,
Sami
Who is online
Users browsing this forum: No registered users and 1 guest