From owner-freebsd-questions Thu Apr 8 9:52:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 908EC15AC2 for ; Thu, 8 Apr 1999 09:52:34 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id <2N11NB6B>; Thu, 8 Apr 1999 12:51:19 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB441A602C@site2s1> From: Christopher Michaels To: "'Milliken, Scott'" , "'questions@freebsd.org'" Subject: RE: SMB Printing Date: Thu, 8 Apr 1999 12:51:37 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There is a script that comes with the Samba distribution that does exactly what you are looking for, which is called smbprint. There is sufficient documentation in the script, and also you should look at /usr/share/doc/samba/ there is printing documentation there as well as http://www.samba.org/ -Chris > -----Original Message----- > From: Milliken, Scott [SMTP:MillikS@sti.imshealth.com] > Sent: Wednesday, April 07, 1999 4:26 PM > To: 'questions@freebsd.org' > Cc: Milliken, Scott > Subject: SMB Printing > > Hi, > I'm trying to figure out just how to put an entry in /etc/printcap > so that I can print to a Samba shared printer. I have the input filter > set > up and have had the printer working when hooked up locally, but I have a > need to print to some other printers that are attached to NT print queues > and do not have lpd running locally on the NT servers. Adding lpd is not > an > option as we have territorial admins here that won't give access to admins > from other groups to do things like that. > It would seem that the logical way to approach this would be to have > the spooler print to a file, then pass that file name on to a script that > could call smbclient to attach to the printer, then execute a "print > filename" command. However, I'm not quite sure how to implement that. If > there is an FAQ that covers this, I'd certainly like to know where. I've > checked the FreeBSD handbook and the www.freebsd.org web pages to no > avail. > > Thanks, > Scott A. Milliken > IMS Health Strategic Technologies > Systems Integration Group > Atlanta, GA > > > *** Ignorance is 9/10 of the law. Possession is bliss. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message