From owner-freebsd-hackers Wed May 10 7:23:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 7734837B7B5 for ; Wed, 10 May 2000 07:23:22 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id KAA260814 for ; Wed, 10 May 2000 10:23:20 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: Date: Wed, 10 May 2000 10:23:24 -0400 To: hackers@FreeBSD.org From: Garance A Drosihn Subject: Looking for advice on lpr/lpd changes Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here at RPI, we picked up a snapshot of freebsd's lpr many years ago, and currently use that on our AIX, Solaris, and IRIX systems. One of my main goals this year is to merge freebsd's current lpr (which has changed a lot since the snapshot we took in the early 1990's) with the extra features we've added. Once I have things sorted out, I'll have a number of updates to offer. However, I'm not quite that far along yet... :-) At the same time, I'm also trying to add yet-more features to our lpr for things our users have asked for. I wanted to ask for ideas on some of these, seeing that I eventually hope to merge the changes back into freebsd. Many of our users send jobs via samba connections. They would like to have a way to ask for '-h' (no header) or '-m' (send me email) options. I could do that by adding special queues that turn those on, but as we ALREADY have over 200 print queues, I'm loathe to duplicate queues just to add options. What is a good way to let samba users specify some of these options? I was thinking of having lpr understand options given in a printer name. Thus, for printer 'myptr', you could send to: lpr -Pmyptr (obviously...) lpr -Pmyptr-h lpr -Pmyptr-m lpr -Pmyptr-mh or -Pmyptr-hm (both would work). This would not allow them to set ANY option via the printer name, but it would allow those two, which are the most ones most often requested. This way, a samba user can just create a queue with -h or -m tacked on to the real queue name, and they have a Windows printer that will skip header pages or send them email. Does this seem like a reasonable idea, or should I approach this from another angle? There are quite a number of other changes I'm mulling over, including (perhaps) some kind of option for kerberos support (that one may be a bit too ambitious...). Should I just send more messages lpr changes on to hackers, or should I send them to some other list. --- 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