From owner-freebsd-hackers Thu May 11 13:53: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from p2.acadia.net (p2.acadia.net [205.217.210.2]) by hub.freebsd.org (Postfix) with ESMTP id 751A537BB85 for ; Thu, 11 May 2000 13:52:51 -0700 (PDT) (envelope-from tbuswell@acadia.net) Received: from smpbox (ip142167012053.acadia.net [142.167.12.53]) by p2.acadia.net (8.9.3/8.9.3) with ESMTP id RAA13224; Thu, 11 May 2000 17:00:42 -0400 (EDT) Received: (from tbuswell@localhost) by smpbox (8.9.3/8.9.3) id QAA01448; Thu, 11 May 2000 16:57:36 -0400 (EDT) (envelope-from tbuswell) From: Ted Buswell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 11 May 2000 16:56:36 -0400 (EDT) To: Garance A Drosihn Cc: hackers@FreeBSD.ORG Subject: Re: Looking for advice on lpr/lpd changes In-Reply-To: References: <14617.37135.323534.539710@smpbox> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14619.7058.880620.576742@smpbox> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garance A Drosihn writes: > At 1:02 PM -0400 5/10/00, Ted Buswell wrote: > >Right now, you could write a shell script to create all of > >the various permutations of printer shares, each one with > >an appropriate "print command" directive in your smb.conf. > > We have >200 printers in printcap, and each of those printers > has at least two (and usually four or more) names. To add two > options (-h and -m), would mean more than 4*5*200 names. Ick... I don't like the proposed idea (shell script mod of smb.conf) either, however I was under the impression with your lpr mod you would also bludgeon the user with 4*5*200 printer shares. I had thought that with your lpr mod, you still need to somehow add the "printer/hm" variations into the list of shares presented by samba. Or am I missing a samba configuration option that permits the user to specify the queue the job is sent to [instead of having them select from a predefined list] ? In any case, my choice would be for the samba hack ;) -Ted > --- > Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu > Senior Systems Programmer or drosih@rpi.edu > Rensselaer Polytechnic Institute > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message