Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Is there an alternate method of remote printing? Keywords: hosts.lpd Message-ID: <1722@auspex.auspex.com> Date: 31 May 89 18:07:33 GMT References: <462@crdgw1.crd.ge.com> <568@laic.UUCP> <1963@ccncsu.ColoState.EDU> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 23 >Whoah! How about /etc/hosts.lpd? Did someone at SUN remove this >nice feature? Well, I don't know of any company named SUN, although there may be one; however, since Sun, not SUN, is the company that does SunOS, it doesn't matter. Nobody at Sun took out "/etc/hosts.lpd"; at least in the 4.0 LPD(8), it says: OPERATION Access Control Access control is provided by two means. First, all requests must come from one of the machines listed in either the file /etc/hosts.equiv or /etc/hosts.lpd. Second, if the rs capability is specified in the printcap entry, lpr(1) requests are only be honored for users with accounts on the printer host. and the 4.0 "lp*" code is basically the 4.3BSD code, with assorted tweaks such as the "ms" capability, which takes a string argument that's a bunch of "stty"-style option settings specifying the mode to set the serial port for the printer to, and changes to use "statfs" to find out how much space is left on a file system rather than pawing through the superblock....