From owner-freebsd-questions Sun Jan 14 12:34:56 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA21282 for questions-outgoing; Sun, 14 Jan 1996 12:34:56 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA21265 for ; Sun, 14 Jan 1996 12:34:52 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA26075; Sun, 14 Jan 1996 13:29:06 -0700 From: Terry Lambert Message-Id: <199601142029.NAA26075@phaeton.artisoft.com> Subject: Re: printing with pcnfs To: rjs@infi.net (Ron Steele) Date: Sun, 14 Jan 1996 13:29:06 -0700 (MST) Cc: questions@FreeBSD.org In-Reply-To: from "Ron Steele" at Jan 12, 96 04:48:46 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org Precedence: bulk > I am trying to set up printing from DOS using pcnfs and Novell's tcp/ip > software. Whenever I do a > > net link lpt1: \\\lp > I get > invalid remote device > > return on the pc's command line. This seems to work fine on our HP server, > but I understand some sort of Novell software was installed there. > > Some questions come to mind. First, is this possible, or is some sort > of specialized Novell server software required? If it is possible, > does the file system used for spooling by pcnfs need to be exported with > -alldirs to allow pcnfs to mount the required directories? Does anyone > have a canned discription of how to do this? Sounds like handbook > material, which I would be glad to write if I ever this working. The PCNFS "net use" for printers established a redirection for the local printer to the remote host using lpr protocol. That is, if you are using TCP/IP print services, they are BSD lpr protocol based. Most likely the error message is correct: "invalid remote device". You must establish a printer in the /etc/printcap for the name of the device that you will attempt to access. My first guess with this little information would be case sensitivity; that is, I expect that the DOS "net" command is upcasing the name before sending it out on the wire. You should examine the /etc/printcap file on your HP machine, and correct you BSD machine's /etc/printcap as necessary. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.