Author: John SimpsonJohn Simpson
Date: Jul 11, 2008 13:04
OK, Gurus, my thanks in advance for any insight.
There are a couple of shareware programs out there (DOS2USB, and DOSPRN)
that will allow printing to a Windows printer from a legacy DOS application.
In my case I wrote a boat rental application in Cobol back in the '80's, and
now the customer wants to migrate it to a new PC that has USB but no
parallel or serial ports. I've written a VB version of it, but it's a
complex application and has not been tested nearly enough to go live.
I bought DOS2USB, but got burned by the not-too-good-English-speaking sales
folks overseas, but that's another story.
I must have too much time on my hands, 'cause I want to write my own
utility. An easy way would be to create a text file in the DOS application,
look for its existence, then read and print it from a VB program, and
finally delete it, but I consider this a sloppy solution to the problem.
|