*BSD News Article 35807


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!EU.net!uknet!pcl!bermudj
From: bermudj@westminster.ac.uk (Tony Bermudez)
Subject: line printer help
Message-ID: <Cw4ous.HH6@westminster.ac.uk>
Organization: University of Westminster
X-Newsreader: TIN [version 1.2 PL2]
Date: Wed, 14 Sep 1994 16:37:40 GMT
Lines: 31

The following is a request for assistance for a friend. Could you mail
responses to me, please? Thanks in advance.

BSD Release 0.1 by William & Lynne Jolitz [01.1.46 08/02/88 10:40]

This is a plea by a user of the above operating system on a PC, attempting 
to attach a hard copy device to the system at Port LPT1. Under normal BSD
one would edit the /etc/printcap file putting in the apropriate entry, 
followed by the usual change of status of the spol directory assigned 
to this printer and finally ending with

	/etc/lpx start lp

On investigation the printcap file on this system contains the line:


	lp:local:lineprinter:\
	:lp = /dev/lp:sd= /var/spool/lpd: lf=/var/log/lpd-errs:

There is however a hitch, as /dev/lp does not come pre-configured into 
the operating system as released. Instead the device driver file
/usr/src/sys.386bsd/i386/lpt.c needs to be compiled and a new kernel
generated that includes the device driver before invocation of the 
specified file /dev/lp, that has already been first created with the 
correct major and minor numbers.

Is anyone out there who knows the magic incantation to compile this file
and modifications to other related files to bring this printer on stream?
Better still if anyone posseses the full instructions ie. something akin
to installation manuals for utilities, for printers, ethernet and NFS, I 
will be most grateful if he/she would share it/them with me. Thank you.