Scan2pdf

I would like to install scan2pdf on my Leap 42.1 PC. I previously ran it under 13.2 and liked it. Under 13.2 I loaded it via a repository, but it is not present on the Leap 42.1 repositories. I have therefore downloaded it from SourceForge. However, all that gives me is three python scripts with no indication of how to run them.

Does anyone have any idea how I can run it?

PS I’ve tried Xsane and Simple Scan, but there seem to be restrictions with both. Xsane doesn’t seem to be able to output PDFs, whilst Simple Scan is great but doesn’t do colour. Both these things are essential.

Hi
Do you have a download link?

What about gscan2pdf from the GNOME:Apps repo?

The download can be got from scan2pdf download | SourceForge.net

I did try to check out gscan2pdf but its not on any of the repositories I’m using. Which repository is it in?

gscan2pdf seems to be only available from the 13.2 and TumbleweedGNOME:Apps” repositories.

  • If anyone feels that it would be nice to have it available for Leap 42.1
    , the repository maintainers will have to be e-mailed.

Hi
Ahh it’s not enabled for Leap, not working… :frowning:

If you copy the three files from the sacn2pdf into your ~/bin directory and run it, does this work?

Hi
It’s not working, has lots of perl issues.

I type

python ~/bin/scan2pdf.py

and I get


Traceback (most recent call last):
  File "/home/jgw/bin/scan2pdf.py", line 16, in <module>
    from wxPython.wx import *
ImportError: No module named wxPython.wx

Everything called wxPython is installed, so it may be that scan2pdf doesn’t run on Leap 42.1

simple-scan is available. Don’t be fooled. It offers you a jpg file save but if you change this to pdf and scan multiple pages, it will save a multiple page PDF.

The OP mentioned that it doesn’t do colour, but that isn’t correct - it does. I use it frequently.

I did like Simple Scan, since it is what it says it is. If I can get it to scan in colour it should meet my needs.

So how to I get it to scan in colour?

Are you scanning in ‘Photo’ mode? That should be all that’s required.

Hi!
I don’t know why you are writing that xsane doesn’t scan to pdf? It does, even to multipage. I have been using it for many years and its working fine for me.

Attach a picture of xsane’s main window ( using Leap 42.1 - KDE) where pdf is chosen.

http://www.jodo.nu/pic/pic4/Screenshot_xsane.jpeg

Regards.

simple-scan inherits the last xsane settings. So scan something using a program which allows you to use xsane to scan in colour. Then use simple-scan. I rarely scan in greyscale; so I normally get colour scans in simple-scan.

Thanks. I see now how to do this, but it seems to scan as a photo rather than text. I can’t find anywhere to specify that I want a text pdf file. Is this possible?

That’s the problem. I really need to scan in colour text. But I suspect using Simple Scan to produce black and white text or colour prints is all that I’ll be able to do at the moment.

If you know of a way to get Simple Scan to output a colour text pdf that would be perfect.

Use any other application that lets you set colour - skanlite, for example - scan something in colour in that application. Open simple-scan, scan the first page, then scan another page until you get to the end. Then save and when it asks you for a filename, terminate it in .pdf. You will get a multi-page PDF as output. As I normally scan in colour whatever application I am using, I don’t need to do the first step.

BTW if you need to scan something in landscape, scan the first page in portrait, turn it 90° right or left and simple-scan will scan the rest in landscape.

Tried the trick with skanlite but its still scanning in black and white when I request a text scan. I have to give up now and won’t be in a position to try stuff until Monday, but I’ll have a play around then

Then change it to Photo. Simple-scan is trying to be as simple as possible for non-technical users: text=greyscale; photo=colour.

Hmm… Maybe you should try to explain what you want to have/expect from your scan?

-a pdf file on text in color?
-a (pdf) file with text in color that can be edited?
-a pdf (text in color)that contains meta data/is indexed ?

-a pdf (or not)… ?

I’m not the right person to ask if you want more advance forms of pdf.

Best regards.