Re: [PARPORT] source code for parallel port

From: Peter Asemann (
Date: Tue Jul 08 2003 - 05:01:57 EDT

  • Next message: Philip Graham Willoughby: "[PARPORT] Grabbing a parallel port"

    > I need help in finding C/C++ code for parallel port programming. I need to
    > communicate to a printer via a linux machine.

    You can use the ppdev driver to access or even better the libieee1284.

    Both provide access to all common parallel port protocols such as SPP, EPP,
    ECP, nibble and byte mode - using hardware support where possible, otherwise
    implementing the protocol in software. Both also allow some kind of direct
    access to the hardware registers.

    All available information about both drivers probably is there:

    Peter Asemann
    (finally I can answer a question)

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

    This archive was generated by hypermail 2b29 : Tue Jul 08 2003 - 05:09:47 EDT