Topic: Scanner Support
started by: Kero_1116
Posted by Kero_1116 on Jan. 14 2006,05:34Anyone able to get your scanner working with DSL? If yes, how? Is it possible to network the scanner? My scanner uses SCSI and it's a HP ScanJet 5p
Posted by cbagger01 on Jan. 16 2006,05:07You may be able to use Synaptic or APT-GET to install the SANE package and see if you can get it working.
Posted by berhurt on May 11 2007,07:04Hi, I also have this problem...I tried two things: -
1) apt-get install xsane
but when I type in xsane in the command line it says the licencing information cannot be found and maybe xsane wasn't set up properly.
2) ran the sane front- and backend-packages but I can't find any interface and have no idea how to start the thing in an xshell...
Any help please?
Posted by Juanito on Sep. 05 2007,06:17I've managed to get scanning working from the command line on a couple of hp all-in-one printer/fax/scanners using hplip/sane-backend. It should be possible to network the scanner(s) but I didn't try that yet.
I'd like to be able to scan directly from the mydsl gimp extension but it looks like I'd need to compile xsane or xscanimage and link them as a gimp plug-in.
Did you finally manage to get xsane working (to save me trying)?
Posted by Juanito on Sep. 05 2007,11:01I just discovered that it is possible to scan from the command line directly into the mydsl gimp extension as-is - this works even if gimp is not running:
It's impressive how well dsl managed to manipulate a 32MB image...
Posted by Jason W on Mar. 22 2008,13:24If anyone is interested in Xsane, I have built an extension that works well for my UMAX usb scanner. When the extensions are loaded it is pretty much point and click to scan. Here they are: (unzip the tarballs for the files)
< http://220.127.116.11/dsl/xsane.tar.bz2 >
< http://18.104.22.168/dsl/sane-backends.tar.bz2 >
Both extensions are needed for Xsane, but sane-backends can function on its own from the command line. All the available sane drivers are included but of course I could only test one of them. If it works for others I would like to know. I didn't compile it against the gimp, I just wanted a standalone scanning utility. But that could be done.
Juanito - I tried to scan with your hplip extension but could not. Does your extension support non-hp scanners? If it does I would just use your extension instead of this one. You have obviously put a lot of time into it, and it is very well documented.
Posted by Juanito on Mar. 22 2008,13:35
- no, it will only work with the scanner function on hp all-in-one machines. I did compile sane-backends/frontends but then removed the files not required by hplip.
I was working on a new version of hplip by splitting out cups, hplip and sane, but I couldn't test either cups or sane in standalone mode so I stopped...
Posted by JohnJS on Mar. 22 2008,15:17Juanito:
Reading this thread I thought I'd remind you how you helped me with my scanner.
In Sept 07 you emailed me three files:
sane_libs.tar.gz for my scanner (Acer Flatbedscanner_9).
with info on creating a plug-in for gimp.
They worked fine.
Edit: can also use command: xscanimage from aterm when not running gimp.
Posted by WDef on Mar. 23 2008,23:26I have a sane.uci that I can post if that helps. It's been sitting on my hd awaiting finishing touches.
EDIT: Looks like it will work with Jason's xsane extension.
Posted by Jason W on Mar. 23 2008,23:41A uci extension would be great. I tried to make a .uci of xsane but was frustrated with getting sane to recognize libusb that was already installed into /opt/xsane-0.995. I don't mind using .dsl, but I much prefer .uci if there is a choice.
EDIT: If Wdef has done the sane.uci (the hard part), then making an xsane.uci that uses the sane.uci should be pretty simple.
Posted by Juanito on Mar. 24 2008,03:36
- and it would also be useful if it could be compiled for compatibility with gimp-1.2.uci. xscanimage from hplip can be called from inside gimp-1.2, but it would probably be better not to have to load a 20MB extension...
Posted by WDef on Mar. 24 2008,21:45Give me a day or 2 to post, initially without gimp support.
I assume there's 'configure option for this? I cant remember it was built a few months ago.
Posted by Jason W on Mar. 24 2008,23:19I think I had compiled Xsane with Gimp support built in once, but it added Gimp as a dependency for Xsane to run. There is a tutorial on the Xsane site on how to run Xsane as a Gimp plugin which would not need Gimp support compiled in:
< http://www.xsane.org/doc/sane-xsane-gimp-doc.html >
That I think would be better than requiring the Gimp as a dependency extension if you can just link them together through a simple symbolic link once the extension is loaded. That is if I have read the page right.
Posted by Juanito on Mar. 25 2008,03:34
- yes, there is, but you also have to specify whether you want gtk1/gimp-1.x or gtk2/gimp-2.x
- I used a symbolic link with an order version of xsane and gimp-1.2 which works fine. If the newer version of xsane inserts a dependency on gimp then I guess it is better not to go this way.
Posted by jls legalize on Mar. 28 2008,23:43the file
< http://22.214.171.124/dsl/sane-backends.tar.bz2 >
legalize cannabis, coke.
Posted by Jason W on Mar. 29 2008,11:33Thanks jls_legalize for letting me know. I will look into it when I get home tonight.
EDIT: There is also sane-backends-1.0.18.dsl in the same directory that I use whenever I scan, and I am pretty sure it is not corrupted. But with WDef and Juanito cooking up extensions for scanning/printing, it will not be needed for long.
WDef & Juanito: I would be happy to build an xsane.uci to go with whichever sane.uci you guys submit if you haven't done that already. Either as part of the sane.uci or a seperate package.
Posted by Juanito on Mar. 29 2008,15:15
- 'spoke too soon, I finally managed to print with cups without hplip (I knew I needed hpijs, but forgot hpoj )
Perhaps we could share the work, I could contribute cups-1.3.5.uci and hplip-2.8.2.uci and you guys could contribute sane.uci - note I'd need to know the location of sane since hplip uses its lib(s).
Edit: ...or I could send you the version of sane.uci I made [libusb-0.1.12, sane-backends-1.0.19, sane-frontends-1.0.14], but cannot test (apart from xscanimage and the libs hplip needs).