From owner-freebsd-questions Sun Sep 19 13:27:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id A68AE14FFD for ; Sun, 19 Sep 1999 13:27:19 -0700 (PDT) (envelope-from bvi@rucus.ru.ac.za) Received: (qmail 45060 invoked by uid 374); 19 Sep 1999 20:29:13 -0000 Date: Sun, 19 Sep 1999 22:29:13 +0200 From: Barry Irwin To: Nguyen Huu Bach Cc: FreeBSD-Question Subject: Re: Help:printing with samba Message-ID: <19990919222913.R5613@rucus.ru.ac.za> References: <03cb01bf026a$11a6db80$0e181c0a@archi.gifunct.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <03cb01bf026a$11a6db80$0e181c0a@archi.gifunct.ac.jp> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun 1999-09-19 (15:41), Nguyen Huu Bach wrote: > I failed to print from my Unix box (installed with FreeBSD 3.2) to Windows95 > printer (LP-1000) with Samba. > When I print one file from the Unix box (using lpr command), there was no > error but nothing was printed out at all. After that when I print something > else from Windows it comes with the content of the previous file at the top. > > My config files are [snipped] > > >>smbprint > #!/bin/sh > ( > echo translate > echo "print -" > cat > ) | /usr/local/bin/smbclient \\\\shuubun\\fuji -N -P > exit 0 have you tried something aling the lines of echo Mooo | smbprint or echo Mooo | /usr/local/bin/smbclient \\\\shuubun\\fuji -N -P ? this would help you narrow down where the problem is. Also can you print to this shared printer from any other machines. Since some printers ( specifically some lexmark and OKI printers in my experiance) dont like working over a network. Barry -- -------------------------------------------------------------------------- Barry Irwin IRC: balin@zanet (#linux) bvi@moria.org http://rucus.ru.ac.za/~bvi Whois BI414 - PMPN8EZ - http://moria.org -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message