PeasyScan Image Scanner Program

Word processors, spreadsheets, presentations, translation, etc.
Message
Author
User avatar
Baldlygo
Posts: 67
Joined: Mon 21 Mar 2011, 10:41
Location: Le Dorat, France
Contact:

Resolutions offered

#41 Post by Baldlygo »

I have an Epson Stylus sx105 and epkowa 2.26.4.pet which works well with xsane and Peasyscan 1.8.pet. My Peasyscan also works well with tesseract3 and OCRs fine.

However Peasyscan gives me resolutions 75,150,300 and 60481 :!: Xsane gives me the correct 75,150,300,600 & 1200 - Is there a setting on Peasyscan to give me those higher resolutions :?:

I ran the "scanimage -h" command which shows -

Code: Select all

    --resolution 75|150|300|60481dpi [300]
        Sets the resolution of the scanned image.
    --x-resolution 75|150|300|600dpi [300]
        Sets the horizontal resolution of the scanned image.
    --y-resolution 75|150|300|600|1200dpi [300]
        Sets the vertical resolution of the scanned image.
So presumably that is where the 60481 is coming from - do I have a means of changing that? I would at least like 600dpi to be available.

Thanks - Paul
Lucid 5.20 - my preferred OS on old Dell Inspiron 8000 & Toshiba Tecra M5

roadkill13
Posts: 154
Joined: Wed 10 Aug 2011, 21:41
Location: United States
Contact:

Photosmart D110

#42 Post by roadkill13 »

@rcrsn51

I installed the hplip and hpscan packages from the first post of this thread on a fresh copy of Lucid 5.28-004. My printer is a wireless HP Photosmart D110. I am able to print a test page from CUPS. However I am not able to use the scanner on this model.

I installed Peasyscan 1.8. I renamed and copied the sample configuration file to the appropriate folder. Using your example from the first post I edited the device uri. Peasyscan will attempt to start a scan but will always fail. The error message is consistently "invalid argument" for the uri.

Here is the content of /etc/cups/printer.conf file.
</Printer>
<DefaultPrinter HP_Photosmart_D110_series>
Info HP Photosmart D110 series
MakeModel HP Photosmart d110 Series, hpcups 3.11.10
DeviceURI socket://10.0.0.3:9100
State Idle
StateTime 1330629505
Type 36876
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-raster 0 hpcups
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Attribute marker-colors none,none,none,none,none,none,none,none
Attribute marker-levels -1,-1,-1,-1,-1,-1,-1,-1
Attribute marker-names black ink cartridge,tri-color ink cartridge,black ink cartridge,black ink cartridge,tri-color ink cartridge,black ink cartridge,black ink cartridge,black ink cartridge
Attribute marker-types ink,ink,ink,other,ink,ink,ink,ink
Attribute marker-change-time 1330629505
</Printer>
I am left to assume that I have used incorrect syntax. I listed the printer make/model and used the device uri from the above file. Can you make a suggestion regarding the device uri and how it is entered into the Peasyscan configuration file?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Photosmart D110

#43 Post by rcrsn51 »

roadkill13 wrote: Can you make a suggestion regarding the device uri and how it is entered into the Peasyscan configuration file?
Please post the URI you are trying. It should be something like

Code: Select all

<uri>hpaio:/net/Photosmart_D110_series?ip=10.0.0.3</uri> 
Note that the HP_ prefix has been removed from the printer name.

To be sure, connect the unit via USB and run the "scanimage -L" command. It will tell you the correct scanner device name.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Resolutions offered

#44 Post by rcrsn51 »

Baldlygo wrote:I have an Epson Stylus sx105 and epkowa 2.26.4.pet which works well with xsane and Peasyscan 1.8.pet. My Peasyscan also works well with tesseract3 and OCRs fine.

However Peasyscan gives me resolutions 75,150,300 and 60481 :!: Xsane gives me the correct 75,150,300,600 & 1200 - Is there a setting on Peasyscan to give me those higher resolutions :?:

I ran the "scanimage -h" command which shows -

Code: Select all

    --resolution 75|150|300|60481dpi [300]
        Sets the resolution of the scanned image.
    --x-resolution 75|150|300|600dpi [300]
        Sets the horizontal resolution of the scanned image.
    --y-resolution 75|150|300|600|1200dpi [300]
        Sets the vertical resolution of the scanned image.
So presumably that is where the 60481 is coming from - do I have a means of changing that? I would at least like 600dpi to be available.

Thanks - Paul
I looked at this with my Epson NX625 and epkowa. Its --resolution numbers are 75,300,1200,2400. Its --x-resolution and --y-resolution numbers are both 75,150,300,600,1200,2400.

When I run regular Peasyscan, I just get the --resolution numbers. But if I enable Preferences > Advanced Options, I get access to the --x and --y numbers. When I pick the latter, Peasyscan appears to scan using those values.

Did you ever try downgrading to the older "epson" backend? It might give you more reliable numbers.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#45 Post by rcrsn51 »

