[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Slink upgrade broke printer configuration



I'm answering my own query from Saturday 20 March 1999, in case
someone else has the same problem
(Epson Stylus Color 400 failed after Hamm -> Slink upgrade).

The problem was the filter /etc/magicfilterstylus_color_720dpi-filter,
from magicfilter version 1.2-28. It's 
good for Ghostscript version 3.33, and possibly 4.03, but not 5.50
which I am running. I replaced the 
PostScript section of the filter by

 0      %!              filter  /usr/bin/gs @stc.upp
-sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 -c quit
 0      \004%!          filter  /usr/bin/gs @stc.upp
-sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 -c quit
# PDF
 0      %PDF            fpipe   /usr/bin/gs @stc.upp
-sOutputFile=\|"cat 1>&3" $FILE 3>&1 1>&2 -c quit

using options that I found in a sample gs command at
http://eunuchs.org/epson/index.html..

With this change, the filter prints PostScript (formerly, it produced
infinite page ejects). There is still a flaw in 
the printing of text by the final default entry: there is no page
eject at the end. It's clear how to write a script 
using cat to take care of this, but there should be a more elegant
solution.

Mike O'Donnell


Reply to: