Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 22:49
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Peasyscan Image Scanner Program
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 5 [61 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 9368
Location: Stratford, Ontario

PostPosted: Mon 26 Sep 2011, 09:01    Post subject:  

What model Epson do you have? Did you read the notes at the start of the thread? Many Epson scanners need the alternate epkowa driver to work in Peasyscan.

I will check out Racy to see if anything is different about it.

Edit: I tested Peasyscan in Racy with an Epson Workforce 320 that uses the epkowa driver and it worked. An HP scanner also worked.

Peasyscan has always had a problem with the old epson2 backend - it's the only one I have seen that doesn't work. Depending on your model, you may be able to use the epkowa driver instead.

Please report back.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
Location: Kiel,Germany

PostPosted: Mon 26 Sep 2011, 16:30    Post subject:  

scanimage -L needs the entries from /etc/sane.d/*.dll & *.conf .
After installing the epkowa backend -2.26.4dotPET and adjusting the entries in /etc/sane.d/dll.conf

epjitsu
#epson
#epson2
epkowa
fujitsu

and commenting all lines in epkowa.conf despite

#usb 0x04b8 0x084f
usb 0x04b8 0x0851
#usb 0x04b8 0x0854

nothing works :scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

whereas using the epson2.conf :

scanimage -L
device `epson2:libusb:001:003' is a Epson PID 0851 flatbed scanner

peasyscan-1.4 scan.sh has got the ^bug of the missing URI^ variable :
Code:
URI=$(scanimage -L | sed 's/^[[:blank:]]*//g' | tr '[[:blank:]]' ' ' | tr -s ' ' | cut -f 2 -d ' ' | sed "s/^\`//g;s/'$//g")
echo 'URI='"$URI"'_EOS'

URI=epson2:libusb:001:003_EOS

The epkowa seemed to work nicely with iscan on other puppies but here i think i have to figure out how to unload the builtin kernel driver usb-storage .... [ something like "echo 0 > /sys/ / / /usb/file" ]

My problem might be also related to USB-1.1 ....

While xsane also refused to work continuously on some puppies with the usblp and usb-storage drivers inserted , it seems to work here despite it causes these error messages in dmesg also ....

Confusing , but xsane seems not to need or to use the xscanimage binary ; perhaps usees the "scanimage" binary .

But now after a successful "scanimage -T" the scanner hangs showing "Scanning..." in the display after "scanimage -v -T" ....

And "iscan" does not want to work , too :
[ 8084.508860] usb 1-2: usbfs: interface 2 claimed by usb-storage while 'iscan' sets config #1

Anger
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9368
Location: Stratford, Ontario

PostPosted: Mon 26 Sep 2011, 17:21    Post subject:  

Since you have not yet named your printer model, I will assume that it is either a Stylus NX410 or SX410. SANE lists these models as being compatible with the epson2 backend, and we know that they work with Xsane.

However, many recent models, including your NX410, use the epkowa driver. So I don't understand why scanimage -L does not detect it.

I also don't understand why you are messing with the USB modules. I have yet to see a printer/scanner in any Puppy that required that. Unless it has something to do with your particular machine and USB 1.0.

Since iscan should also work with your model, there is something else going on here.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
Location: Kiel,Germany

PostPosted: Tue 27 Sep 2011, 16:14    Post subject:  

Yes , it is a SX415 on the outside of the chassis , but most detection tools say it would be a SX410 .
I don't know if that is related to the usb.ids file . I will cat /sys and /proc for this .

Nevertheless peasyscan will not work with the sane-backend 1.0.20 , too .

Removing usblp and usb-storage || boot with usb-storage.quirks=04b8:0851:i to ignore the usb-storage part of the
scanner did not help either : No error messages in dmesg but still the message-GUI with
Failed to open device `epson2:libusb:001:008' : Invalid argument .

So I will explore the sane|xsane versions more precisely , because with sane-backend-1.0.20 I have 'bin' for black&whiite
and with sane-backend-1.0.21 'lineart' and few other things like the 'Threshold' slider in xsane
not showing up at all '0996+0998' or if it vanishes , it does not reappear except closing and starting xsane again '0997' .

If I can manage peasyscan to work on one Puppy I will report .

Nevertheless , thank you for the code !
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9368
Location: Stratford, Ontario

PostPosted: Tue 27 Sep 2011, 17:36    Post subject:  

Independent of Peasyscan, Epson claims that your SX410/415 is designed for the epkowa backend and iscan. So "scanimage -L" should definitely detect it and iscan should work with it. So Xsane should be giving you two choices for the backend.

Since none of that is happening, I am sure that this is a hardware issue. Do you have another machine to test this on?

Also, I know for a fact that an NX415 does work with epkowa. So I am surprised that an SX415 does not.

Once you can get the epkowa backend detected, I am sure that Peasysan will work for you. But it definitely won't work with the epson2 backend.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 09 Oct 2011, 04:37    Post subject:  

Peasyscan wifi seems screwed in Slacko RC Sad
http://www.murga-linux.com/puppy/viewtopic.php?p=571753#571753

EDIT My fault. Re-installed scanner driver and it is OK now Smile

_________________
Spup Frugal HD and USB
Root forever!

Last edited by DaveS on Sun 09 Oct 2011, 08:47; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9368
Location: Stratford, Ontario

PostPosted: Sun 09 Oct 2011, 05:13    Post subject:  

DaveS wrote:
Peasyscan wifi seems screwed in Slacko RC

There's nothing like a detailed bug report Wink

I tested it myself and there were no problems. Lacking any specific info, here are some suggestions:

1. Has your printer changed its IP address?
2. Have you addressed the firewall issue?
3. Did you install the HPLIP scanner driver again?
4. Did you update your Peasyscan config file?
5. Is it working with USB?
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 09 Oct 2011, 06:49    Post subject:  

rcrsn51 wrote:
DaveS wrote:
Peasyscan wifi seems screwed in Slacko RC

There's nothing like a detailed bug report Wink

I tested it myself and there were no problems. Lacking any specific info, here are some suggestions:

1. Has your printer changed its IP address?
2. Have you addressed the firewall issue?
3. Did you install the HPLIP scanner driver again?
4. Did you update your Peasyscan config file?
5. Is it working with USB?


Ha ha.. I put a bit more on the Slacko thread. IP address correct, firewall addressed, installed scanner driver (its a new install of Slacko RC, fresh save file), updated config file, yes, it works on USB. HP printer, wifi. My guess is its the same issue as Racy, so will try installing your patch in a short while.

Edit.. re-installing driver fixed it.

_________________
Spup Frugal HD and USB
Root forever!

Last edited by DaveS on Sun 09 Oct 2011, 08:48; edited 1 time in total
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 09 Oct 2011, 08:42    Post subject:  

Huh... re-installed scanner driver and it is fine now! Happens I guess.
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9368
Location: Stratford, Ontario

PostPosted: Sun 09 Oct 2011, 08:45    Post subject:  

That's good news. Would you mind editing your other posts to indicate that there is no problem.
Back to top
View user's profile Send private message 
Baldlygo


Joined: 21 Mar 2011
Posts: 67
Location: Le Dorat, France

PostPosted: Thu 02 Feb 2012, 13:46    Post subject:  Resolutions offered  

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 Exclamation Xsane gives me the correct 75,150,300,600 & 1200 - Is there a setting on Peasyscan to give me those higher resolutions Question

I ran the "scanimage -h" command which shows -
Code:
    --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
Back to top
View user's profile Send private message Visit poster's website 
roadkill13

Joined: 10 Aug 2011
Posts: 78
Location: United States

PostPosted: Thu 01 Mar 2012, 16:20    Post subject: Photosmart D110
Subject description: Invalid Argument
 

@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.

Quote:
</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?
Back to top
View user's profile Send private message Yahoo Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 9368
Location: Stratford, Ontario

PostPosted: Fri 16 Mar 2012, 14:38    Post subject: Re: Photosmart D110
Subject description: Invalid Argument
 

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:
<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.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9368
Location: Stratford, Ontario

PostPosted: Sun 18 Mar 2012, 18:24    Post subject: Re: Resolutions offered  

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 Exclamation Xsane gives me the correct 75,150,300,600 & 1200 - Is there a setting on Peasyscan to give me those higher resolutions Question

I ran the "scanimage -h" command which shows -
Code:
    --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.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9368
Location: Stratford, Ontario

PostPosted: Thu 22 Mar 2012, 11:58    Post subject:  

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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 5 [61 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1012s ][ Queries: 13 (0.0079s) ][ GZIP on ]