Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 1995 18:33:42 +0059 (MET)
From:      Andreas Schulz <ats@g386bsd.first.gmd.de>
To:        aledm@relay-europe.ps.net (Aled Morris)
Cc:        hackers@FreeBSD.org
Subject:   Re: lpt
Message-ID:  <199502131733.SAA08905@g386bsd.first.gmd.de>
In-Reply-To: <Pine.3.89.9502131652.B8328-0100000@relay-europe.ps.net> from "Aled Morris" at Feb 13, 95 04:47:36 pm

next in thread | previous in thread | raw e-mail | index | archive | help

> Am I supposed to be able to "echo hello > /dev/lpt0" to test my parallel 
> printer?

More or less, you shouldn't forget that most line printers want to have
a Carriage return and a Newline, but unix sends out for the above echo
only a newline.

> I tried rebooting with the printer connected and on-line, but it made no
> difference.
> 
> Machine is 486DX33, FreeBSD is 0210-SNAP.  lpd is not running.  lpt0 is
> configured in the kernel (standard config) and is recognised at boot-up: 
> 
> lpt0 at 0x3bc-0x3c3 irq 7 on isa
> lpt0: Interrupt-driven port
> lp0: TCP/IP capable interface

Try to switch it into polled mode with the "lptcontrol" program and look
if it works then. 


	  ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de )

Andreas Schulz  GMD-FIRST     12489  Berlin-Adlershof  Rudower Chaussee 5
Gebaeude 13.7   Tel: +49-30-6392-1856/+49-177-2134745    Germany/Europe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502131733.SAA08905>