From owner-freebsd-questions Thu Sep 16 18:13: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from makita.cc.gifu-nct.ac.jp (iwato.gifu-nct.ac.jp [202.223.137.1]) by hub.freebsd.org (Postfix) with ESMTP id D2D8B157CE for ; Thu, 16 Sep 1999 18:13:03 -0700 (PDT) (envelope-from bachng@mail.com) Received: from shosho.archi.gifunct.ac.jp (shosho.archi.gifu-nct.ac.jp [10.28.24.14]) by makita.cc.gifu-nct.ac.jp (2.0 Build 2131 (Berkeley 8.8.4)/8.8.4) with SMTP id KAA02081 for ; Fri, 17 Sep 1999 10:12:28 +0900 Message-ID: <020401bf00a9$350423c0$0e181c0a@archi.gifunct.ac.jp> Reply-To: "Nguyen Huu Bach" From: "Nguyen Huu Bach" To: "question FreeBSD" Subject: Help:printing with samba Date: Fri, 17 Sep 1999 10:08:51 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 >>printcap # setting of shuubun fuji printer fuji|using smbclient :\ :lp=/dev/null:\ :sd=/var/spool/output/lpd/smb:sh:\ :lf=/var/log/lpd-errs:\ :if=/usr/local/libexec/smbprint: >>smbprint #!/bin/sh ( echo translate echo "print -" cat ) | /usr/local/bin/smbclient \\\\shuubun\\fuji -N -P exit 0 >>smb.conf [global] workgroup = dalab writable = no browseable = yes allow hosts = 10.28.24. 127. valid users = a0981 password Level = 8 coding system = cap socket options = TCP_NODELAY [homes] comment = Home Directories writable = yes create mask = 0744 directory mask = 0755 browseable = no [tmp] path = /tmp writable = yes create mask = 0644 directory mask = 0755 any advices would be appeciated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message