Re: [PARPORT] parallel port read/write

From: Tim Waugh (twaugh@redhat.com)
Date: Thu Mar 14 2002 - 04:11:06 EST

  • Next message: David Tarkowski: "[PARPORT] Strange behavior from the parallel port"

    On Thu, Mar 14, 2002 at 02:01:03PM +0530, Harikrishna Charan wrote:

    > I want some info regarding the parallel port read/write.

    (So you said.)

    > I want to
    > read the status of the printer connected to the parallel port.
    > How to find out what is the base address of the parallel port to which
    > the printer is connected in linux. I tried to read the status of the
    > printer by giving the base address as 0x378. I am getting the status of
    > the printer as D8 whether there is paper in the printer tray or not.
    >
    > I want to send the file in .ps format. how do i go about it

    Why do you want to do all of the stuff in the first paragraph if you
    just want to print a file? Is 'cat file.ps > /dev/lp0' (or even 'lpr
    file.ps') not working?

    Tim.
    */



    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Thu Mar 14 2002 - 04:13:13 EST