T
tomhr
I have a Borland Turbo C++ compiler (though I never use the "plus-plus"
part), copyright 1990. I use this compiler to write simple programs,
one of which I am quite dependent on.
A month ago, my parallel-port-output printer died, and I got a Samsung
printer that takes info from the USB port. Every time I go into DOS
mode and try to send something to that printer, whether from a command
line ("dir>prn"), or from one of my programs, I get an error message.
It occured to me that if I called an interrupt from my DOS program,
that's how I could send characters to my USB printer. Is this possible,
and what interrupt do I use? To give an example, Interrupt 17h,
Function 00h is the (no longer useful) interrupt that sends a character
to the parallel port.
part), copyright 1990. I use this compiler to write simple programs,
one of which I am quite dependent on.
A month ago, my parallel-port-output printer died, and I got a Samsung
printer that takes info from the USB port. Every time I go into DOS
mode and try to send something to that printer, whether from a command
line ("dir>prn"), or from one of my programs, I get an error message.
It occured to me that if I called an interrupt from my DOS program,
that's how I could send characters to my USB printer. Is this possible,
and what interrupt do I use? To give an example, Interrupt 17h,
Function 00h is the (no longer useful) interrupt that sends a character
to the parallel port.