Date: Mon, 13 Dec 1999 20:18:47 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: mideyon <leoric@fastlane.net> Cc: freebsd-questions@freebsd.org Subject: Re: printer setup Message-ID: <19991213201847.B642@marder-1> In-Reply-To: <38553EA6.3F3A3795@fastlane.net> References: <38553EA6.3F3A3795@fastlane.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <EPSON STYLUS COLOR IIs> PRINTER ESCPL2-00 lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ppi0: <generic parallel i/o> on ppbus 0 plip0: <PLIP network interface> on ppbus 0 HTH > here is my printer in my dmesg output: > > Probing for PnP > devices on ppbus0: > ppbus0: <HEWLETT-PACKARD DESKJET 710C> SCP,VLINK > lpt0: <generic printer> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991213201847.B642>