Andrew
its been years since i did serial printing and that was before the likes of cups.
I feel that its not right that no one has responded, but can understand why, when you are using a
printer from a museum.
I had the LX-1000, the 18 pin version of that printer (i think it was LX or LQ) in 1990, and that was second hand and ageing then.
but, more importantly this printer should not need cups to work.
all you need is lpr lpd and lpadmin to set it up.
found this on someones page on google
this goes in the file /etc/printcap
- Code: Select all
lp|epson|EPSON LX-800:\
:lp=/dev/lp1:sd=/usr/spool/lpd/epson:\
:of=/usr/lib/lp-filter/lpf-epson:\
:sh:mx#0:pl#70:pw#80:
the only bit im not sure of today is the of= ie the output filter
that may not work, or exist in todays linux
change the lp=/dev/lp1 to whatever device you are using (lp1 is fine for parallel or /dev/tty0a or whatever the serial port is.
lpc stat should tell you what its status is.
lpr /etc/hosts should send a print to it.
etc
one thing to note about that of=
you can replace that with a script
that script could simply be
cat - > /tmp/xxxxxx
in other word cat standard in and redirect to a file
prints sent to this printer should end up in /tmp/xxxxxx
then you know your prints are getting this far.
at that point you can try cat /tmp/xxxxxx > /dev/lp1
if that dont work, then maybe the problem is with lp1
anyways understanding printcap and what you can do, makes making progress diagnosing printing problems
a little less like painting the back room through the letter box
hope that helps.
regards peter