From owner-freebsd-questions Wed Apr 7 13:29:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gatekeeper.salestech.com (gatekeeper.salestech.com [198.153.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 56B9215861 for ; Wed, 7 Apr 1999 13:28:43 -0700 (PDT) (envelope-from MillikS@sti.imshealth.com) Received: from [162.44.80.67] by gatekeeper.salestech.com for id QAB15897; Wed Apr 7 16:26:44 1999 Received: by STIUSATLCX1.salestech.com with Internet Mail Service (5.5.2232.9) id ; Wed, 7 Apr 1999 16:26:39 -0400 Message-ID: Subject: SMB Printing Date: Wed, 7 Apr 1999 16:26:28 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain To: "'questions@freebsd.org'" From: "Milliken, Scott" Cc: "Milliken, Scott" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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