Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jul 2002 21:08:27 -0400
From:      Jud <jud@myrealbox.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@FreeBSD.ORG, simon.freebsd@hccnet.nl, danny@ricin.com
Subject:   Re: Elementary Printing Help, Please
Message-ID:  <1TQNMD0IHIEUR96EDOI1QKPNNJMHA9.3d2a378b@sparky>
In-Reply-To: <Pine.BSF.4.21.0207070633270.37792-100000@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
7/7/2002 8:38:09 AM, Warren Block <wblock@wonkity.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1TQNMD0IHIEUR96EDOI1QKPNNJMHA9.3d2a378b>