Page 3 of 6

Resolutions offered

Posted: Thu 02 Feb 2012, 17:46
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

Photosmart D110

Posted: Thu 01 Mar 2012, 20:20
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?

Re: Photosmart D110

Posted: Fri 16 Mar 2012, 18:38
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.

Re: Resolutions offered

Posted: Sun 18 Mar 2012, 22:24
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.

Posted: Thu 22 Mar 2012, 15:58
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.

Success

Posted: Thu 05 Apr 2012, 22:18
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!

Posted: Sun 03 Jun 2012, 20:57
by rcrsn51
Peasyscan v2.3 is now available. See Page 1.

Peasyscan as ocr gui?

Posted: Fri 25 Jan 2013, 10:50
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)

Re: Peasyscan as ocr gui?

Posted: Fri 25 Jan 2013, 12:28
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?

pic2txt gui?

Posted: Mon 28 Jan 2013, 09:34
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?

Re: pic2txt gui?

Posted: Mon 28 Jan 2013, 12:57
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.

Posted: Sun 03 Feb 2013, 14:17
by rcrsn51
Pic2txt now has a GUI version.

Posted: Fri 05 Jul 2013, 14:51
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?

Posted: Fri 05 Jul 2013, 15:07
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.

Posted: Fri 05 Jul 2013, 15:36
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).

Posted: Fri 05 Jul 2013, 15:54
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.

Posted: Fri 05 Jul 2013, 16:16
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.

Posted: Fri 05 Jul 2013, 16:52
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.

Posted: Mon 08 Jul 2013, 13:12
by rcrsn51
Peasyscan v2.5 is posted on Page 1.

Posted: Mon 17 Feb 2014, 02:52
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...