From owner-freebsd-questions@FreeBSD.ORG Sat Nov 29 11:32:34 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 60C7816A4CF for ; Sat, 29 Nov 2003 11:32:34 -0800 (PST) Received: from mxsf25.cluster1.charter.net (mxsf25.cluster1.charter.net [209.225.28.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50F1E43FEA for ; Sat, 29 Nov 2003 11:32:32 -0800 (PST) (envelope-from chowse@charter.net) Received: from moe.howse.homeunix.net (jackson-66-168-145-25.midtn.chartertn.net [66.168.145.25]) hATJQOc9039024; Sat, 29 Nov 2003 14:26:24 -0500 (EST) (envelope-from chowse@charter.net) From: Charles Howse To: Garance A Drosihn , FBSD Questions Date: Sat, 29 Nov 2003 13:26:23 -0600 User-Agent: KMail/1.5.4 References: <200311270026.28445.chowse@charter.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311291326.23422.chowse@charter.net> Subject: Re: connection to remote printer is down 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: Sat, 29 Nov 2003 19:32:34 -0000 On Saturday 29 November 2003 01:03 pm, Garance A Drosihn wrote: > At 12:26 AM -0600 11/27/03, Charles Howse wrote: > >I have an HP1100 printer that I set up on machine "moe" with > >apsfilter, and is working perfectly. > > > >I'm trying to setup machine "larry" to print text only to the > >printer on "moe", but I'm not getting anywhere. Jobs get > >into the local spool, but time out waiting on the remote > >machine to "come up". I can ping the remote machine with > >no difficulty. > > > >I have the following in /etc/hosts.lpd: > > > >[charles@moe ~]$ cat /etc/hosts.lpd > ># $FreeBSD: src/etc/hosts.lpd,v 1.4 1999/08/27 23:23:42 peter Exp $ > ># > ># See lpd(8) > >#machine.domain > >larry.howse.homeunix.net > > > > > >Here's larry's /etc/printcap: > > > >lp|hp1100:\ > > > > :lp=:rm=moe:rp=hp1100:sd=/var/spool/output/moe:lf=/var/log/lpd-er > > :rs: > > In your /etc/hosts.lpd file, you specify a fully-qualified > name for 'larry'. But in your printcap file, you specified > only 'moe', and not something like 'moe.howse.homeunix.net'. > > That seems a bit inconsistent to me, but I assume it is not > too important. > > To me, it looks like lpd is not accepting remote connections > on moe. That would happen if lpd is not being started during > system startup, or if you have started it up with the '-s' > ("secure") flag. What do you see if you type the following > command on moe: The -s flag was the problem. Thanks! May I ask another printer-related question? Using KDE, is there a way to change the quality or resolution of a print job on the fly? For example, when I open KEdit to print a file, I don't have an option to print in a different resolution or to lower the quality setting. I'm having to edit /usr/local/etc/apsfilter/hp1100/apsfilterrc and change things to suit me before each print job at a different setting. -- Thanks, Charles http://howse.homeunix.net:8080 Random Murphy's Law: A day without sunshine .... is like ... night!