Date: Fri, 6 Sep 1996 09:32:22 +0200 (IST) From: Nadav Eiron <nadav@barcode.co.il> To: "Randall D. DuCharme" <randyd@nconnect.net> Cc: questions@freebsd.org Subject: Re: samba printing Message-ID: <Pine.BSF.3.91.960906092635.27970C-100000@gatekeeper.barcode.co.il> In-Reply-To: <199609060401.XAA09435@atlantis.nconnect.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Sep 1996, Randall D. DuCharme wrote: > Greetings, > I have a small network at my store with an NT server, > a Samba server running on FBSD 2.1.5-R, a 2.1.5-R workstation, > and several Win95 clients. I'm wondering how I go about printing > to an NT print queue from the Samba server or FBSD workstation. > I can see and attatch to the printer using smbclient \\\\servername\\ > sharename -P, and can send a job to the queue using printmode, and > print, but can't seem to figure out how to get to it using lpr. > > Any Ideas?? > > Thanks! > Randy > I have a similar setup here, and I don't use samba! I say: use TCP/IP and not NetBIOS if you can have it that way. NT server will let you serve printers as if it were running lpd. It will even serve remote printers that it connects to over NetBIOS (like printers connected to Win95 workstations who can't manage those tricks). Look in the NT Networking Manual (I think). There is a chapter on TCP/IP printing with instructions on how to export an NT printer to a UNIX host. On the FreeBSD machine, I simply followed the instructions in the Handbook for setting up a remote lpd printer. Here is my printcap entry: qms|QMS|qms420|QMS420|QMS 420 via NT:\ :sh:lp=:sd=/var/spool/lpd/qms:rm=darcy.barcode.co.il:\ :rp=QMS420: And lpq -Pqms will give: Windows NT 3.5 LPD Server Printer QMS420 Owner Status Jobname Job-Id Size Pages Priority ---------------------------------------------------------------------------- It takes some time to answer. Don't hit ^C too soon... I'm a bit far away from my NT server, so I can't give you the exact configuration there, but it's pretty much RTFM there. This printer I gave you the setup for is actually connected to a Win95 station to which the NT server (darcy.barcode.co.il) connects. Works like a charm Nadav
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960906092635.27970C-100000>