*BSD News Article 30951


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: 386BSD: lpr does not work.
Message-ID: <CqK9Cn.LD8@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: <2s52m3$9s8@debbie.cc.nctu.edu.tw>
Date: Sun, 29 May 1994 11:02:46 GMT
Lines: 35

In <2s52m3$9s8@debbie.cc.nctu.edu.tw> u8123555@cc.nctu.edu.tw (I-Fei Tsai) writes:

>Hi:
>	I have a 386BSD installed on my 386DX, but the "lpr" doesn't work:

>	(*) I have no mouse, modem ... installed, only a line printer.  
>	(*) When I boot from the DOS partition, I can "COPY <filename> PRN"
>	    to print my file.
>	(*) If I boot from the 386BSD partition, when I type "lpr <filename>"
>	    I find that the file is queued in the printer queue, "lpc" shows
>	    the printer is ready and printing. But nothing comes out from the
>	    printer.

>	I have tried "ln -s /dev/com1 /dev/lp", doesn't work ..., is it
>	the correct way ?  Is there any thing to do with the com driver ?
First, you dan't say whether you are using a parallel or serial
printer.  If you are using a serial printer, then printing to com1 is
correct, only you will have to set up some options in your printcap (I
think) to get lpd happy on a serial port.

If you are trying to print using 386BSD, you have the odds stacked
against you.  The parallel port driver is broken, the serial port
driver is broken (you don't say if you have any patchkits installed).

I would suggest that it would be best to go for a newer BSD first:
either NetBSD or FreeBSD.
I can't speak for NetBSD, but in the 1.1 release of FreeBSD the lpt
driver is now in a working state.

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