Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2000 10:23:24 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        hackers@FreeBSD.org
Subject:   Looking for advice on lpr/lpd changes
Message-ID:  <v0421010bb53f1baa2310@[128.113.24.47]>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v0421010bb53f1baa2310>