Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to compile Epson printer driver?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wgwnxu
n00b
n00b


Joined: 15 Jan 2012
Posts: 20

PostPosted: Fri Jul 19, 2013 9:47 am    Post subject: How to compile Epson printer driver? Reply with quote

My printer is Epson InkJet l358.And I have downloaded the driver sources from Epson web:http://download.ebz.epson.net/dsc/search/01/search/searchModule.
I try to compile the fliter package,but I get error.
make all-recursive
make[1]: Entering directory `/home/wenxu/Downloads/epson/epson-inkjet-printer-filter-1.0.0'
Making all in src
make[2]: Entering directory `/home/wenxu/Downloads/epson/epson-inkjet-printer-filter-1.0.0/src'
Making all in memory
make[3]: Entering directory `/home/wenxu/Downloads/epson/epson-inkjet-printer-filter-1.0.0/src/memory'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ -fsigned-char -O2 -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c -o memory.lo memory.c
mv -f .deps/memory.Tpo .deps/memory.Plo
mv: cannot stat '.deps/memory.Tpo': No such file or directory
make[3]: *** [memory.lo] Error 1
make[3]: Leaving directory `/home/wenxu/Downloads/epson/epson-inkjet-printer-filter-1.0.0/src/memory'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/wenxu/Downloads/epson/epson-inkjet-printer-filter-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wenxu/Downloads/epson/epson-inkjet-printer-filter-1.0.0'
make: *** [all] Error 2

Anyone can help me?
Back to top
View user's profile Send private message
wgwnxu
n00b
n00b


Joined: 15 Jan 2012
Posts: 20

PostPosted: Fri Jul 19, 2013 9:51 am    Post subject: Reply with quote

Sorry,My system is Linux version 3.7.10-gentoo.
Back to top
View user's profile Send private message
pota
n00b
n00b


Joined: 25 Jan 2005
Posts: 22

PostPosted: Fri Jul 19, 2013 12:18 pm    Post subject: Reply with quote

Try this:
Code:
libtoolize --force --copy&&aclocal&&autoconf&&automake&&./configure --prefix=/opt/epson&&make
Back to top
View user's profile Send private message
wgwnxu
n00b
n00b


Joined: 15 Jan 2012
Posts: 20

PostPosted: Sun Jul 21, 2013 9:38 am    Post subject: Reply with quote

pota wrote:
Try this:
Code:
libtoolize --force --copy&&aclocal&&autoconf&&automake&&./configure --prefix=/opt/epson&&make


Thanks. :D
The filter was compiled,but i have another question:I don't know how to install epson-inkjet-printer-201207w-1.0.0 ,after unzip it,directory:
D:include
D:lib
D:lib64
D:ppds
D:resource
D:watermark
AUTHORS
COPYING
COPYING.EPSON
Manual.txt
README

The D is a directory.
Please help.
Back to top
View user's profile Send private message
pota
n00b
n00b


Joined: 25 Jan 2005
Posts: 22

PostPosted: Sun Jul 21, 2013 1:56 pm    Post subject: Reply with quote

use cups:
http://localhost:631
Administration->Add Printer->'Provide a PPD File'->Browse->select 'ppd' file from 'D:ppds'

I think :oops:...
Back to top
View user's profile Send private message
wgwnxu
n00b
n00b


Joined: 15 Jan 2012
Posts: 20

PostPosted: Tue Jul 23, 2013 4:28 am    Post subject: Reply with quote

pota wrote:
use cups:
http://localhost:631
Administration->Add Printer->'Provide a PPD File'->Browse->select 'ppd' file from 'D:ppds'

I think :oops:...


thank you,but It can't work.
Back to top
View user's profile Send private message
wgwnxu
n00b
n00b


Joined: 15 Jan 2012
Posts: 20

PostPosted: Tue Jul 23, 2013 4:31 am    Post subject: Reply with quote

there are two libs and some files,two libs were copied to gentoo lib directory,and I don't know how to put the other files.
Back to top
View user's profile Send private message
pota
n00b
n00b


Joined: 25 Jan 2005
Posts: 22

PostPosted: Tue Jul 23, 2013 11:14 am    Post subject: Reply with quote

run
Code:
rpm --install --nodeps epson-inkjet-printer-201207w-1.0.0-1lsb3.2.i486.rpm

