Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA463 ; Sun, 31 Jan 93 14:09:34 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!spool.mu.edu!olivea!charnel!sifon!CC.UMontreal.CA!spp3.jsp.umontreal.ca!surprenc From: surprenc@spp3.jsp.umontreal.ca (Surprenant Colin) Newsgroups: comp.unix.bsd Subject: Re: [386BSD] Parallel port driver? Message-ID: <1993Feb2.050853.25091@cc.umontreal.ca> Date: 2 Feb 93 05:08:53 GMT References: <1993Feb1.182134.12503@netcom.com> Sender: news@cc.umontreal.ca (Administration de Cnews) Organization: Universite de Montreal Lines: 35 X-Newsreader: TIN [version 1.1 PL8] : For starters, an lpt entry is needed in the cdevsw[] table in : /sys/i386/i386/conf.c. lpt.c patches and good instructions for installing : them are available on agate in ~/unofficial/haug.lpt-driver.patches (I : think). If you have other drivers installed, add the cdevsw entry by : hand. Don't do like me and add it in the middle: a driver's position : in the cdevsw table determines its major device (/dev) number. : Finally, once you have Eric Haug's patches installed, you can replace : lpt.c with an interruptless driver. This seems to be necessary for : printing some binary data. I don't know if it is archived. If not, I : will try to send it to agate. : -Andrew Moore <alm@netcom.com> Ok, I got Eric Haug's patches installed, ... made kernel... but now when I print, using lpr, it just flushes me 2 blank pages. and with cat whatever > /dev/lpt1 I get a blank page... I went on agate and got Terry's lp.c driver... I am getting the same blank page problem.. I looked in, changes his CPUSPEED to something like 10,20,100 and 500 (which is used to calculate delays between port poking) and it still does'nt work... Something weird... why is it that it does'nt print the printable character set and get the FF to eject the blank page?!? hmm... ------------------------------------------------------------------------------- Colin Surprenant | ROT inc. galaad@rot.qc.ca | Recherche Operationelle en Telecommunication Phone: 514-849-0948 | Montreal, Quebec FAX: 514-849-6775 | IP: 192.77.49.131 ------------------------------------------------------------------------------- surprenc@jsp.umontreal.ca | Universite de Montreal -------------------------------------------------------------------------------