From: Ben Woodard <ben@va...> - 2001-05-17 17:02:04
> i have recently installed the hp sponsored enhanced printing system on
> my RH 6.2 llinux machine. The enhanced lpr and the drivers seems to
> work fine for a networked laserjet 2100 M printer. For my local epson
> stylus color 850 , i chose the generic epson stylus color filter (i
> couldn't find a an 850 filter).
> I seems to get a message 'No filename for parameters given. Assume
> stcany" on the printed page for the epson local printer.
> I finally tracked down this error message to the
> /usr/libexec/ps-to-printer.fpi file. This file looks for the COLOR
> variable in
> the /var/spool/lpd/lp/postscript.cfg file and echo the message to the
> printed output, if COLOR is empty.
> Why is the COLOR field in the postscript.cfg file is empty when edited
> by using the printtool facility?
> Why is the echo message is printed to the output page?
> I tried to fix this problem by commenting the echo line in the
> ps-to-printer.fpi file ony to find out that the lpd is crashed.
> Finally i fixed this problem by assigning COLOR=stcany in the
> postscript.cfg file. Obviously printtool overwrites this every
> time it is used.
> Is this a bug or i am doing somthing wrong? (before chasing this problem
> i had no idea how printing works in linux!. now i have
> a little bit)
The epson stylus seems to use the "uniprint" ghostscript driver. And
the parameters specified to ghostcript to drive the printer should be
in the .upp file file for your printer. On my system, they are in:
So make sure COLOR is set to the correct upp file for your
printer. From looking at the ps-to-printer.fpi file it looks like you
will need to make it specifiy the whole path.
As for why printtool doesn't set this up right. I'm not sure. I'm
posting this to lpr-discuss and one of the developers familiar with
printtool will hopefully answer you.