From owner-freebsd-questions Mon Jul 8 18: 8: 9 2002 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 E322637B401 for ; Mon, 8 Jul 2002 18:08:07 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 992EB43E3B for ; Mon, 8 Jul 2002 18:08:07 -0700 (PDT) (envelope-from jud@myrealbox.com) Received: from dialup-209.246.213.160.dial1.philadelphia1.level3.net ([209.246.213.160] helo=sparky) by snipe.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 17RjU4-0007DW-00; Mon, 08 Jul 2002 21:08:05 -0400 From: Jud To: Warren Block Cc: freebsd-questions@FreeBSD.ORG, simon.freebsd@hccnet.nl, danny@ricin.com Date: Mon, 08 Jul 2002 21:08:27 -0400 X-Priority: 3 (Normal) In-Reply-To: Message-Id: <1TQNMD0IHIEUR96EDOI1QKPNNJMHA9.3d2a378b@sparky> Subject: Re: Elementary Printing Help, Please MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Mailer: Opera 6.04 build 1135 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 7/7/2002 8:38:09 AM, Warren Block wrote: >On Sun, 7 Jul 2002, Jud wrote: > >> I have an HP 820Cse connected to my local machine as lpt0. It >> prints fine from Windows, so the hardware works. I have apsfilter >> installed and /etc/printcap set up to use the ppa driver that >> these particular HP machines must use. I have lpd_enable="YES" in >> my /etc/rc.conf file. I also uncommented the localhost line in >> /etc/hosts.equiv, just in case that might have any effect. >> However, I get no response at all from the printer whenever I try >> to print anything. For instance, if I try >> >> # lptest > /dev/lpt0 >> >> there is a momentary pause, then the root prompt comes up for the >> next line, but the printer just sits there. > >You're sending text straight to a Winprinter which doesn't understand >it. It needs to be sent through the driver. If your printer is named >"lp" in /etc/printcap, you can do that with lpr like this: > ># lptest | lpr > >lpr is the client printing program that works with lpd. Thanks to everyone who answered. lpr was the key. It works now on pretty much everything I try except lptest (ASCII), for which I imagine I'll be cadging the appropriate section of Simon's or someone else's /etc/printcap. Jud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message