Announcing Peasyscan v1.9.

This version has two new configuration file settings to give you more control over ADF scanning and the layout of PDF documents. See the additional notes in the How-To at the start of the thread.

roadkill13
Posts: 154
Joined: Wed 10 Aug 2011, 21:41
Location: United States
Contact:

Success

#46 Post by roadkill13 »

rcrsn51 Wrote:
Please post the URI you are trying. It should be something like
Code:
<uri>hpaio:/net/Photosmart_D110_series?ip=10.0.0.3</uri>

Note that the HP_ prefix has been removed from the printer name.
I apologize for taking so long to post on this. I have been very busy. That did the trick. I thought surely I had tried that but apparently not.

Code:
<uri>hpaio:/net/Photosmart_D110_series?ip=10.0.0.6</uri>
worked just fine. I had shut down the network and physically rearranged some items and the printer popped up on a different ip than it had been using but otherwise your suggestion did the trick.

Thank you!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#47 Post by rcrsn51 »

Peasyscan v2.3 is now available. See Page 1.

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

Peasyscan as ocr gui?

#48 Post by Dromeno »

I like the simple gui of peasyscan! But is it possible to change it a bit so that it also opens when no scanner is attached (then it can be used as ocr gui)

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Peasyscan as ocr gui?

#49 Post by rcrsn51 »

Dromeno wrote:But is it possible to change it a bit so that it also opens when no scanner is attached (then it can be used as ocr gui)
How do you want to use it?

On page 1, there is the pic2txt command line program for doing OCR. Is it what you are looking for?

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

pic2txt gui?

#50 Post by Dromeno »

Hi rcrsn51,

Yes pic2txt is almost what I am looking for. But is it possible to

- add a GUI (like peasyocr) and

(less important)
- make it work with not-ocr'd PDF files in one click?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: pic2txt gui?

#51 Post by rcrsn51 »

Dromeno wrote:Yes pic2txt is almost what I am looking for. But is it possible to - add a GUI (like peasyocr)
I considered adding a GUI to pic2txt. But the command line version is better for processing batches of files. For example

Code: Select all

pic2txt *.jpg
make it work with not-ocr'd PDF files in one click?
Are you talking about extracting the text from a PDF file? Look at the latest PeasyPDF.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#52 Post by rcrsn51 »

Pic2txt now has a GUI version.

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#53 Post by robwoj44 »

Is it possible to scan more than one page in one pdf file with peasyscan? Of course I can combine two pdfs with peasypdf, but is it possible with peasyscan?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#54 Post by rcrsn51 »

robwoj44 wrote:Is it possible to scan more than one page in one pdf file with peasyscan?
Only if your scanner has an Automatic Document Feeder. The Peasyscan ADF function will give you the option of joining the individual pages into a single PDF document.

[Edit] See Peasyscan v2.5.
Last edited by rcrsn51 on Mon 08 Jul 2013, 13:31, edited 1 time in total.

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#55 Post by robwoj44 »

Thank you for your quick answer. I checked and my HP PSC 1215 does not have an Automatic Document Feeder. However, simple scan allows me to scan multiple pages and make one pdf (using probably other method).

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#56 Post by rcrsn51 »

Sorry. I have looked at this issue before and couldn't find a way to do it without major changes.

[Edit] See Peasyscan v2.5.
Last edited by rcrsn51 on Mon 08 Jul 2013, 13:31, edited 1 time in total.

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#57 Post by robwoj44 »

No problem. I use peasypdf and I can combine the files. Your applications are small and usefull. I like especially peasydisc. Only one missing feature for me is the pause in audio playback.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#58 Post by rcrsn51 »

robwoj44 wrote:Only one missing feature for me is the pause in audio playback.
When I added the audio CD player to PeasyDisc, it was meant to be a very simple tool to use with ripping and burning.

If you want a CD player with more features, look at PeasyMP3. It takes a bit of setup to convert it into a CD player, but you will have more control over playback.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#59 Post by rcrsn51 »

Peasyscan v2.5 is posted on Page 1.

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#60 Post by starhawk »

v.2.5 works with my Xerox Documate 510 -- very nice!

One small nitpick: while most people will be quite fine at 150dpi, being an artist I find myself needing to move that slider a goodly bit -- and being that it IS a slider, I find it very hard as such to get /exactly/ 200dpi, 300dpi, etc. -- it likes to stop at 201dpi or 301dpi which are NOT standard resolutions!

Perhaps it wouldn't be too much to go back to a text box for that? or even a drop-down menu -- there's only so many standard resolutions...

72,96,150,200,300,600,1200 dpi would be more than enough unless working with slides... (yes, slides are still around -- my father is a graphic artist for the US EPA during the day, and when they don't own his time, he freelances -- and he does A LOT with slides during that freelance time. it's amazing how many people still have them and want clean digital copies -- and if they will pay, he does it.)

IIRC with slides it goes up to at least 2800dpi -- but I can find out for sure if it matters...

Post Reply