*BSD News Article 53757


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!news.orst.edu!wsrcc.com!wetware!nntp-hub.barrnet.net!inet-nntp-gw-1.us.oracle.com!news.caldera.com!news.cc.utah.edu!news.cs.utah.edu!dog.ee.lbl.gov!overload.lbl.gov!lll-winken.llnl.gov!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!news.sprintlink.net!news.chattanooga.net!tarush!tom
From: tom@tarush.chattanooga.net (Tom Rush)
Subject: Re: lpt0 prints one character / second
X-Newsreader: TIN [version 1.2 PL2]
Organization: Rush Co.
Message-ID: <DGxE0K.5Dv@tarush.chattanooga.net>
References: <46e3ro$ou6@skydiver.jaguNET.com>
Date: Mon, 23 Oct 1995 23:45:55 GMT
Lines: 34

Sean Emery (emerys@confucius.omniscient.com) wrote:

: I am having some difficutly getting my printer to print as a line printer.  
: It seems that I am getting on character per second sent to the printer.  I
: think that my SoundBlaster card is set to interrupt 7, although, MSDOS 
: seems to print fine under the same configuration.

MSDOS doesn't use an interrupt driven printer driver.

: It seems that my printer doesn't know that is supposed to return an
: interrupt. (?)

This is doubtful.

: 1.  Will changing the SoundBlaster interrupt setting fix this problem?

Yes, or change the printer interrupt, whatever is easier.  After you
change the settings on the card(s), you can boot with '/kernel -c' and set
the irq's properly.

: 2.  Should I reduce the timeout value for the interrupt on lpt0?  If so,
: how?

No.

: 3.  Is there any way to do away with this interrupt requirement on lpt0?

Yes, you can use 'lptcontrol -p' to change to a polling, rather than
interrupt driven, printer driver.  See the man page.  Use of polling
type drivers is generally frowned upon in Unix circles, however.

--
Tom Rush
tom@tarush.chattanooga.net