Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] Epson printers with pipslite - DX9400F
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mattia
n00b
n00b


Joined: 19 Sep 2005
Posts: 5

PostPosted: Wed Jan 23, 2008 6:00 pm    Post subject: [TIP] Epson printers with pipslite - DX9400F Reply with quote

After fiddling around a whole day with the damn pipslite drivers, i've managed to get them finally working on my DX9400F.
They actually should work the same way on all other supported models.

First get your pipslite tar.gz from here:

http://www.avasys.jp/english/linux_e/dl_spc.html

Make sure you download the first one, for cups (even if I think that the tar.gz are not different)

Make sure you have gtk+ ver. 1 installed, you'll need that later.

Unpack the tar.gz and enter the newly created directory.

Run
Code:
./configure --prefix=/usr

as root run
Code:
make && make install


And then the important step:
Copy the files in the folder /usr/lib/cups/filter
to /usr/libexec/cups/filter

Code:
cp /usr/lib/cups/filter/* /usr/libexec/cups/filter


You might need to create the directory beforehand.

Code:
mkdir /usr/libexec/cups && mkdir /usr/libexec/cups/filter


For some reason the cups filters are not installed into the correct directory, and printing fails, claiming that cups can't find rastertopips

Do not delete anything in the /usr/lib/cups/ directory, otherwise it won't work again, and log something like [JOB***] (/usr/libexec/cups/rastertopips) killed. Exited with status 8.

To be able to run the printer properly, we need to run the ekpd daemon first. Pipslite comes with a set of start scripts but i prefer to use this gentoo-style one:

Code:

#!/sbin/runscript

start() {
        ebegin "Starting ekpd"
        start-stop-daemon --start --quiet --background --exec /usr/lib/pipslite/ekpd
        eend $?
}

stop() {
        ebegin "Stopping ekpd"
        start-stop-daemon --stop --quiet --exec /usr/lib/pipslite/ekpd
        eend $?
}


just copy the code into the file created with
Code:
nano -w /etc/init.d/ekpd


Give the script the correct permissions
Code:
chmod 0755 /etc/init.d/ekpd


and add it to the default runlevel.
Code:
rc-update add ekpd default


Start the script
Code:
rc-config start ekpd

or
Code:
/etc/init.d/ekpd start


Now create the correct ppd file for your printer. Plug it in (if you didn't already) and run pipslite-install.
Code:
pipslite-install

It should find your printer and create a ppd file in /usr/share/cups/model

It won't work if ekpd is not running!

Now open http://localhost:631 and insert a new printer, using the newly created ppd file (usually the first in the list).

It could still be, that cups complains about the ppd file, like ImageableArea missing or similar. It helped to change all the commas in the PageSize, PageRegion, ImageableArea, PaperDimensions and Fonts block into dots, editing the ppd file.

Happy printing!

P.s.: There is a howto at the gentoo-wiki for setting up the scanner with iscan. It's straightforward. Just make sure to unplug eventual USB video devices before running sane-find-scanner, or it won't find the scanner.
Back to top
View user's profile Send private message
alet_roux
n00b
n00b


Joined: 12 Oct 2004
Posts: 54

PostPosted: Sun Feb 10, 2008 1:13 pm    Post subject: Reply with quote

Thanks mattia for the detailed description. I've written an ebuild for it, and submitted it to bugzilla.
Back to top
View user's profile Send private message
claudio
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2005
Posts: 84
Location: Bern, Switzerland

PostPosted: Fri Nov 21, 2008 10:23 am    Post subject: Reply with quote

There is a more recent version at https://forums.gentoo.org/viewtopic-t-715646.html. Thanks mattia for your good work!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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