- marked as trivial
Read ICAP_Rotation from a EPSON DS-560
I have a simple piece of code that read and display some caps and I have a problem with ICAP_ROTATION on a Epson DS-560. I get an empty list
//ICAP_ROTATION
sem = src.ICapRotation.IsSupported;
aidaLabelRotation.Enabled = sem;
cmbRotation.Enabled = sem;
if (sem)
LoadRotations(src.ICapRotation);
....
private void LoadRotations(ICapWrapper<TWFix32> cap)
{
var list = cap.Get();
cmbRotation.DataSource = list;
var cur = cap.GetCurrent();
if (list.Contains(cur))
{
cmbRotation.SelectedItem = cur;
}
}
I had no problems with other models tested in the past (like Canons: DR 2010C, C225, 123)
Loking with twirl seems to have a TWrange there
Marian,
Comments (6)
-
reporter -
repo owner As I don't have this scanner, you'll have to help with debugging to find out why. In the CapWrapper class does CanGet return true or is the CapGet() not returning a list?
If CanGet is true you'll have to look inside CapabilityReader's PopulateFromCapValue method to see if it's correctly reading the cap.
-
repo owner I think it may be the range values being read incorrectly. For all others I used object but for range used uint.
-
repo owner See if it works with the latest 3.2.6 version.
-
reporter I confirm that it OK now Thank you Eugene/
-
repo owner - changed status to resolved
- Log in to comment