Re: Printing to off-line printer in 2.4.0-prerelease

Andrea Arcangeli (andrea@suse.de)
Thu, 4 Jan 2001 15:39:10 +0100


On Thu, Jan 04, 2001 at 02:20:43PM +0000, Tim Waugh wrote:
> to start with, fall into parport_write anyway (it will just time out

As noted yesterday falling into parport_write will silenty lose data when the
printer is off.

If it's not feasible to make parport_write reliable against power-off
printer, then I recommend to loop in interruptible mode before entering the
main loop (waiting the printer to power-on) like in latest patch from Peter.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/