Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 1999 15:22:04 +0200
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Nguyen Huu Bach <a0981@makita.cc.gifu-nct.ac.jp>
Cc:        FreeBSD-Question <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: Help:printing with samba
Message-ID:  <19990919152204.R3566@daemon.ninth-circle.org>
In-Reply-To: <03cb01bf026a$11a6db80$0e181c0a@archi.gifunct.ac.jp>
References:  <03cb01bf026a$11a6db80$0e181c0a@archi.gifunct.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
* Nguyen Huu Bach (bachng@mail.com) [990919 09:53]:
>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.
>
>>>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:

Mayhaps adding a rp might help?

from printcap(5)

     rp         str       ``lp''                 remote printer name argument

This solved my printing to NT problem from FreeBSD.

HTH,

-- 
Jeroen Ruigrok van der Werven/Asmodai                  asmodai(at)wxs.nl
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>;
Network/Security Specialist        BSD: Technical excellence at its best
Distance lends enhancement to the view.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990919152204.R3566>