From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 03:44:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5CB016A41F for ; Sun, 4 Dec 2005 03:44:58 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FEF143D5C for ; Sun, 4 Dec 2005 03:44:58 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id jB43irx4003836 for ; Sat, 3 Dec 2005 19:44:54 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Sat, 3 Dec 2005 19:44:55 -0800 User-Agent: KMail/1.8.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512031944.55868.kstewart@owt.com> Subject: Re: Setting up a print-server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 03:44:58 -0000 On Saturday 03 December 2005 07:27 pm, Charles Howse wrote: > > On Sat, 03 Dec 2005 13:15:59 -0600 > > > > Charles Howse wrote: > >> Hi, > >> I have the task of setting up a FreeBSD box as a print-server for > >> the lan here at home. > >> I've used FreeBSD for quite a while, but am currently just a > >> little rusty. I was hoping the list members could help me with > >> planning a strategy, and possibly point me to some resources for > >> help. I have my copies of The Handbook and FreeBSD Unleashed at > >> my side. :-) > >> > >> The printers are: > >> HP1100 LaserJet (non-postscript, parallel only) > >> Epson Stylus C86 (postscript, USB only) > >> > >> Here is my current list of requirements: > >> My daughter's WinXP Pro SP2 box must be able to print to either > >> printer. > >> > >> My Mac OS X Tiger 10.4.3 box must be able to print to either > >> printer. > >> > >> (I may not know what I'm talking about here, but) I would prefer > >> IP printing as the only means of serving the printers, rather than > >> Samba for serving to Windows, AND CUPS or something else for > >> serving to OS X. > >> > >> The FreeBSD machine is quite capable hardware-wise of doing all > >> this. I have a copy of 4.11-RELEASE, but will be glad to install > >> whatever version makes it easiest to do what I need. > >> > >> Any help =3D appreciation! > >> > >> -- > >> Thanks, > >> Charles=A0 > >> google.com/bds > > > > http://www.onlamp.com/pub/a/bsd/2004/02/05/Big_Scary_Daemons.html > > I now have the both printers set up and can print to them from > FreeBSD. Problem is, I can't print to them from the Mac. > > The error is always, "Printer HP1100 is busy, trying again in 30 > seconds." I take that to mean the server isn't responding. > > Is there a command I can run from the Mac that will tell me if the > FreeBSD box is accepting connections to the printers? > > Might there be something I haven't enabled on FreeBSD to allow me to > print across the network? > It would be in inetd and printcap. One of the problems with the mac is=20 that you are going to have to add a . A will leave you with a=20 black line. I looked in inetd and didn't see anything, so, it has to be in printcap.=20 I print to the psrvr as lp using the following lp|HPLJ2:\ :lp=3D:\ :rm=3Dpsrvr:\ :rp=3DL1:\ :if=3D/var/spool/lpd/lj.sh:\ :lf=3D/var/log/lpd-errs:\ :sd=3D/var/spool/lpd:\ :mx#0 You would have to have a similar name for the daemon on fbsd. Kent =2D-=20 Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html