[sane-devel] [Announcement] Sane-0.01 -- Perl bindings for sane-backends 1.0.19

2008-11-21 Thread jeffrey.ratcli...@gmail.com
I have uploaded Sane-0.01 to CPAN:

http://search.cpan.org/~ratcliffe/Sane-0.01/lib/Sane.pm

sane-backends 1.0.19 is required.

I have transliterated scanimage and scanadf into Perl, so you can try the  
bindings out even with no knowledge of Perl.

Please test!

Regards

Jeff
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20081121/449b6bf1/attachment.htm
 


[sane-devel] HP LaserJet CM1312nfi CC431A printer/scanner/fax

2008-11-21 Thread m. allan noah
did you try asking the hplip guys?

allan

On Fri, Nov 21, 2008 at 12:06 AM,  kilgota at banach.math.auburn.edu wrote:

 My wife's oldest son just sent me the following note:


 I bought an HP LaserJet CM1312nfi CC431A which is a
 network printer / scanner (and copier / fax). Printing works perfectly via
 the network interface using some generic HP driver which CUPS already had.
 For the scanning I was looking at SANE www.sane-project.org , which
 appears
 to be the primary open source scanner software.

 The sane-find-scanner program does find the device when I connect it via
 USB, but scanimage --list-devices does not. It's not on their supported
 list, but I'm thinking (guessing) the scanner can't be all that different
 from all the other scanners out there... or at least from the other HPs.
 Any ideas on how to get it working ? BTW I have very little knowledge of
 USB devices under Linux other than simply mounting drives, so I haven't
 really tried anything yet )

 (I mainly bought the thing for the printing / copying / fax, so this is
 in
 part academic; but it would be nice to have it all work in Linux, plus I
 figured this might be right up your alley...)


 So I wonder if anyone knows anything about this particular gadget. If we
 need to learn more about it, then he does not live very close to us, but
 he does run Linux at home and would probably be willing to participate to
 some extent in figuring out what to do. Naturally, I told him that a first
 good step is the output of lsusb or /proc/bus/usb/devices (if available)
 or, preferably, both. I have not yet gotten anything back from him about
 that.

 Just curious. Do we get better cooperation out of HP these days than we
 used to?

 Theodore Kilgore


 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-request at lists.alioth.debian.org




-- 
The truth is an offense, but not a sin



[sane-devel] [Announcement] Sane-0.01 -- Perl bindings for sane-backends 1.0.19

2008-11-21 Thread Alessandro Zummo
On Fri, 21 Nov 2008 08:40:46 +
jeffrey.ratcliffe at gmail.com wrote:

 I have uploaded Sane-0.01 to CPAN:
 
 http://search.cpan.org/~ratcliffe/Sane-0.01/lib/Sane.pm

 great work Jeff!

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it




[sane-devel] [Announcement] Sane-0.01 -- Perl bindings for sane-backends 1.0.19

2008-11-21 Thread m. allan noah
On Fri, Nov 21, 2008 at 8:51 AM, Alessandro Zummo
azummo-lists at towertech.it wrote:
 On Fri, 21 Nov 2008 08:40:46 +
 jeffrey.ratcliffe at gmail.com wrote:

 I have uploaded Sane-0.01 to CPAN:

 http://search.cpan.org/~ratcliffe/Sane-0.01/lib/Sane.pm

  great work Jeff!


yes- i have been looking forward to this...

allan
-- 
The truth is an offense, but not a sin



[sane-devel] AV122 vertical strips...can you assist?

2008-11-21 Thread m. allan noah
the author of the avision backend seems to be missing, but you could
try to email him directly.

rene at exactcode dot de

allan

