You can print from VB using the Printer object
to print data from a text file you may do something like
of course this will print the text that is in the file and not use any HTML formatting instead it will print the tags as text.
Open FileName for Input as #FileHandle
Do While Not EOF(FileHandle)
Line Input #FileHandle, LineOfText
To input HTML and output formatted text you need to use something that can read html and print the formatted text such as a web browser
why would you be trying to print in dos mode? Dos has not been on any system since Windows 98