From owner-freebsd-questions Mon Dec 13 12:19:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id 177B915141 for ; Mon, 13 Dec 1999 12:19:11 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 29268 invoked from network); 13 Dec 1999 20:19:02 -0000 Received: from userbo24.uk.uudial.com (HELO marder-1.) (62.188.145.174) by smtp.dial.pipex.com with SMTP; 13 Dec 1999 20:19:02 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.8.8) id UAA00827; Mon, 13 Dec 1999 20:18:47 GMT (envelope-from mark) Date: Mon, 13 Dec 1999 20:18:47 +0000 From: Mark Ovens To: mideyon Cc: freebsd-questions@freebsd.org Subject: Re: printer setup Message-ID: <19991213201847.B642@marder-1> References: <38553EA6.3F3A3795@fastlane.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <38553EA6.3F3A3795@fastlane.net> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Dec 13, 1999 at 12:44:55PM -0600, mideyon wrote: > I am trying to add support for my printer in my kernel. The handbook > says to add this line to the kernel config file: > > device lpt0 at isa? port? tty irq N vector lptintr > > Where N is the IRQ number for your computer's parallel port. > > I already have this line in my kernel: > device lpt0 at ppbus? # Printer > > what do i need to change in my kernel config file to get my printer > working? > Funny you should ask. I've just (literally, in the last hour) added a printer (Epson Stylus 820) to my system. You've done exactly the same as me. lpt0 was commented out in my config file for some reason so I just uncommented it, re-built the kernel and bingo! printing works. Didn't even have to edit /etc/printcap, I just used the default (only) lp entry. Guess that's the FreeBSD way; it just works:) The relevant sections from my config file, and dmesg output (it is reported as a Stylus IIs, not 820, don't know why but the 820 can have a bolt-on colour kit so maybe that's why): # Parallel port device ppc0 at isa? port? net irq 7 controller ppbus0 device lpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppb0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: PRINTER ESCPL2-00 lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 HTH > here is my printer in my dmesg output: > > Probing for PnP > devices on ppbus0: > ppbus0: SCP,VLINK > lpt0: on ppbus 0 > lpt0: Interrupt-driven port > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- PERL has been described as "the duct tape of the Internet" and "the Unix Swiss Army chainsaw" - Computer Shopper 12/99 ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message