On Thu, Nov 20, 2008 at 6:09 AM, Zudio Solutions zudiosol at gmail.com wrote:
 Hello to the community. I'm new to SANE and hope that you can assist.

 I'm using AV122 Avision scanner and getting horrible vertical strips
 no matter what options I'm using.
 I'm on this environment:
  (vendor=0x0638 [AVISION ], product=0x0a33 [AV 122])
  scanimage (sane-backends) 1.0.19; backend version 1.0.19
  device `avision:libusb:004:005' is a Avision AV122 sheetfed scanner
  Ubuntu 8.10

 From my readings in the archive the issue relates to calibration.
 Trying 'quality calibration' ON and OFF doesn't change a thing.
 Scanning in windows is fine, no issues.

 Any ideas?
 Thanks in advance.
 GHOZ

 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-request at lists.alioth.debian.org




-- 
The truth is an offense, but not a sin



[sane-devel] increase your scanning by 22%

2008-11-21 Thread Daniel Drake
Hi,

Over the last few months, I have been developing the next major version 
of libusb: libusb-1.0

It is API-incompatible with libusb-0.1, which is used by SANE, but it is 
designed so that you can install both 0.1 and 1.0 on the same system 
without any problems.

I also developed an emulation layer which is effectively a replacement 
for libusb-0.1, called libusb-compat-0.1.
libusb-compat-0.1 implements exactly the same API as libusb-0.1, but it 
just converts the libusb-0.1 function calls into their 1.0 equivalents.

The advantage of using the emulation layer (over plain old libusb-0.1) 
is that you can then take advantage of some of the cool stuff in 
libusb-1.0. In some circumstances, transfers are a lot faster.

So, I tried libusb-compat-0.1 + libusb-1.0 with SANE, on my HP 
photosmart C4180 scanner. This is an old computer, so it only has USB 1.1.

Using libusb-0.1, scanning an A4 page took 73 seconds.
With my new libraries, it takes 60 seconds. That's 22% faster. I am 
using this command to scan:

time scanimage --format tiff --resolution 300 --compression None \
 filename

I believe further speed increases are possible, if sane was to switch to 
libusb-1.0 and use the asynchronous transfer model to queue up multiple 
USB requests at once at the hardware level.  However, that requires code 
changes in sane and is probably some way down the line. The cool thing 
about what I've described above is that you don't have to change sane in 
any way.

It would be cool if other people could install libusb-1.0 and 
libusb-compat-0.1, test it, and measure the difference in speed.

Source downloads here:
https://sourceforge.net/project/showfiles.php?group_id=1674

Note that libusb-compat-0.1 (intentionally) conflicts with libusb-0.1, 
so don't try to have them both installed at once.

Daniel



[sane-devel] HP LaserJet CM1312nfi CC431A printer/scanner/fax

2008-11-21 Thread kilg...@banach.math.auburn.edu


On Fri, 21 Nov 2008, m. allan noah wrote:

 did you try asking the hplip guys?

No. But I would be glad to do so. Can anyone help me with an appropriate 
contact address?

Theodore Kilgore


 allan

 On Fri, Nov 21, 2008 at 12:06 AM,  kilgota at banach.math.auburn.edu wrote:

 My wife's oldest son just sent me the following note:


 I bought an HP LaserJet CM1312nfi CC431A which is a
 network printer / scanner (and copier / fax). Printing works perfectly via
 the network interface using some generic HP driver which CUPS already had.
 For the scanning I was looking at SANE www.sane-project.org , which
 appears
 to be the primary open source scanner software.

 The sane-find-scanner program does find the device when I connect it via
 USB, but scanimage --list-devices does not. It's not on their supported
 list, but I'm thinking (guessing) the scanner can't be all that different
 from all the other scanners out there... or at least from the other HPs.
 Any ideas on how to get it working ? BTW I have very little knowledge of
 USB devices under Linux other than simply mounting drives, so I haven't
 really tried anything yet )

 (I mainly bought the thing for the printing / copying / fax, so this is
 in
 part academic; but it would be nice to have it all work in Linux, plus I
 figured this might be right up your alley...)


 So I wonder if anyone knows anything about this particular gadget. If we
 need to learn more about it, then he does not live very close to us, but
 he does run Linux at home and would probably be willing to participate to
 some extent in figuring out what to do. Naturally, I told him that a first
 good step is the output of lsusb or /proc/bus/usb/devices (if available)
 or, preferably, both. I have not yet gotten anything back from him about
 that.

 Just curious. Do we get better cooperation out of HP these days than we
 used to?

 Theodore Kilgore


 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-request at lists.alioth.debian.org




 -- 
 The truth is an offense, but not a sin




[sane-devel] AV122 vertical strips...can you assist?

2008-11-21 Thread René Rebe
m. allan noah wrote:
 the author of the avision backend seems to be missing, but you could
 try to email him directly.

 rene at exactcode dot de
   
Missing? (Just busy at work I would name it :-)

I also got another mail asking about the AV122 buttons, as he did
not mention other problems I think CVS head should be fine. Have
you tried CVS?

 allan

 On Thu, Nov 20, 2008 at 6:09 AM, Zudio Solutions zudiosol at gmail.com 
 wrote:
   
 Hello to the community. I'm new to SANE and hope that you can assist.

 I'm using AV122 Avision scanner and getting horrible vertical strips
 no matter what options I'm using.
 I'm on this environment:
  (vendor=0x0638 [AVISION ], product=0x0a33 [AV 122])
  scanimage (sane-backends) 1.0.19; backend version 1.0.19
  device `avision:libusb:004:005' is a Avision AV122 sheetfed scanner
  Ubuntu 8.10

 From my readings in the archive the issue relates to calibration.
 Trying 'quality calibration' ON and OFF doesn't change a thing.
 Scanning in windows is fine, no issues.

 Any ideas?
 Thanks in advance.
 GHOZ

 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-request at lists.alioth.debian.org
 
