From owner-freebsd-questions Tue May 2 18: 0:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from watson.ficsgrp.com (watson.ficsgrp.com [194.74.111.3]) by hub.freebsd.org (Postfix) with ESMTP id 47FFF37BCF3 for ; Tue, 2 May 2000 18:00:06 -0700 (PDT) (envelope-from harry.woodward-clarke@s1.com) Received: from mail.au.ficsgrp.com ([194.74.111.35]) by watson.ficsgrp.com (Netscape Messaging Server 3.6) with ESMTP id AAA2E85 for ; Wed, 3 May 2000 03:00:02 +0200 Received: from S1.com ([172.16.48.219]) by mail.au.ficsgrp.com (Netscape Messaging Server 3.6) with ESMTP id 1001; Wed, 3 May 2000 11:03:30 +1000 Message-ID: <390F7A3B.93FF03E6@S1.com> Date: Wed, 03 May 2000 01:00:43 +0000 From: Harry Woodward-Clarke X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: Caleb Walker Cc: freebsd-questions@freebsd.org Subject: Re: Printing on an HP4050TN References: <002e01bfb497$801340b0$3201a8c0@iscaleb> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG G'day Caleb, > This is my printcap file: > hp|hp1100|hp4050tn:\ > :sh:\ > :lp=:\ > :rm=publichp.powercom:\ > :rp=lp:\ > :sd=/var/spool/lpd/hp4050tn:\ > :lf=/var/log/lpd-errs:\ > :if=/var/local/libexec/psif:\ > :mx#0:\ > :rs: > > Why does it not work? > When I print it says: > lpr: lp: unknown printer > lpr is telling you! What is your printcap entry for the printer 'lp' ? I would guess "nothing" ;') Either, add 'lp' to your first line (viz. "lp|hp|hp1100|hp4050tn:\") or use "lp -d hp" or declare the environment variables "LPDEST" or "PRINTER" - see man lp. I think that using one of these will make it work - I recommend the first option. hth, H To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message