*BSD News Article 45649


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news1.oakland.edu!vtc.tacom.army.mil!ulowell.uml.edu!wang!news.kei.com!news.mathworks.com!news.bluesky.net!news.sprintlink.net!neonramp.com!cynjut.neonramp.com!cynjut.neonramp.com!not-for-mail
From: burgess@cynjut.neonramp.com (Dave Burgess)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Serial Printer Problem
Date: 16 Jun 1995 17:59:01 -0500
Organization: Configuration Management Svcs, Inc.
Lines: 31
Message-ID: <3rt2bl$9p2@cynjut.neonramp.com>
References: <3reukv$72p@gnu.mat.uc.pt> <3rjivj$s16@bonnie.tcd-dresden.de>
NNTP-Posting-Host: cynjut.neonramp.com

In article <3rjivj$s16@bonnie.tcd-dresden.de>,
J Wunsch <joerg_wunsch@uriah.heep.sax.de> wrote:
>Paulo Menezes <paulo@centauro> wrote:
>                    ^^^^^^^^^
>[Your news software is misconfigured; the domain info is missing.]
>
>>I have a LaserJet 4 attatched to one of the serial ports.
>>I have an entry in printcap setting the baudrate and some flags but 
>>it seems to ignore them. To make it work I have to send the file using
>>the lpr command and after I have to issue an "stty -f /dev/ttyd0 38400 ixon clocal".
>>
>>Is this a bug ?
>
>Perhaps.  Anyway, i think other people are working well with serial
>printers.
>
>You do not perchance have a getty running on ttyd0?
>
>If all else fails, you could try to work around the problem with the
>initial and lock-style devices (/dev/ttyid0 and /dev/ttyld0) along
>with the /etc/rc.serial script.  See the man page for sio(4) for a
>description.

There is also a description of how to do it using a serial laser printer
in the 386BSD, etal FAQ.

-- 
Dave Burgess  (The man of a thousand E-Mail addresses)
386bsd FAQ Maintainer / SysAdmin for the NetBSD system in my spare bedroom
"Just because something is stupid doesn't mean that there isn't someone
that wants to do it...."