From owner-freebsd-questions Wed Jun 14 9:16:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mdanderson.org (mail.mdacc.tmc.edu [143.111.87.47]) by hub.freebsd.org (Postfix) with ESMTP id 01DFA37B595 for ; Wed, 14 Jun 2000 09:16:37 -0700 (PDT) (envelope-from fosburgh@flash.net) Received: from jefnt (jef-nt.mdacc.tmc.edu [143.111.64.202]) by mail.mdanderson.org (8.9.1b+Sun/8.9.1) with SMTP id LAA16725; Wed, 14 Jun 2000 11:12:28 -0500 (CDT) Message-ID: <004501bfd61b$c7e70390$ca406f8f@mdacc.tmc.edu> From: "Jonathan Fosburgh" To: "Cliff Rowley" , References: <3947AE70.C1F5FC30@olive.co.uk> Subject: Re: Samba & smbprint Date: Wed, 14 Jun 2000 11:15:38 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Cliff Rowley" To: Sent: Wednesday, June 14, 2000 11:10 AM Subject: Samba & smbprint > Greetings, > > Has anyone had any luck using smbprint under FreeBSD 4.0? I'm trying to > print to our networked NT based print server. > > FreeBSD merlin.osl.co.uk 4.0-STABLE FreeBSD 4.0-STABLE #3: Wed Jun 7 > 17:07:21 BST 2000 root@merlin.osl.co.uk:/usr/src/sys/compile/MERLIN > i386 > > [root@merlin:cliff]$ /usr/local/sbin/smbd -V > Version 2.0.7 > > /etc/printcap: > > lp:\ > :cm=Mono laser on Freud:\ > :sd=/var/spool/lpd/lp_mono:\ > :af=/var/spool/lpd/lp_mono/acct:\ > :if=/usr/local/libexec/smbprint:\ > :mx=0:\ > :lp=/dev/null: > > I am getting the following error reported in lpd-errs: > > [root@merlin:cliff]$ cat /etc/motd | lpr > > Jun 14 17:08:31 merlin lpd[2149]: lp: filter 'f' exited (retcode=127) > Jun 14 17:08:31 merlin lpd[2149]: mail sent to user root about job stdin > on printer lp (XXX compiler confusion) > Jun 14 17:08:31 merlin lpd[2149]: lp: job could not be printed > (cfA009merlin.osl.co.uk) > > I'm lost... What have I screwed up (this time) ? > > Thanks The latest apsfilter has the ability to use Windows printers (You should have ghostscript installed if you don't already). It doesn't use smbprint but smbclient, something I have gotten to work before. I had originally used the wrong driver for this printer so it doesn't currently work for me, but I haven't had a chance to change the driver and see if it works. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message