-- 
  Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name




[sane-devel] AV122 vertical strips...can you assist?

2008-11-21 Thread René Rebe
m. allan noah wrote:
 the author of the avision backend seems to be missing, but you could
 try to email him directly.

 rene at exactcode dot de
   
Missing? (Just busy at work I would name it :-)

I also got another mail asking about the AV122 buttons, as he did
not mention other problems I think CVS head should be fine. Have
you tried CVS?

For prompt replies one can also always contact my employing company
ExactCODE for support ...
 allan

 On Thu, Nov 20, 2008 at 6:09 AM, Zudio Solutions zudiosol at gmail.com 
 wrote:
   
 Hello to the community. I'm new to SANE and hope that you can assist.

 I'm using AV122 Avision scanner and getting horrible vertical strips
 no matter what options I'm using.
 I'm on this environment:
  (vendor=0x0638 [AVISION ], product=0x0a33 [AV 122])
  scanimage (sane-backends) 1.0.19; backend version 1.0.19
  device `avision:libusb:004:005' is a Avision AV122 sheetfed scanner
  Ubuntu 8.10

 From my readings in the archive the issue relates to calibration.
 Trying 'quality calibration' ON and OFF doesn't change a thing.
 Scanning in windows is fine, no issues.

 Any ideas?
 Thanks in advance.
 GHOZ

 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-request at lists.alioth.debian.org
 
-- 
  Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name




[sane-devel] AV122 vertical strips...can you assist?

2008-11-21 Thread Wilhelm Meier
Am Freitag 21 November 2008 schrieb Ren? Rebe:
 m. allan noah wrote:
  the author of the avision backend seems to be missing, but you
  could try to email him directly.
 
  rene at exactcode dot de

 Missing? (Just busy at work I would name it :-)

 I also got another mail asking about the AV122 buttons

yes, that was me ...

 , as he did 
 not mention other problems I think CVS head should be fine. 

and CVS Head is fine with respect to scanning and image data!

 Have 
 you tried CVS?

  allan
 
  On Thu, Nov 20, 2008 at 6:09 AM, Zudio Solutions 
zudiosol at gmail.com wrote:
  Hello to the community. I'm new to SANE and hope that you can
  assist.
 
  I'm using AV122 Avision scanner and getting horrible vertical
  strips no matter what options I'm using.
  I'm on this environment:
   (vendor=0x0638 [AVISION ], product=0x0a33 [AV 122])
   scanimage (sane-backends) 1.0.19; backend version 1.0.19
   device `avision:libusb:004:005' is a Avision AV122 sheetfed
  scanner Ubuntu 8.10
 
  From my readings in the archive the issue relates to
  calibration. Trying 'quality calibration' ON and OFF doesn't
  change a thing. Scanning in windows is fine, no issues.
 
  Any ideas?
  Thanks in advance.
  GHOZ
 
  --
  sane-devel mailing list: sane-devel at lists.alioth.debian.org
  http://lists.alioth.debian.org/mailman/listinfo/sane-devel
  Unsubscribe: Send mail with subject unsubscribe your_password
  to sane-devel-request at lists.alioth.debian.org

 --
   Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin
   http://exactcode.de | http://t2-project.org |
 http://rene.rebe.name



-- 
Wilhelm