From owner-freebsd-questions Tue Jan 16 14:55:31 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23604 for questions-outgoing; Tue, 16 Jan 1996 14:55:31 -0800 (PST) Received: from localhost.infi.net (h-albatross.dc.infi.net [204.117.149.133]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA23598 for ; Tue, 16 Jan 1996 14:55:26 -0800 (PST) Received: (from rjs@localhost) by localhost.infi.net (8.6.12/8.6.12) id RAA01901; Tue, 16 Jan 1996 17:58:48 GMT Date: Tue, 16 Jan 1996 17:58:48 +0000 () From: Ron Steele X-Sender: rjs@localhost To: Terry Lambert cc: questions@freebsd.org Subject: Re: printing with pcnfs In-Reply-To: <199601142029.NAA26075@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Sun, 14 Jan 1996, Terry Lambert wrote: > > 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 Thanks for the response. I tried the case sensitivity with no success. Unfortunately the HP doen't have a printcap, it uses the SYSV model. Any other ideas? I would be glad to give you whatever info I have. Unfortunately the Novell stuff (lan workplace, I think) just sort of shows up on computers. They layed off anyone who really knows anything about it. I can't even find any doc for the version I have which is 4.something I believe. If I can't get this to work I may try to upgrade to 5.something which is what goes on all the new systems. If all else fails I'll try putting some logging stuff into the server code so I can look at the conversation. Ron Steele ron@infi.net (the from probably say rjs@infi.net - Pine bug)