Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

In Visual Basic, I use MSComm to read and write to serial ports. How do I do the same for parallel ports?

0
Posted

In Visual Basic, I use MSComm to read and write to serial ports. How do I do the same for parallel ports?

0

Unfortunately, things aren’t as simple with the parallel port. If all you need is simple line-printer-type output (check the status lines and send each byte with a strobe), you may be able to use the Generic printer object, or the Createfile and Writefile API calls, or (16-bit only) Open “LPT1”.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123