Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site enea.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!ber From: ber@enea.UUCP (Bjorn Eriksen) Newsgroups: net.unix-wizards,net.wanted Subject: hunt with lpr Message-ID: <863@enea.UUCP> Date: Mon, 29-Apr-85 22:39:21 EST Article-I.D.: enea.863 Posted: Mon Apr 29 22:39:21 1985 Date-Received: Fri, 26-Apr-85 22:27:13 EST Reply-To: ber@enea.UUCP (Bjorn Eriksen) Organization: ENEA DATA, Sweden Lines: 21 Xref: linus net.unix-wizards:10088 net.wanted:5409 Has anyone done, or thought about doing anything to make the lpr command in 4.2BSD able to choose one of several identical printers, just like tip 'hunts' a free autodialer? In /etc/printcap I would like to specify something like ...:lp=/dev/tty01,/dev/tty02:... and then have lpr to select the printer with the smallest queue left, the fewest number of bytes to print or whatever criteria that could get the printing job done as fast as possible. Any ideas would be appreciated. Thanks. -- Bjorn Eriksen ENEA DATA Sweden UUCP: {seismo,decvax,philabs}!{mcvax,ukc,unido}!enea!ber ARPA: decvax!mcvax!enea!ber@berkeley.arpa mcvax!enea!ber@seismo.arpa