From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 08:30:07 2003 Return-Path: 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 3EC8237B401 for ; Thu, 10 Jul 2003 08:30:07 -0700 (PDT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E835943F85 for ; Thu, 10 Jul 2003 08:30:05 -0700 (PDT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.9/8.12.9) with ESMTP id h6AFTbXk069081; Thu, 10 Jul 2003 09:29:38 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.9/8.12.9/Submit) with ESMTP id h6AFTbY6069078; Thu, 10 Jul 2003 09:29:37 -0600 (MDT) Date: Thu, 10 Jul 2003 09:29:37 -0600 (MDT) From: Warren Block To: Derrick In-Reply-To: <1057806577.28331.10.camel@HOMER.javaweenie.org> Message-ID: <20030710092243.C68944@wonkity.com> References: <1057806577.28331.10.camel@HOMER.javaweenie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org Subject: Re: Remote Printing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 15:30:07 -0000 On Wed, 9 Jul 2003, Derrick wrote: > I have a nice laser printer set up on my router which was installed via > CUPS and shared via samba. It works perfectly with my XP and 2k > machines, but I am having trouble getting my 4.8 Desktop machine to > print to it. I installed the same version of CUPS on the desktop to try > to facilitate the setup. Right now, anytime I send a print job (print > test page, line print), it connects, then says the printer is busy, will > try again in 10 seconds. > > Any ideas on how to get through this? Note: I am not totally against > trying a different way to configure the printer, I just am more > familliar with CUPS than with printcap. It's hard to tell from your message whether the printer has an internal print server or is attached to a router which is acting as a print server. Either way, if the print server supports lpr/lpd, it's easy to do with a printcap entry. Having installed CUPS may complicate this; I don't know what it does to existing lpr/lpd setups. A simple printcap entry for a remote printer: lp:\ :lp=:\ :sh:\ :mx#0:\ :rm=laser:\ :rp=raw:\ :sd=/var/spool/output/lpd/lp:\ :lf=/var/log/lpd-errs: "laser" is entered in /etc/hosts as the hostname and address of the laser printer; you could also just enter the IP address of the printer directly in printcap. "raw" is the standard queue name for HP JetDirects; some print servers don't care about the name, some are picky. /var/spool/output/lpd/lp is the spool directory, which has to be created before you can print through this queue. -Warren Block * Rapid City, South Dakota USA