*BSD News Article 45454


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!narcisa.sax.de!not-for-mail
From: j@narcisa.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Serial Printer Problem
Date: 13 Jun 1995 10:41:23 +0200
Organization: Private U**x site, Dresden.
Lines: 25
Message-ID: <3rjivj$s16@bonnie.tcd-dresden.de>
References: <3reukv$72p@gnu.mat.uc.pt>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

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.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)