lkml.org 
[lkml]   [2001]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Printing to off-line printer in 2.4.0-prerelease
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.045 / U:1.836 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site