This is a how I did it post. Mainly for the archives in case anyone else
has to do it.

I am running Debian Woody and using lprng. I wanted to get colour
printing from my Epson Stylus Color 1160. A google search turned up
Foomatic, so
"apt-get install foomatic-bin foomatic-db" put it on my machine.

Now there are a few gotchas along the way.

1) I tried to roll it by hand (into /etc/printcal.local), but couldn't
work out which foomatic was the bin for :if=/path/to/foomatic/bin.

It turned out to be :if=/usr/sbin/lpdomatic:\

So then I decided to use /sbin/foomatic-configure and it started barfing
on lprng's treatment of \etc\printcap. Lprng doesn't follow the standard
for :\ as line continuation in \etc\printcap.

2) Firstly you need need to work out your printer's id NUMBER.

The trap is that "less /usr/share/doc/foomatic-bin/USAGE" (which you
will need to gunzip) tells you to find your printer ID by 
"foomatic-configure -O | less", where you can "/1160" (something unique)
in my case. Make sure you get the correct number. Somehow I ended up
with the ID for a stylus 720 and this just produced garbage until I
realised.

3) To get around the bad /etc/printcap layout (as root);
     a) /etc/init.d/lpd stop
     b) mv /etc/printcap /etc/printcap.lprng
     c) touch /etc/printcap (otherwise you get an error from
foomatic-configure)
     d) foomatic-configure -n epsoncolour -c file:/dev/lp0 -P 317481 etc
(YVWV).
     e) mv /etc/printcap /etc/printcap.local
     f) cp /etc/printcap.lprng /etc/printcap
     g) /etc/init.d/lpd start
     h) lpr -Pepsoncolour /usr/share/doc/gs/examples/colorcir.ps for
testing {:-).

4) Somewhere in the doco is a test like lpr -Pqueuename -Z docs
/some/none/null/file, but this did not produce anything for me. FYI.


Now all that remains for me to do is to find a program that converts
from the printing ink numbers (Pantone) to RGB and modify
...snip
\definecolor{woagreen}{rgb}{.1,.75,.1}
...snip....
\textcolor{woagreen}{WOA Appropriately Situational Name for free tea and
bikkies }
...snip...

to get the exact shade of green I like for my business cards.

Yes, it works under Latex {:-)
-- 
   Terry Collins {:-)}}} email: terryc at woa.com.au  www:
http://www.woa.com.au  
   Wombat Outdoor Adventures <Bicycles, Computers, GIS, Printing,
Publishing>

 "People without trees are like fish without clean water"
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to