PS: I was so excited that I blamed the
rpm2tgz tool; the (big) problem is the installation
without the script; the
script is the KEY.
HAHAHA!! I solved the problem (with the help of the others, thanks)!
Sorry for my last post - I was very tired, and cannot thinking right... Today I
solved the problem, and I
share the solution to make the
Epson Stylus TX 115 to work in Salix 64 13.37.
Many thanks to all people who give me hints, and specially to
Andyun (without the script, it will be not possible to solve this). So, let's go:
FIRST THING: NEVER, NEVER do as I have done: don't install the driver
converting it from .
.rpm to
.tgz, and then doing a
installpkg. Why? Because the
installation without the script is not perfect: it makes the installation files going to
unusual places (like /opt/epson-inkjet-printer-stylus-nx110-series/...), and the
PPD file (and others) DON'T POINT TO THIS LOCATIONS: it will
never find the
filters files, the watermark files, and will generate errors with libraries (like the
libjpeg.so.62 on my last post); it will never find it, because the files are in wrongs locations...
SECOND THING: So, what should I have done? Installed following the sugestion of
Andyun (great hint, man!
), using the
script SlackBuild that he says in his tread. The only sugestion that I can do, is for downloadin the
slack-desc file, since in the end of the process, the script will stop if don't find this file; place it together with the other files.
Follow the steps
1, 2 , 3, 4 (in the Andyun post). Get the package in /tmp, and install it with
installpkg.
THIRD THING: Now the drivers files are installed in the
correct location: /usr/lib64 and other folders. I realize it when (today) I tried to correct the problem with
libjpeg.so.62: the file /opt/epson-inkjet-printer-stylus-nx110-series/cups/lib/filter/
epson_inkjet_printer_filter is now in
/usr/lib64/cups/filter/epson_inkjet_printer_filter; and when I done:
ldd /usr/lib64/cups/filter/epson_inkjet_printer_filter
The answer was
zero errors: so now I don't need to worry now about
missing libraries / in wrong places and symbolic links.
One problem less.
And the permissions for this new location are right (I looked in
/var/log/cups/error_log - now the CUPS don't complain about
epson_inkjet_printer_filter" for printer "Epson_Stylus_TX115" not owned by root. Doesn't need to do the
# chown -R root:root /opt/epson-inkjet-printer-stylus-nx110-series/ command...)
Two problems less.
FOURTH THING: Now, the only problem is the
PPD file. Why? In the first place, it isn't in
/usr/share/cups/model/Epson/, but now in
/etc/cups/ppd/.
In this place, it isn't necessary to create the
/Epson folder (my first topic, step 5)), and place the PPD (it is already here, and the system
knows its). But now, there is
another problem (I discover this in a Debian blog about a Xerox printer): the
PPD file come with the folders paths defined "by default", that didn't match to the
actual locations of the files in my system; so I need to edit it
manually, and
correct this paths...
What should I have to do now? 1) Open a terminal and do:
$ su
# /etc/rc.d/rc.cups stop
# mousepad /etc/cups/ppd/Epson_Stylus_TX115.ppd
Now I can find:
*cupsFilter: "application/vnd.cups-raster 0 /opt/epson-inkjet-printer-stylus-nx110-series/cups/lib/filter/epson_inkjet_printer_filter"
and change to (this explain why my
/var/log/cups/error_log is showing me:
"/opt/epson-inkjet-printer-stylus-nx110-series/cups/lib/filter/epson_inkjet_printer_filter: No such file or directory"):
*cupsFilter: "application/vnd.cups-raster 0 /usr/lib64/cups/filter/epson_inkjet_printer_filter
BUT this change
wasn't enought to solve the problem. There
another wrongs paths in the PPD file.
So, I scroll down and found:
*epcgWatermarkData Confidential: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG00.EID"
*epcgWatermarkData Draft: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG01.EID"
*epcgWatermarkData Urgent: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG02.EID"
*epcgWatermarkData Priority: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG03.EID"
*epcgWatermarkData Hot: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG04.EID"
*epcgWatermarkData DoNotCopy: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG05.EID"
*epcgWatermarkData ForYourEyesOnly: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG06.EID"
*epcgWatermarkData ReviewCopy: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG07.EID"
*epcgWatermarkData TopSecret: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG08.EID"
*epcgWatermarkData Duplicate: "/opt/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG09.EID"
and
changed to:
*epcgWatermarkData Confidential: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG00.EID"
*epcgWatermarkData Draft: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG01.EID"
*epcgWatermarkData Urgent: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG02.EID"
*epcgWatermarkData Priority: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG03.EID"
*epcgWatermarkData Hot: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG04.EID"
*epcgWatermarkData DoNotCopy: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG05.EID"
*epcgWatermarkData ForYourEyesOnly: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG06.EID"
*epcgWatermarkData ReviewCopy: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG07.EID"
*epcgWatermarkData TopSecret: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG08.EID"
*epcgWatermarkData Duplicate: "/usr/share/epson-inkjet-printer-stylus-nx110-series/watermark/WEPCG09.EID"
This solved the errors in the
PPD. Saved the file, closed mousepad and done:
# /etc/rc.d/rc.cups restart
(Much problems less...)
FIFTH THING: Go to
localhost:631; uninstalled my old printer (don't know this is really necessary, but I'm afraid that the printer will be locked in the old configuration...).
Reboot (don't know this is really necessary, because I stopped CUPS, but I done).
Go (again) to
localhost:631; reinstalled the printer; and do a print page test.
Now CUPS should print the page (this is what happened to me), and now I can use my Epson TX115 printer in Salix.
Happy printing with Salix!!!
PS: I used the name the packages to epson-inkjet-printer-stylus-
nx110-series (even my printer is Epson Stylus TX 115), since the downloaded files (
.rpm ) are the NX110 Series driver files (that are compatible with TX115, according the Epson site); modify the script following what like Andyun says, and the the slack-desc in agreement.
PS: Sorry by the excess of errors about some tools in Linux. I'm still learning, and sometimes I get very amazed by others opinions...