12年前的老笔记本换了固态后,第一次安装manjaro系统,在安装好Epson L 4158网络打印机后,一直无法打印,现在终于解决了,希望给有同样问题的人解惑。
下载驱动:EPSON Download Center
根据型号下载到epson-inkjet-printer-escpr-1.7.16-1lsb3.2.tar.gz
解压:tar -zxvf epson-inkjet-printer-escpr-1.7.16-1lsb3.2.tar.gz
进入目录:cd epson-inkjet-printer-escpr-1.7.16
编译安装:sudo ./configure && make && make install(根据提示安装编译环境)
提示:
/home/it5u/下载/epson-inkjet-printer-escpr-1.7.9/missing:行81: automake-1.15:未找到命令
WARNING: 'automake-1.15' is missing on your system.
You should only need it if you modified 'Makefile.am' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'automake' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make: *** [Makefile:378:Makefile.in] 错误 127
解决:源码目录执行命令:autoreconf -ivf
继续编译安装,提示:
/usr/bin/install: cannot create regular file '/usr/local/lib/libescpr.so.1.0.0': Permission denied
make[2]: *** [Makefile:438:install-libLTLIBRARIES] 错误 1
make[2]: 离开目录“/home/it5u/下载/epson-inkjet-printer-escpr-1.7.9/lib”
make[1]: *** [Makefile:740:install-am] 错误 2
make[1]: 离开目录“/home/it5u/下载/epson-inkjet-printer-escpr-1.7.9/lib”
make: *** [Makefile:447:install-recursive] 错误 1
解决:su -或者sudo su - #切换到root账户
再执行:./configure && make && make install
完成源代码编译安装。
访问http://localhost:631/,安装网络打印机,指定Epson-L4150_Series-epson-escpr-en.ppd文件,正常完成安装,但无法正常打印,
访问printers标签,打印机状态显示:
Idle - "File "/usr/lib/cups/filter/epson-escpr-wrapper" not available: No such file or directory"
解决:cp /usr/local/lib/cups/filter/cepson-escpr-wrapper /usr/lib/cups/filter/
sudo systemctl restart cups
再重新刷新http://localhost:631/printers/,打印机状态无错误提示,打印测试成功!
更新注意事项:在添加网络打印机时,在Discovered Network Printers项能自动识别到两个同型号的打印机,在选择时注意下一步选择后显示为Connection:dnssd://开头的打印机(另一个是直接为IP地址的),如果不对可以返回重新选择一下,这样就不会因为打印机IP改变了链接不上的问题。