From: miranda@marv.eng.uiowa.edu (Johann Miranda) Subject: How I got lpd to stay up and lpr to print correctly. Date: Fri, 29 Jan 1993 18:19:40 GMT
Hello. There's been some talk about getting lpd and lpr to work properly; I
finally got it ( I think).
First of all, bribbeck@exucom.com (Bob Ribbeck), Thanks!
The only thing wrong was the .seq file ..... It should not be created, but the
daemon should create it.
OK; Here it goes. I make NO guarantee this will work for you!
Printer is on parallel port, you know, /dev/lp1.
Printcap entry is the one in Bob's article, slightly modified:
lp|epson:lp=/dev/lp1:sd=/usr/spool/lp1:lf=/usr/adm/lp1
lpr,lpd,lpq,etc... reside in /etc (No symlinks to anywhere!)and are owned
by root. Yeah, I know,this means /etc is world executable..... One thing
at a time people.
I created the directory /usr/spool/lp1 with owner daemon
and group daemon. I made sure there were no files with the "lock" word
anywhere in /usr/spool and subdirectories. I edited /etc/rc inserting
/etc/lpd. This so I could run lpd from boot time. Then I synced, rebooted,
logged in, picked a file, typed :
"lpr -Plp testfile" and that was that. It worked.
I picked up the lpr package from tsx-11, after erasing some pieces from
my SLS set due to frustration. I do not think this makes any difference,
as a friend of mine here also got his to work straight from the SLS set.
Hope this helps somebody. Maybe it'll make its way into the FAQ (it certainly is
one now!).
Hasta la vista,baby. -JEM-