Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 15:01:21 -0400
From:      Len Zettel <zettel@acm.org>
To:        questions@FreeBSD.ORG
Subject:   Printer filter problem
Message-ID:  <3CC06981.C4D4C3E0@acm.org>

next in thread | raw e-mail | index | archive | help
I am a newbie in the process of setting up FreeBSD 5.5.

lptest > /dev/lpt0

works fine.

when I try 

lpd

lptest 20 5 | lpr -Php

I get

lpd[241]: /dev/lp: No such file or directory

My entry in /etc/printcap is

lp|hp|Hewlett=Packard Laserjet 1100:\
	:sh:\
	:sd=/var/spool/hp:\
	:lp=/dev/lpt0:\
	:if=/usr/local/libexec/if-simple:

The entry in /usr/local/libexec/if-simple is

#!/bin/sh 
 -- various # comments--
/bin/cat && exit 0
exit 2

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?3CC06981.C4D4C3E0>