LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-05-2013, 09:29 PM   #1
KDHofAvalon
Member
 
Registered: Apr 2007
Location: Kansas
Distribution: Slackware
Posts: 47

Rep: Reputation: 27
How to Get an Epson WF-3540 Printer Working Under Slackware


So I just bought an Epson WF-3540 All-in-One Printer/Scaner/Copier/Fax, and I'm having trouble getting it to work under Slackware. I found some drivers in RPM and DEB format and tried converting them to Slackware packages, but it didn't work. For now I've uninstalled them until I can get some help. Does anyone here have experience with this printer?

I don't really care if scanning never works, just as long as I can print over either USB or WiFi.
 
Old 02-06-2013, 06:58 AM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 146Reputation: 146
Googling for "linux epson workforce 3540" lead me to http://www.epson.com/cgi-bin/Store/s...59&foid=219269

Does this solve your problem?
 
Old 02-06-2013, 08:43 AM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,465

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
I recently had to install drivers for a Brother printer from a .rpm package. Perhaps this may help http://docs.slackware.com/howtos:har...r_installation
 
Old 02-06-2013, 05:23 PM   #4
KDHofAvalon
Member
 
Registered: Apr 2007
Location: Kansas
Distribution: Slackware
Posts: 47

Original Poster
Rep: Reputation: 27
Unfortunately neither of those pages helped. However I was able to get it working by adapting a SlackBuild for other Epson printer drivers to the RPM packages I had previously found, so I got it working in the end.

I'll upload the modified SlackBuild if anyone wants me to, but really they're so trivial that they could be done by search and replace. Not sed, search and replace.

Anyway, thanks for trying to help me.
 
Old 02-06-2013, 06:04 PM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,465

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
Just for fun, I downloaded three rpm packages from here http://download.ebz.epson.net/dsc/se...search/?OSC=LX and ran them through rpm2txz.
Code:
rpm2txz -c -S -n -d epson-inkjet-printer-201212w-1.0.0-1lsb3.2.x86_64.rpm
rpm2txz -c -S -n -d iscan-2.29.1-5.usb0.1.ltdl3.x86_64.rpm
rpm2txz -c -S -n -d iscan-2.29.1-5.usb0.1.ltdl7.x86_64.rpm
At first glance the resulting doinst.sh scripts in the converted packages do not show any problems. Could you elaborate on why this did not work for you?
 
Old 02-06-2013, 06:40 PM   #6
KDHofAvalon
Member
 
Registered: Apr 2007
Location: Kansas
Distribution: Slackware
Posts: 47

Original Poster
Rep: Reputation: 27
I'm not exactly sure. Everything seemed like it was working perfectly up until I actually tried to print, at which point I'd get a "No such file or directory" error from epson_inkjet_printer_filter, without telling me which file or directory it was looking for. Looking at the SlackBuild I modified, I would guess it was looking for something in /usr/resource -- which doesn't exist in Slackware and wasn't created let alone populated by the converted RPM. Keep in mind this is only an assumption based on the fact that the SlackBuild modifies epson_inkjet_printer_filter's config.h, changing all references to /usr/resource to instead point to /usr/share/$PRGNAM/resource, and later populates the altered path with binary files.


EDIT: Actually, that doesn't make sense, surely it would know to look in opt, seeing as that's where the RPM would have installed it in an RPM distro.... I don't know what it was looking for, only that it couldn't find it.

Last edited by KDHofAvalon; 02-06-2013 at 06:50 PM.
 
Old 02-07-2013, 06:39 AM   #7
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,465

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
Looking at the converted package the Epson_201212w.*.data files are installed to /opt/epson-inkjet-printer-201212w/resource and when I look at the binary filter I see
Code:
bash-4.2$ strings epson_inkjet_printer_filter | grep resource
/opt/epson-inkjet-printer-201212w/resource
I do not see a problem.

If you have this working for you then all is good. My curiosity is about whether the SlackDocs page about the Brother printer drivers has broader applicability. One thought is that the scripts in rpm packages are written for csh. Perhaps the converted packages are best installed from within tcsh.

Last edited by allend; 02-07-2013 at 06:44 AM.
 
Old 02-07-2013, 09:37 AM   #8
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 146Reputation: 146
Again a simple googling.

Search for epson inkjet printer filter no such file or directory, the first result redirects me to http://en.gentoo-wiki.com/wiki/No_su...e_or_directory

That is to say, the program is requesting for a non-existant linker. Use readelf to find out the epson filter must be loaded by "/lib/ld-lsb.so.3". Make a symlink of your ld*.so and it should work.

I tried the 32-bit one. If you use the 64-bit one then don't copy my result but follow the procesure and use your result.
 
1 members found this post helpful.
Old 02-07-2013, 03:48 PM   #9
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,465

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
Bingo! Thanks for the explanation guanx.
Code:
bash-4.2$ strings epson_inkjet_printer_filter | grep lib
/lib64/ld-lsb-x86-64.so.3
libdl.so.2
libstdc++.so.6
libcupsimage.so.2
libcups.so.2
libjpeg.so.62
libpthread.so.0
libm.so.6
libc.so.6
__libc_start_main
/opt/epson-inkjet-printer-201212w/lib64
%s:%d           <<%s>>:          load core library
%s:%d           <<%s>>:          Unload library
%s:%d           <<%s>>:          Unload core library
%s:%d           <<%s>>:          Unload core library completed
load_core_library
__libc_csu_fini
__libc_start_main@@GLIBC_2.2.5
__libc_csu_init
So on 64-bit Slackware a simple 'ln -s /lib64/ld-2.15.so /lib64/ld-lsb-x86-64.so.3' should suffice.
 
Old 03-10-2013, 02:07 PM   #10
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Rep: Reputation: 44
Hey guys! if you feel like helping a fellow Slacker, please go on my thread at http://www.linuxquestions.org/questi...62#post4908662

I didnt want to hijack this thread for my own problems...

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Epson EPL-5900L printer not working Ormu Suse/Novell 2 02-08-2013 03:29 PM
Epson Stylus T11 printer not working in Ubuntu 10.04 basheer Ubuntu 2 08-17-2010 09:56 AM
Printer Epson stylus T11 not working in ubuntu 10.04 basheer Ubuntu 1 06-08-2010 06:29 AM
Working Epson 3800 Printer Driver measekite Linux - Hardware 1 03-05-2009 05:42 AM
FC1 and Epson 740 printer...sort of working hindenbergbaby Linux - Hardware 4 09-07-2004 11:58 AM


All times are GMT -5. The time now is 12:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration