View previous topic :: View next topic |
Author |
Message |
wgwnxu n00b
Joined: 15 Jan 2012 Posts: 20
|
Posted: Fri Jul 19, 2013 9:47 am Post subject: How to compile Epson printer driver? |
|
|
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 |
|
|
wgwnxu n00b
Joined: 15 Jan 2012 Posts: 20
|
Posted: Fri Jul 19, 2013 9:51 am Post subject: |
|
|
Sorry,My system is Linux version 3.7.10-gentoo. |
|
Back to top |
|
|
pota n00b
Joined: 25 Jan 2005 Posts: 22
|
Posted: Fri Jul 19, 2013 12:18 pm Post subject: |
|
|
Try this:
Code: | libtoolize --force --copy&&aclocal&&autoconf&&automake&&./configure --prefix=/opt/epson&&make |
|
|
Back to top |
|
|
wgwnxu n00b
Joined: 15 Jan 2012 Posts: 20
|
Posted: Sun Jul 21, 2013 9:38 am Post subject: |
|
|
pota wrote: | Try this:
Code: | libtoolize --force --copy&&aclocal&&autoconf&&automake&&./configure --prefix=/opt/epson&&make |
|
Thanks.
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 |
|
|
pota n00b
Joined: 25 Jan 2005 Posts: 22
|
Posted: Sun Jul 21, 2013 1:56 pm Post subject: |
|
|
use cups:
http://localhost:631
Administration->Add Printer->'Provide a PPD File'->Browse->select 'ppd' file from 'D:ppds'
I think ... |
|
Back to top |
|
|
wgwnxu n00b
Joined: 15 Jan 2012 Posts: 20
|
Posted: Tue Jul 23, 2013 4:28 am Post subject: |
|
|
pota wrote: | use cups:
http://localhost:631
Administration->Add Printer->'Provide a PPD File'->Browse->select 'ppd' file from 'D:ppds'
I think ... |
thank you,but It can't work. |
|
Back to top |
|
|
wgwnxu n00b
Joined: 15 Jan 2012 Posts: 20
|
Posted: Tue Jul 23, 2013 4:31 am Post subject: |
|
|
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 |
|
|
pota n00b
Joined: 25 Jan 2005 Posts: 22
|
Posted: Tue Jul 23, 2013 11:14 am Post subject: |
|
|
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 |
|
|
wgwnxu n00b
Joined: 15 Jan 2012 Posts: 20
|
Posted: Mon Jul 29, 2013 2:40 am Post subject: |
|
|
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'. |
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 |
|
|
pota n00b
Joined: 25 Jan 2005 Posts: 22
|
Posted: Mon Jul 29, 2013 8:09 am Post subject: |
|
|
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 |
|
Back to top |
|
|
wgwnxu n00b
Joined: 15 Jan 2012 Posts: 20
|
Posted: Tue Jul 30, 2013 3:12 am Post subject: |
|
|
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 |
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 |
|
|
Kuznetsovlv n00b
Joined: 23 Dec 2015 Posts: 2 Location: Moscow
|
Posted: Thu Dec 24, 2015 11:25 pm Post subject: |
|
|
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 |
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 |
|
|
Kuznetsovlv n00b
Joined: 23 Dec 2015 Posts: 2 Location: Moscow
|
Posted: Thu Dec 24, 2015 11:28 pm Post subject: |
|
|
May be I have to install lsb 3.2 but I cant to find it, emerge gets only 1.4 version.... |
|
Back to top |
|
|
|