Printer ports in DOS

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I'm a teacher and I'll buy new PC's with Windows XP. But I've a question.

One of the exercises my students have to made, is sending data to the Centronics port. Testing learned me that, however it is with TurboC, I'm not able any more to send data to the port. (Normally, in Windows 98, you do this with outportb(the address, the data

Can anyone please help me?

Thanks
 
That is not really printing from DOS. It is a direct print to the hardware
printer port. Windows (Later versions) increase the hardware isolation from
the user, and normally prevent direct access to the hardware.
I would post the question in one of the appropriate programming areas. I'm
sure that there is a workaround.

AM said:
Hello,
I'm a teacher and I'll buy new PC's with Windows XP. But I've a question.

One of the exercises my students have to made, is sending data to the
Centronics port. Testing learned me that, however it is with TurboC, I'm
not able any more to send data to the port. (Normally, in Windows 98, you
do this with outportb(the address, the data)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top