Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!uunet!tron!kerr From: kerr@tron.UUCP (Dave Kerr) Newsgroups: comp.sys.apollo Subject: Need help with lpr Message-ID: <613@tron.UUCP> Date: 16 Jul 90 22:32:25 GMT Reply-To: kerr@tron.bwi.wec.com (Dave Kerr) Organization: Westinghouse Electric Corporation Lines: 50 Fellow apollo users: I'm trying to set up lpr/lpd on our apollo nodes and have a few questions that I'm hoping somebody out there can help me with. First some background: Most nodes are running sr10.1, but we have some 9.7 nodes too. Our local printers are LZR26 postscript printers. I'm using the :pc: option in /etc/printcap to pass off the files to /com/prf for printing to local apollo printers (since apollo doesn't supply filters for lpr to work with postscript printers). The reason I want lpr is so that I can print to printers on remote (non-apollo) unix machines, and print from remote machines to our printers. The plan was to have one node per printer acting as a spooling node for lpr. Other nodes in the general area of the printer would link their /usr/spool/lpd directory to the spooling node for that printer. This is the way we've done it for Aegis in the past. The lpr manuals indicate that this is an acceptable configuration, but at 10.1 lpr is broken! The problem is that if you run lpr on a node that isn't running lpd, you get an error that it can't start the daemon. Apollo's *workaround* is to run lpd on every node (their solution is "fixed at 10.2"). I thought some about running lpd on every node with the spool directories linked back to a master node and it seems that that will cause problems. I'm not sure, but I wanted to try and avoid trouble before the fact. My concern is that there is a lockfile created in /usr/spool/lpd/ that contains the PID of an lpd daemon. If I've got several nodes running lpd, I'm bound to get two lpd's (on different nodes) that end up with the same PID. That seems like a problem to me. Can anybody shed some light on the proper configuration of lpr/lpd on an sr10.1 apollo system? Thanks in advance, Dave Kerr -- -- Dave Kerr (301) 765-4453 (WIN)765-4453 tron::kerr Internal WEC vax mail kerr@tron.bwi.wec.com from an Internet site kerr@tron.UUCP from a smart uucp mailer