Is there an alternate method of remote printing?

Guy Harris guy at auspex.auspex.com
Thu Jun 1 04:07:33 AEST 1989


>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....



More information about the Comp.unix.questions mailing list