Problem writing data to parallel port

Hi,
Will be great if someone can help me out with this:

I have a x386 machine with Linux installed. I am trying to write to the parallel port(0x378 - 0x37a) using outb() function. I am trying to emulate the centronics protocol in c. So I put the data on the data register of the parallel port and generate strobe by making the strobe port low, then 1ms sleep, then high again. But the data just doesnt seem to get to the printer :-(
Can someone help me with the strobe signal....specifically how to generate the strobe(whether what I'am doing is correct)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories