Re: [PARPORT] simulating a printer


Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Fri, 9 Oct 1998 20:19:34 -0200 (EDT)


On Fri, 9 Oct 1998, Andrea Arcangeli wrote:

> On Thu, 8 Oct 1998, Arnaldo Carvalho de Melo wrote:
>
> > Maybe this is a FAQ, but I didn't find it, so... Anybody knows how to
> >simulate a printer, connecting a modified cable to capture data sent from
> >a computer to a printer? I have an equipment that send logs to a printer
>
> You should use bidirectional mode to grab the data lines. But I don' t
> know if it' s possible to do the reverse printer handshake. To do that you
> should hope that the parallel port is able to use ACK and BUSY line as
> output and not as an input as usual (sure not using NORMAL-MODE I
> think...). I don' t know if it' s possible because I only know how
> normal/nibble mode works in details right now.
>
> >driver and will try to make a program to see if it fits my needs, but if
> >anybody has a better solution... :)
>
> You could do that all in userspace without use parport at all if you want
> to do that fast and dirty (but note that you'll have to run the grabber
> as root or suid that way).
>
> Before start developing I suggest you to read some specs and check if the
> hw is able to use BUSY and ACK as output lines.

Thanks for your considerations! I try to find and read all the relevant
specs and if this is possible I'll try to make a driver for this, as I
think it's of some use for other people in the same situation.

>
> Andrea[s] Arcangeli
                                       - Arnaldo

-- 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 2.0b3 on Wed 30 Dec 1998 - 10:18:33 EST