*BSD News Article 31383


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!hippo.ru.ac.za!Braae!g89r4222
From: csgr@cs.ru.ac.za (Geoff Rehmet)
Subject: Re: [FreeBSD] printing problem ?
Message-ID: <Cqy3oI.6Ms@hippo.ru.ac.za>
Sender: news@hippo.ru.ac.za (Usenet News Admin)
Reply-To: csgr@cs.ru.ac.za
Organization: Rhodes University, Grahamstown, South Africa
References: <2st8j2$qem@news.u.washington.edu>
Date: Sun, 5 Jun 1994 22:26:42 GMT
Lines: 39

In <2st8j2$qem@news.u.washington.edu> lliu@u.washington.edu (Le-Chin Eugene Liu) writes:

>Hi there,

>   I just installed FreeBSD 1.1 Release and I can't get the printer working.
>I'm using the same printcap which I used in 1.1 Beta and no problem. I can
>submit the job and the job is queued but I got a strange status for the
>printer:

>wait for lp to become ready (offline ?)

Does your printcap attempt to use /dev/lpa0 or /dev/lpt0?  Note that
the generic kernels in 1.1R are configured to use the lpt driver only,
while 1.1BETA used lpa on on the first 2 printer ports.

You will probably have to change your printcap file to use /dev/lpt0 
instead of /dev/lpa0, (or recompile your kernel ;-)

Just check (either when your machine boots, or by using dmesg) which
printer ports are actually probed.

Looking at the GENERICAH config:

from GENERICAH rev 1.25.2.1: (This was 1.1BETA)
device          lpt0    at isa? port "IO_LPT3" tty irq 7 vector lptintr
device          lpa0    at isa? port "IO_LPT1" tty
device          lpa1    at isa? port "IO_LPT2" tty

from GENERICAH rev 1.25.2.2: (This is 1.1RELEASE)
device          lpt0    at isa? port? tty irq 7 vector lptintr
device          lpt1    at isa? port? tty
device          lpt2    at isa? port? tty

Geoff.
--
 Geoff Rehmet, Computer Science Department,   | ____   _ o         /\
  Rhodes University,  South Africa            |___  _-\_<,        / /\/\
 FreeBSD core team                            |    (*)/'(*)    /\/ /  \ \
     csgr@cs.ru.ac.za, csgr@freefall.cdrom.com, geoff@neptune.ru.ac.za