1. Printing with an Epson Stylus Color 400
I am posting this as Caldera support have said that they are beaten.
Many apologies for the length of the posting, but I thought you would
like as much info as possible right from the start.
I have Caldera OpenLinux 1.1 installed, with the KDE desktop.
The printer is installed according to the recommendations at:
http://www.caldera.com/support/techguide/styluscolor.html
This means that GhostScript 5.10 is installed, and that lpr is supposed
to use the following filter which I have in /var/spool/lpd/ps/filter:
#!/bin/sh
UPP=stc
PAPERSIZE=a4
if [ "$PAPERSIZE" = "a4" ]; then
T=A4
else
T=US
fi
if [ -x /usr/bin/nenscript ]; then
nenscript -T$T -ZB -p-
else
if [ "$T" = "US" ]; then
T="Letter"
fi
enscript -M $T -Z -p -
fi |
exec 3>&1 1>&2
exit 0
/etc/printcap says:
##PRINTTOOL## LOCAL stcolor 720x720 a4 {}
ps:\
:sd=/var/spool/lpd/ps:\
:mx#0:\
:lp=/dev/lp1:\
:if=/var/spool/lpd/ps/filter:\
:sh:
##PRINTTOOL## LOCAL
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:lp=/dev/lp1:\
:sh:
If I call nenscript on a text file and direct the output to a file, it
produces a PostScript file i.e.
nenscript -TA4 -ZB -pprintcap.ps /etc/printcap
works OK.
If I now call GhostScript on the PostScript file
It prints the file OK. (Well it omits the first 3 lines actually, but
at least what it does print is correct - Courier 10 etc). Similarly if
I use the same command on any of the GhostScript example files (e.g.
tiger.ps), they print just fine.
However, if I try to use lpr to print any kind of file I get no output
at all. lpr goes to the filter OK (i.e. I can add a command to the
start of filter like `echo "In filter"` and it prints it (to the printer
- so presumably stdout is to the printer -- inherited from lpr??). It
also prints the GS> prompt.
If I put the "echo" command in the "if" statement, it does not print (or
in the else) - presumably it gets lost in the pipe somewhere.
If anyone can help I will be eternally grateful and possibly for longer.
Regards
Peter
2. Keyboard shortcut
3. ghostscript printing of files to Epson Stylus Colour 400
4. Will a Zoltrix External Modem Work with RH5.2????
5. Printing on an Epson Stylus 400
6. Getting rid of XConsole
7. Epson Stylus Color 400 Problems
8. newbie leased line question
9. Epson Stylus 400/ WP8
10. EPSON Stylus Color 400 Drivers
11. Epson Stylus 400 and gs5.10 stc.upp driver
12. Epson Stylus 400 question
13. Printer Problem: Epson Colour Stylus 400