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           =   [EMAIL PROTECTED]
Senior Systems Programmer          or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to