*BSD News Article 24800


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!metro!basser.cs.su.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!sol.ctr.columbia.edu!howland.reston.ans.net!EU.net!dxcern!tifrvax.tifr.res.in!bhiksha
From: bhiksha@tifrvax.tifr.res.in
Subject: NetBSD: Connecting a printer on the lpt port.. repost of question (beg pardon)
Message-ID: <8DEC93.15153130@tifrvax.tifr.res.in>
Sender: news@dxcern.cern.ch (USENET News System)
Organization: Tata Institute of Fundamental Research
Date: Wed, 8 Dec 1993 15:15:31 GMT
Lines: 28

I had posted this request before, but i'm not sure if i have recieved
any replies because the mailer on my machine screwed up. I just set it
right. Pardon me if this gets a bit monotonous and please reply if you
can...:



I want to put a dot-matrix (Epson FX 100) on the LPT1 (lpt2 of dos).
I am not very familiar with the printcap stuff, so i pulled the following
out of a sun 3 and modified the device:

lp|ex|fx 100:\
        :lp=/dev/lpt1:sd=/var/spool/lpd:\
        :br#9600:mx#0:lf=/var/spool/lpd/lpd-errs:\
        :ms=crtscts:sh:\
        :tr=\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ ....

Firstly, when i do a cat filename >/dev/lpt1 i get
status 0
device busy
(this is what i get for lpt0  too, though i have nothing connected there)

What exatctly do i do to get the thing working? My knowledge of devices and
printcaps is restricted to what i get in the manpages.

thanks
bhiksha
bhiksha@arjun.csc.tifr.res.in