You are here

Xsane (scanner software)

23 posts / 0 new
Last post
Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
Xsane (scanner software)

Scanner Access Now Easy (SANE) is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, handheld scanner, video- and still-cameras, frame grabbers, etc.). The SANE API is public domain and its discussion and development is open to everybody. It is commonly used on Linux.

XSane is a graphical frontend for SANE.

Could some one make this portable. the problems i see would be the possible need for admin rights, some registry editing, settings, and the possible need for drivers. though i doubt the later due to SANE containing drivers for supported devices. thing is you cant use SANE drivers with lets say... anyother program other than xsane in windows.

later

http://www.sane-project.org/

ottosykora
Online
Last seen: 39 min 24 sec ago
Joined: 2007-10-11 17:48
not sure

if this all would work for windows.

The SANE itself seems not to have any binaries for windows and the front end xsane is meant according to the website for operating scanners connected to a unix machine via network from windows machine. It has to be placed in C:\sane or it will not work apparently, so not sure if this can be done at all.

Otto Sykora
Basel, Switzerland

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
yea i figured as much. might

yea i figured as much. might be worth looking into though.

digitxp
digitxp's picture
Offline
Last seen: 13 years 3 months ago
Joined: 2007-11-03 18:33
I Hope

I'm sick and tired of the stupid Lexmark Software, so annoyed that I can't disable the auto-startup and its unpredictable behavior, that I logged in as an admin and uninstalled it with RevoUninstaller. Predictably (strangely enough) it left behind the whole program in ProgramFiles. Blum

Insert original signature here with Greasemonkey Script.

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
OCR will complement

now that there is work being done on TOPocr it would greatly complement this program (Xsane).

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 3 months ago
Developer
Joined: 2009-08-11 11:24
Sorry, Mir

Sorry, but I don't think I can do XSane.
The requirements are IN-sane: the program has to be placed in C:\sane (how many limited users actually have access to the root of the C drive?), and the drivers just make this worse.

I'll try, but I can't promise anything more than that.

EDIT: whew, this really is bad. From the readme:

This is a WIN32 network scanning version of xsane.
You need to run a SANE server e.g. running on a linux machine.

To run xsane-win32:
- make sure this directory is placed in c:\sane
- edit c:\sane\etc\sane.d\net.conf to configure
sane-network server
- the executable is c:\sane\bin\xsane.exe

Does anybody have a SANE server I can borrow while I'm working on this? I sure don't, so right now XSane is just dropping out with a "Cannot detect devices" message.

This could either be a really, really fun challenge or a really, really hard one that's going to make me wish I'd stayed away. Maybe both.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
sane

you have to make a sane server. see my links. xsane is nothing more than a GUI frontend for the SANE server.

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 3 months ago
Developer
Joined: 2009-08-11 11:24
Oh, man. Well, thanks for the

Oh, man.

Well, thanks for the clarification.

Looks like you've got a good handle on the app details already, so let me quickly confirm what I think: SANE is the backend, doing all the heavy work, and XSane is just its frontend?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
correct

correct

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 3 months ago
Developer
Joined: 2009-08-11 11:24
Serious doubts

I have really serious doubts about this. Just got an e-mail back from the author:

I did not compile xsane-win32 since several years now. I had to do a lot
by hand to be able to compile it for windows. So you should not expect
that it is a simple configure/make/make install.

Please note that running xsane-win32 with full sane-backends (included
drivers) does almost not work. So may be it is not what you are looking
for.

Best regards
Oliver

"running xsane-win32 with full sane-backends (included drivers) does almost not work" - and portable apps don't mix well with drivers from the getgo.

Anybody feel like offering some advice?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

ctlu999
Offline
Last seen: 14 years 10 months ago
Joined: 2009-07-26 23:08
Request +1

Request +1

Thanks

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
awesome! somebody else wants it too!

if anyone is interested in developing it pm me on the chat. explain what the topic of the pm is first or i may block due to spam. thanks!

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 3 months ago
Developer
Joined: 2009-08-11 11:24
I'm still going to try

I'm still going to try it, I've just been insanely busy in the past few weeks.
I just can't promise anything, given the author's comments.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
i understand

you have my support. keep me updated via PM and if you need something give me a heads up.

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 3 months ago
Developer
Joined: 2009-08-11 11:24
PM?

PM isn't enabled on here, unfortunately. We'd better communicate via e-mail instead.

* Take my forum name and add "eatsspam"
* You can reach me on GMail

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

agdurrette
Offline
Last seen: 1 year 3 weeks ago
Developer
Joined: 2008-01-16 13:55
I think he is talking about

I think he is talking about the Portable apps chat.
https://portableapps.com/support/chat

"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
yes i was!

yes i was! /me is on IRC.FREENODE.NET almost all the time. if i do not respond i am busy lurking or idleing or working on another channel.

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 3 months ago
Developer
Joined: 2009-08-11 11:24
Thanks for the confirmation

Thanks for the confirmation, and thanks, agdurrette, for correcting me. Smile

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
as i stress

as i stress... if you need help or tools give me a heads up. i am willing to invest in this. Smile

OliverK
OliverK's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-03-27 15:21
why can't you use the GIMP

why can't you use the GIMP for this?

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
Gimp is not a scanner

GIMP (GNU Image Manipulation Program ) is a image manipulation program. it cannot take a physical document and scan it into a PDF with OCR capability. it also cannot take a physical picture and make it digital.

OliverK
OliverK's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-03-27 15:21
it can use the TWAIN driver

it can use the TWAIN driver from the computer and use that to scan a image.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
if so.

it only scans into a picture format. no OCR, no PDF no txt. Also it requires you to have a driver. if Xsane where made portable it would have the ability to use almost any of the scanners it can portably. for example i have a Mac version of the Fujistu ScanSnap Color Duplexing OCR scanner. There are no Windows Twain drivers or even a driver in general for it. Though once SANE is installed i can use it using the frontend of Xsane.

Now this scanner is somewhat portable and is also not a cheap peice of equipment. it sells used for 200+ USD and the latest iteration is around 600USD.

Also i have never gotten Gimp to scan. this is my experience on Windows and Linux.

Log in or register to post comments