From owner-freebsd-questions@FreeBSD.ORG Sun Mar 20 16:38:42 2005 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 B021A16A4CE for ; Sun, 20 Mar 2005 16:38:42 +0000 (GMT) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BBF443D46 for ; Sun, 20 Mar 2005 16:38:42 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.3/8.13.1) with ESMTP id j2KGcfOS045976 for ; Sun, 20 Mar 2005 09:38:41 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.3/8.13.1/Submit) with ESMTP id j2KGcfF9045973; Sun, 20 Mar 2005 09:38:41 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 20 Mar 2005 09:38:41 -0700 (MST) From: Warren Block To: Karl Agee In-Reply-To: Message-ID: <20050320093355.L45888@wonkity.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (wonkity.com [127.0.0.1]); Sun, 20 Mar 2005 09:38:41 -0700 (MST) cc: freebsd-questions@freebsd.org Subject: Re: printer gone beszerk 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: Sun, 20 Mar 2005 16:38:42 -0000 On Sat, 19 Mar 2005, Karl Agee wrote: > FreeBSD 4.11-Stable. My printer has gone beszerk.......and, I cant clear the > queue. > > Here is some output: > > bash-2.05b$ lpq -P hp > Warning: unable to get address list for remote machine : No address > associated with hostname > Warning: no daemon present > Rank Owner Job Files Total Size > 1st kdagee 0 (standard input) 145143 bytes > 2nd kdagee 1 (standard input) 74513 bytes > 3rd kdagee 2 (standard input) 967543 bytes > 4th kdagee 3 (standard input) 406428 bytes > bash-2.05b$ lprm - > lprm: getprintcap: printer not found > > bash-2.05b$ cat /etc/printcap > # This file was automatically generated by cupsd(8) from the > # /usr/local/etc/cups/printers.conf file. All changes to this file > # will be lost. > hp|hp:rm=:rp=hp: > > This is a local printer on lp0. I set it up using apsfilter, and I dont use > cups. Your printcap disagrees with both of those sentences. See the handbook chapter on printing for the way to do this. If you have FreeBSD sources installed, /usr/src/etc/printcap should contain the sample file. Pay particular attention to the lp, rm, and rp parameters. -Warren Block * Rapid City, South Dakota USA