🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #1963

Re: Remote printing from PC

#1963
From: cdb .oz.au Cameron Bromley
Date: Thu, 10 Sep 1992 08:31
39 lines
2171 bytes
In article <1992Sep03.030101.11052@cyantic.com> mark@cyantic.com (Mark T.  
Dornfeld) writes:
> I'd like to use the laser printer connected to my Turbo from a PC on the
> network running Beame and Whiteside's TCP/NFS product, version 2.1.  All
> the NFS functions work correctly, but when I try to link a MS-DOS device to
> the laser printer, it fails with an 'invalid printer' message.
> 
> I am quite sure this has to do with running Netinfo and not a standard BSD
> print manager, but I'm wondering if anyone has found any workarounds. 

Your need to load the printcap entry for the printer you want into netinfo.   
Here's how:
	- "su" to root
	- "nidump printcap / > /tmp/printcap"
	- add the appropriate printer entry to /tmp/printcap 
	- "niload printcap / < /tmp/printcap"

This assumes that the printer you wish to use is in the / domain.  Have you  
checked that the printer is marked public from the print manager?

> I am
> also suspicious of the way Beame and Whiteside use the gethostbyname()
> function call since their NFS daemon would not compile on the NeXT.

I'm using version 2.3 over the Lan Workplace TCP/IP stack, and it compiled  
fine.  Maybe you need to upgrade?.

Cameron.
---
---------------------------------------------------------------
Cameron Bromley                       Internet: cdb@codex.oz.au
Codex Software Development Pty. Ltd.  NextMail encouraged
Phone +61-3-696-2490                  Fax +61-3-696-6757

-- 
---------------------------------------------------------------
Cameron Bromley                       Internet: cdb@codex.oz.au
Codex Software Development Pty. Ltd.  NextMail encouraged
Phone +61-3-696-2490                  Fax +61-3-696-6757
Technical Details
Message-ID: <1992Sep10.083140.5245@codex.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!yarrina.connect.com.au!codex!cdb
References: <1992Sep03.030101.11052@cyantic.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!yarrina.connect.com.au!codex!cdb
From: cdb@codex .oz.au (Cameron Bromley)
Newsgroups: comp.sys.next.misc
Subject: Re: Remote printing from PC
Message-ID: <1992Sep10.083140.5245@codex.oz.au>
Date: 10 Sep 92 08:31:40 GMT
References: <1992Sep03.030101.11052@cyantic.com>
Sender: cdb@codex.oz.au (Cameron Bromley)
Organization: Codex Software Development Pty Ltd
Lines: 39