Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2004 15:13:30 +0100
From:      "Markie" <mark.cullen@dsl.pipex.com>
To:        "Briggaman, Jason" <jbriggaman@lightship.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Point n' print Samba
Message-ID:  <005e01c465be$eb7ee4d0$f800000a@laptop>
References:  <EFB4BE787DC3D3118BFD009027E7A99F08860797@exchange.lightship.noc>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Briggaman, Jason" <jbriggaman@lightship.com>
To: <freebsd-questions@freebsd.org>
Sent: Friday, July 09, 2004 1:52 PM
Subject: Point n' print Samba


| Has anyone successfully gotten Samba to act as a "point'n print" print
| server within a Windows 2000 domain or know of any good HOWTOs? I'm
having

I have got it working, although it was a long time ago and I can't remember
exactly how I did it or any HOWTO's I used, so I can only really point you
at some configuration really.

I am using CUPS, I have heard you can do it with apsfilter or something and
it's better? but it works fine for me so I left it with CUPS (you may have
to recompile samba with CUPS support?). After CUPS is installed you should
first edit /usr/local/etc/cups/mime.types and mime.convs. Right at the
bottom of each of these files is a commented out raw filter. You'll need to
uncomment both of these lines for raw printing! Start cupsd and setup a raw
printer with the web based configuration, http://localhost:631 I think
that's all you have to do for CUPS.

Then you'll need to edit smb.conf located in /usr/local/etc and include, as
global options

   load printers = yes
   printcap = cups
   printcap name = cups
   printing = cups
   printer admin = @admin

You'll want to change the printer admin from the admin group probably. Then
you'll need to make two shares along the lines of

[printers]
   comment = Printers
   path = /var/spool/samba
   guest ok = yes
   public = yes
   writeable = no
   printable = yes
   printer admin = @admin

[print$]
   comment = Printer Driver Download
   path = /samba/printerdriver
   browsable = yes
   guest ok = yes
   read only = yes
   write list = @admin

Again, you'll want to change the @admin groups and probably the path for
the print$ share then restart samba. Here's a bit I can't quite remember
but i'm sure someone on the list will be able to fill it in. You'll need to
install the printer drivers into the print$ share, I seem to remember doing
this by going to \\computername . You should see a printers folder in
there! Possibly using the Add Printer thing in there, if not then I guess
you could try \\computername\printers (that seems to come up with some
sorta wizard).

Oh! I just saw something which I never saw before but sounds like what you
need to install the printer drivers to the server. If you goto
\\computername and then double clicks the printers folder, right click in
here and goto Server Properties. Click the Drivers tab and then hit the Add
button. Seems to be what you need. Providing all goes well and you see the
windows drivers now in \\computername\print$ you should be able to setup
the clients using the printer wizard and they *should* get the drivers from
the server automatically now!

Sorry it's all so rough, I really can't remember what I did exactly. If
none of that seems to work then you could always try searching for "samba
cups" on google. Maybe someone else can help more!

| troubles getting the win2k clients to download the drivers from the print
| server.
|
| thanks
|
|
| ******************************
| This e-mail message, including any attachment(s), is intended only for
the
| use of the individual or entity to which it is addressed and may contain
| information that is privileged and/or confidential.
| Lightship Telecom / www.lightship.com
|
| _______________________________________________
| freebsd-questions@freebsd.org mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005e01c465be$eb7ee4d0$f800000a>