This question already has an answer here:

For educational purposes, our professors have DB25 ports on our laboratory rooms, and of course we can only simulate our assembly codes in there

Our professor said that it might not be possible to control 8 LEDs (terminal D0-D7) using a USB to Parallel Port(DB25) Converter,

We're simulating, for example, We're sending binary information to the port that would do this:

D0 On
D1 On
D2 Off
D3 On
D4 On
D5 Off
D6 Off
D7 On

It would be mov al, 11011001b, as I've said we've done this on PC's that have available DB25 port

Is it possible to send an 8-bit data through a USB to Parallel Port(DB25) Converter?


marked as duplicate by PeterJ, Chetan Bhargava, Joe Hass, Daniel Grillo, Stephen Collings Mar 14 '14 at 15:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \$\begingroup\$ The OP of that question doesn't specify anything and there's no marked solution \$\endgroup\$ – Dadan Mar 14 '14 at 5:11
  • \$\begingroup\$ -1 There was a good answer to the earlier question, although it was not the solution you are hoping for. That doesn't mean the answer is wrong or that asking again will change things. This is a duplicate question. \$\endgroup\$ – Joe Hass Mar 14 '14 at 11:30

No, that is not possible (unless maybe if you are a guru-level windows hacker).

The reason is that such a converter creates a virtual PRINTER, and there is no windows API to send a byte to a printer.

With an usb-to-serial converter the situation is different: for this windows creates a virtual PORT and there are API calls to send a byte to such a port.



Not the answer you're looking for? Browse other questions tagged or ask your own question.