Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2000 16:29:18 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Ted Buswell <tbuswell@acadia.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Looking for advice on lpr/lpd changes
Message-ID:  <v04210113b540c6165604@[128.113.24.47]>
In-Reply-To: <14617.37135.323534.539710@smpbox>
References:  <v0421010bb53f1baa2310@[128.113.24.47]> <v0421010eb53f36b37d37@[128.113.24.47]> <14617.37135.323534.539710@smpbox>

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

>Or alternatively, hack the appropriate bits in Samba so that
>you can have your clients connect to \\s\p\options to get lpr
>printer 'p' off of server 'p', with given options.
>For example: \\server\printer\noheader,email
>would result in Samba invoking "lpr -Pprinter -h -m".

Initially this seemed like the wrong idea, but the more I think
about it the more I like it.  Certainly if I got that working,
it would avoid all possible conflicts with any setup anyone
currently has.  And it could be readily extended to a lot more
than just those two options.

>This isn't different from your proposed mod to lpr, it just
>shuffles where the work is done.

Well, it's different in one major way.  Here at RPI, I have
complete and utter control over lpr.  A different guy does
samba, and he's buried with other projects right now... :-)

Still, I'll have to think about this some more.  I think this
is probably the most promising strategy to consider.  Thanks!


---
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?v04210113b540c6165604>