*BSD News Article 4785


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!sdd.hp.com!decwrl!csus.edu!netcom.com!alm
From: alm@netcom.com (Andrew Moore)
Subject: Re: X386 xdm with crypt, other tools, printer EXPERIENCES
Message-ID: <!6sn-3+.alm@netcom.com>
Date: Wed, 09 Sep 92 23:22:56 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
References: <1992Sep9.122332.22785@cs.tu-berlin.de>
Keywords: xdm X386 crypt lpt.c 
Lines: 21

In article <1992Sep9.122332.22785@cs.tu-berlin.de> engel@opal.cs.tu-berlin.de (Christian Engel) writes:
>Printer Support
>===============
>
>I had many problems using the original lpt.c driver although patched with
>lpt-haugh and the lp.c drivers.
>Printing of normal ascii files was ok using the lp.c driver. But when I tried to
>print a .dvi-djc file (Deskjet 500 output from dvi), character losses and even
>crashes (lpt.c) occurred.
>Switching off the printer caused a reboot.
>I could solve the problem for lpt.c using an output filter, that flushed the
>output and waited for a while (usleep) after a certain amount of characters were
>sent to the printer.
>I didn't need to use this filter for the new version of lpt.c that does busy
>waiting.

I had similar problems with the Eric Haug patches to  the  lpt driver.
But I have not had any such problems since I recompiled lpd.c
(in /usr/src/usr.sbin/lpr/lpd).  BTW, what does an lpt driver without
interrupts buy me?  What is the cost?
-Andrew Moore <alm@netcom.com>