Re: [PARPORT] Async write on lp0

From: Tim Waugh (
Date: Tue Aug 21 2001 - 04:15:37 EDT

  • Next message: N. Pari Purna Chand: "[PARPORT] /dev/pg0 is not a block device"

    On Tue, Aug 21, 2001 at 09:25:32AM +0200, Alessandro Staltari wrote:

    > I'd like to write to lp0 in nonblocking mode. It is possible? Where
    > can I find documantation about this? I tried to open lp0 with the
    > O_NONBLOCK flag but it keeps working in blocking mode (i.e. it
    > blocks if there is no printer connected).

    I'm afraid that's not implemented currently. It shouldn't be hard to
    implement though.

    Do you just need the call to return, or do you need it not to block
    (out of interest)?


    -- To unsubscribe, send mail to: --
    -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Tue Aug 21 2001 - 04:16:46 EDT