*BSD News Article 31324


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.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: <CqysEG.DAD@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> <Cqy3oI.6Ms@hippo.ru.ac.za> <2stlob$r7@news.u.washington.edu>
Date: Mon, 6 Jun 1994 07:20:39 GMT
Lines: 28

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

>Thank you very much for your help. And I found that, too. I'm using
>lpt0 now. But the printing speed is extremely slow. The printer prints
>one line and stops for a few seconds and continues. It seems that the
>daemon sends one line for one time. Takes 5 minutes to get a half-page
>printout. Any idea about this? Thanks again.

That is probably because you have a printer port without a working IRQ.
You will probably need to run the driver in polled mode, since at the
moment characters are only getting thorugh to your printer when the
timeout (every 1/2 second) expires.

In 1.1R, the only way to switch lpt0 to polled mode is to recompile your
kernel.

You may want to check that your parallel cable is wired properly, as I
suspect some parallel cables may not have all the control lines wired
up.  (We are rather unfortunate to be stuck with rather braindamaged
printer hardware on PC's.)


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