From owner-freebsd-questions Sat Sep 18 23:46: 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 2F22B14D3D for ; Sat, 18 Sep 1999 23:46:00 -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 PAA03289 for ; Sun, 19 Sep 1999 15:45:24 +0900 Message-ID: <03cb01bf026a$11a6db80$0e181c0a@archi.gifunct.ac.jp> Reply-To: "Nguyen Huu Bach" From: "Nguyen Huu Bach" To: "FreeBSD-Question" Subject: Help:printing with samba Date: Sun, 19 Sep 1999 15:41:56 +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