it will create '/opt/epson-inkjet-printer-201207w' directory
start cups
Code:
/etc/init.d/cups-browsed start

go to http://localhost:631 click 'Administration->Add Printer' login as root and and follow the prompts.
When it asks 'Or Provide a PPD File:' click 'Browse...' and select '/opt/epson-inkjet-printer-201207w/ppds/Epson/Epson-L350_Series-epson-driver.ppd.gz'.
Click 'Add Printer'.
Back to top
View user's profile Send private message
wgwnxu
n00b
n00b


Joined: 15 Jan 2012
Posts: 20

PostPosted: Mon Jul 29, 2013 2:40 am    Post subject: Reply with quote

pota wrote:
run
Code:
rpm --install --nodeps epson-inkjet-printer-201207w-1.0.0-1lsb3.2.i486.rpm

it will create '/opt/epson-inkjet-printer-201207w' directory
start cups
Code:
/etc/init.d/cups-browsed start

go to http://localhost:631 click 'Administration->Add Printer' login as root and and follow the prompts.
When it asks 'Or Provide a PPD File:' click 'Browse...' and select '/opt/epson-inkjet-printer-201207w/ppds/Epson/Epson-L350_Series-epson-driver.ppd.gz'.
Click 'Add Printer'.


:P
I had installed the driver with your instruction.when I printed the TestPager,the CUPS says filter failed,what's wrong?please!
Back to top
View user's profile Send private message
pota
n00b
n00b


Joined: 25 Jan 2005
Posts: 22

PostPosted: Mon Jul 29, 2013 8:09 am    Post subject: Reply with quote

you must compile filter from source:

edit 'configure.ac', search for 'CUPS_SERVER_DIR=${prefix}/lib/cups' and replace '${prefix}/lib/cups' with '${prefix}/cups/lib' then run
Code:
./configure --prefix=/opt/epson-inkjet-printer-201207w && make
and as root
Code:
make install
Back to top
View user's profile Send private message
wgwnxu
n00b
n00b


Joined: 15 Jan 2012
Posts: 20

PostPosted: Tue Jul 30, 2013 3:12 am    Post subject: Reply with quote

pota wrote:
you must compile filter from source:

edit 'configure.ac', search for 'CUPS_SERVER_DIR=${prefix}/lib/cups' and replace '${prefix}/lib/cups' with '${prefix}/cups/lib' then run
Code:
./configure --prefix=/opt/epson-inkjet-printer-201207w && make
and as root
Code:
make install


Yes,you are great! It is done!Thank you very much!
It was trouble to me long time,I can only print under Windows,and I don't like Windows.The customer's service of Epson was bad,they can't know how to compile the filter under the Gentoo.
Thanks again!
Back to top
View user's profile Send private message
Kuznetsovlv
n00b
n00b


Joined: 23 Dec 2015
Posts: 2
Location: Moscow

PostPosted: Thu Dec 24, 2015 11:25 pm    Post subject: Reply with quote

Hello! I used same way to install my Epson L210 to my Gentoo at RaspberryPi which I whant to use as print server.
Because I have an arm processor I took driver epson-inkjet-printer-201207w-1.0.0-1lsb3.2.src.rpm. I extracted from it the directories epson-inkjet-printer-201207w-1.0.0 and epson-inkjet-printer-filter-1.0.0. The directory epson-inkjet-printer-201207w-1.0.0 was copied to /opt/epson-inkjet-printer-201207w-1.0.0 after it I gone into epson-inkjet-printer-filter-1.0.0. and used commands:
Code:
libtoolize --force --copy&&aclocal&&autoconf&&automake&&./configure --prefix=/opt/epson-inkjet-printer-201207w-1.0.0 &&make

Code:
./configure --prefix=/opt/epson-inkjet-printer-201207w && make

Code:
make install

all as root!
Afrer all in the cups' web I selected appropriate ppd file but printer still does not work. I get state for all my tasks as "Filter failed"...
Back to top
View user's profile Send private message
Kuznetsovlv
n00b
n00b


Joined: 23 Dec 2015
Posts: 2
Location: Moscow

PostPosted: Thu Dec 24, 2015 11:28 pm    Post subject: Reply with quote

May be I have to install lsb 3.2 but I cant to find it, emerge gets only 1.4 version....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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