From owner-freebsd-questions Sun Jul 7 1:42:52 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 A31C937B4A9 for ; Sun, 7 Jul 2002 01:42:43 -0700 (PDT) Received: from fia168-94.dsl.hccnet.nl (fia168-94.dsl.hccnet.nl [62.251.94.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB48B43E42 for ; Sun, 7 Jul 2002 01:42:42 -0700 (PDT) (envelope-from simon@fia168-94.dsl.hccnet.nl) Received: by fia168-94.dsl.hccnet.nl (Postfix, from userid 1000) id 00A3C63; Sun, 7 Jul 2002 10:42:40 +0200 (CEST) From: Simon Siemonsma To: Jud Subject: Re: Elementary Printing Help, Please Date: Sun, 7 Jul 2002 10:42:40 +0200 User-Agent: KMail/1.4.1 References: <20020707013135.79c4df6f.jud@myrealbox.com> In-Reply-To: <20020707013135.79c4df6f.jud@myrealbox.com> Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_4VEVWYJXLUV8QUBQJQ00" Message-Id: <200207071042.40516.simon.freebsd@hccnet.nl> 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 --------------Boundary-00=_4VEVWYJXLUV8QUBQJQ00 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit You can test if your lpt0 device is configured right by printng to a file in Windows and then copy the file /dev/lpt0 in FreeBSD. When it works you at least that your lpt0 device is configured right. Did you install pnm2ppa? Linuxprinting.org contains more information. the localhost line doesn't have to be uncommented. I add my printcap file as an attachment so you can compare. Simon Siemonsma On Sunday 07 July 2002 07:31, 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. Same thing if I try > > # cat [$HOME]/test > /dev/lpt0 > > where test is the name I gave to the small Postscript test file > set out in the Handbook. > > Here is the relevant portion of my kernel: > > # Parallel port > device ppc0 at isa? port IO_LPT1 irq 7 > device ppbus # Parallel port bus (required) > device lpt # Printer > > I've also tried it without the "port IO_LPT1," but no difference. > > Here's the relevant bit of dmesg: > > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/9 bytes threshold > ppbus0: IEEE1284 device found /NIBBLE/ECP > Probing for PnP devices on ppbus0: > ppbus0: SCP,VLINK > ppi0: on ppbus0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > > The result of > > # dmesg | grep lpt0 > > is > > lpt0: on ppbus0 > lpt0: Interrupt-driven port > > repeated 3 times. > > Though I've been slogging away at FreeBSD for a while, this is the > first time (obviously!) I've tried setting up a printer. If > someone would take the trouble to tell me what elementary thing I > haven't thought of, I'd very much appreciate it. > > Thanks, > > Jud > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --------------Boundary-00=_4VEVWYJXLUV8QUBQJQ00 Content-Type: text/plain; charset="us-ascii"; name="printcap" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="printcap" lp|ascii|unix:\\ :lp=/dev/lpt0:\\ :sd=/var/spool/lpd:\\ :if=/usr/local/bin/asciippafilter:\\ :mx#0:\\ :sh: ps:\\ :lp=/dev/lpt0:\\ :sd=/var/spool/ps:\\ :if=/usr/local/bin/ppafilter:\\ :mx#0:\\ :sh: --------------Boundary-00=_4VEVWYJXLUV8QUBQJQ00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message