Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!europa.eng.gtefsd.com!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!nn07+
From: "N. R. Natraj" <nn07+@andrew.cmu.edu>
Newsgroups: comp.os.386bsd.questions
Subject: [386bsd] Can't Print: Please help
Date: Sun, 30 May 1993 03:03:14 -0400
Organization: Doctoral student, Industrial Administration, Carnegie Mellon, Pittsburgh, PA
Lines: 54
Message-ID: <Mg25kme00V868=1EZ5@andrew.cmu.edu>
NNTP-Posting-Host: po5.andrew.cmu.edu
I get this big fat cheque from IRS (yeah, right for a grad student!) and
decide to plonk a big chunk of it into buying a printer. After a lot of
deliberation I ended up buying a TI Microlaser PS 35. I have a machine
running 386bsd+pk0.2.3 with the src tree recompiled (atleast that's what
I think!). Here is what all I have tried to get the printer to print
something.
Attempt 1: kernel compiled with the following for the printer.
device lpt0 at isa? port "IO_LPT3" tty irq 7 vector lptintr
device lpa0 at isa? port "IO_LPT1" tty
device lpa1 at isa? port "IO_LPT2" tty
On boot up time it complained about not being able to find /dev/lp or
hostname. I looked at the messages during bootup and found
lpt0 at 0x3bc-0x3c3 irq 7 on isa
So the genius in me creates /dev/lpt0 using MAKEDEV and tried using the
following printcap file
lp|local line printer:\
:lp=/dev/lpt0:sd=/var/spool/lpd:lf=/var/log/lpd-errs:
The printer light blinks for a few seconds when I queue a print job and
, boom, it reboots. So I feel stupid and try something else.
Attempt 2: I recompile the kernel with
device lpt0 at isa? port "IO_LPT1" tty irq 7 vector lptintr
device lpa0 at isa? port "IO_LPT2" tty
device lpa1 at isa? port "IO_LPT3" tty
and use the following printcap file
lp|local line printer:\
:lp=/dev/lpa1:sd=/var/spool/lpd:lf=/var/log/lpd-errs:
Now the good news is when I queue something for printing the printer
light blinks for about 15 secs, it does not reboot the machine but it
produces no printout.
BTW, the printer is hooked up to the parallel port named LPT1 (irq 7) on
my PC. So should I be recompiling the kernel with
device lpt1 at isa? port "IO_LPT3" tty irq 7 vector lptintr
device lpa0 at isa? port "IO_LPT1" tty
device lpa1 at isa? port "IO_LPT2" tty
instead. As you have probably figured out, I have no clue as to what I
am doing here. I would greatly appreciate any help I can get on solving
this problem. Thanks a lot in advance.
Natraj.