From: Aaron Michael Cohen (acohen@world.std.com)
Date: 03/10/93


From: acohen@world.std.com (Aaron Michael Cohen)
Subject: Serial Printers and lpd
Date: Wed, 10 Mar 1993 16:59:29 GMT

Has anyone successfully set up the printer spooler with a serial printer.
I have the most recent SLS release of Linux and have been very happy with
it except for this problem.

I can print to the serial printer fine by:
stty 9600 < /dev/ttyS1
cat file > /dev/ttyS1

(My printer is hooked to DOS COM2)

So I know the printer is hooked up right and works. It's the spooler that
doesn't do anything.

When I submit files with lpr they go into the proper spool directory. Then
they just sit there. There is a daemon process running lpd which shows up
when I do a ps. But when I do an lpq, I get a message "No daemon present"
and then the list of files which are stuck in the queue.

I have read some other messages about setting up the spooler, so I think that
I have the permissions right, etc. lpd is being started in my rc.local file
after all the other daemons.

A socket is getting created in /dev/printer. I think that this is all correct,
but still nothing is coming out the printer.

Oh I forgot to mention, I have set up an lp entry in /etc/printcap for a
serial line printer on with lp=/dev/ttyS1:br#9600.

Does anyone have a complete list of all that's required to get the spooler to
work. I am NOT on a network, so I don't have nfs running, but the name and inet
daemons show up with a ps.

I have consulted some UNIX system administration books to no avail, any help
would be much appreciated.

Thanks in advance,

Aaron Michael Cohen
acohen@world.std.com