Installing Epson SX425W drivers on Salix.

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Installing Epson SX425W drivers on Salix.

Post by globetrotterdk »

Andyun wrote:Install the package "rpm" from Gslapt.
OK, I have a package named "epson-inkjet-printer-nx420-1.0.0-i486-1_SBo.tgz" do I need to change the name of the file before I run the following?

Code: Select all

# spkg -i epson-inkjet-printer-nx420-1.0.0-i486-1_SBo.tgz
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Installing Epson SX425W drivers on Salix.

Post by gapan »

No.
Image
Image
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Installing Epson SX425W drivers on Salix.

Post by globetrotterdk »

Yes!!! It's working!!! Now that I have got this working,I can try installing Salix OS on my 64-bit system. I assume that I go through exactly the same process to get the printer driver to work, just with 64-bit drivers? Is it necessary for me to install some sort of Slackbuild to get the wireless scanning to work or will Xsane function as is over a wireless network?
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: Installing Epson SX425W drivers on Salix.

Post by Andyun »

globetrotterdk wrote:I assume that I go through exactly the same process to get the printer driver to work, just with 64-bit drivers?
Yes, example here.
globetrotterdk wrote:... or will Xsane function as is over a wireless network?
No, the wi-fi connection with your printer must be configured separately, try Wicd. Need to do some other settings, but I don't know what.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Installing Epson SX425W drivers on Salix.

Post by globetrotterdk »

Andyun wrote:Yes, example here.
OK, thanks.
Andyun wrote:No, the wi-fi connection with your printer must be configured separately, try Wicd. Need to do some other settings, but I don't know what.
CUPS detected the wireless connection automatically, so the connection isn't in itself an issue, at least when printing. Scanning seems to be another matter. Both on the official site and at the Arch Wiki, there is reference to using iscan and an iscan network plugin as front ends for Sane. Neither of these packages appear to be available for Salix OS / Slackware users, unless there is a SlackBuild that I don't know about. The alternative would maybe be to get Xsane to work by editing /etc/sane.d/net.conf to include the printer's IP address, but I am on thin ice here and am not sure what I am talking about.
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: Installing Epson SX425W drivers on Salix.

Post by Andyun »

The list of supported SANE scanners here. It seems to me, your scanner should work with the SANE without iscan.
Also see The scanner Epson Perfection V33 [solved] and Wiki Salix (rus).
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Installing Epson SX425W drivers on Salix.

Post by globetrotterdk »

Andyun wrote:The list of supported SANE scanners here. It seems to me, your scanner should work with the SANE without iscan.
Also see The scanner Epson Perfection V33 [solved] and Wiki Salix (rus).
Thanks. I have just looked at the postings you refer to: I also found a .pdf file at the following link: http://support.epson.ru/upload/library_ ... _linux.pdf Assuming that I use SANE directly, the process looks something like this (correct me please if I am wrong):
  • add

    Code: Select all

    scan-client
    172.17.79.100 (your correct IP address)
    to /etc/sane.d/saned.conf
  • add

    Code: Select all

    scan-server
    172.17.79.200 (your correct IP address)
    to /etc/sane.d/net.conf
  • check /etc/services to see if the line

    Code: Select all

    Sane 6566/tcp # SANE network scanner daemon
    is listed
  • check /etc/inetd.conf to see if the line

    Code: Select all

    sane stream tcp nowait root.root /usr/sbin/saned saned
    is listed
  • Lastly, run the following to restart inetd

    Code: Select all

    $ /etc/init.d//inetd restart
Or have I totally misunderstood everything that I have read?
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: Installing Epson SX425W drivers on Salix.

Post by Andyun »

Unfortunately, I have no experience of the network settings for the scanner, I hope other users will advise you in this matter. May be, this Manual (pdf, 607 KB) will be useful.
ruario
Posts: 88
Joined: 23. Dec 2010, 08:41

Re: Installing Epson SX425W drivers on Salix.

Post by ruario »

globetrotterdk wrote:I get the following error when I run the script:

Code: Select all

# ./epson-inkjet-printer-nx420.SlackBuild
./epson-inkjet-printer-nx420.SlackBuild: line 48: rpm2cpio: command not found
cpio: premature end of archive
Any ideas? I can't find an rpm2cpio package anywhere in slapt-get or sourcery
Andyun wrote:Install the package "rpm" from Gslapt.
I know you have this all working now but FWIW I am pretty sure that libarchive is installed even on a fairly minimal Salix install and libarchive provides bsdtar and bsdcpio, both of which can open rpms directly. So you don't actually need the rpm package to extract the contents of an rpm. ;)

Alternatively, you can write a basic rpm2cpio that should work for most rpms, in less than 20 lines of shell script and far less if you are not overly concerned with supporting multiple compression formats. All of the rpm meta information is stored at the start of the file, then comes the compressed archive. So you just need to find where the compressed archive starts and break it off at that point. Most rpm2cpio implementations do this buy working out how big the meta information part of the file is by parsing it, but simply searching for first magic number match and other file characteristics of supported compression formats actually works surprisingly well. ;)
Post Reply