If you have installed a generic printer text driver and have that set to the LPT1 port (pretty standard) , then you can print to LPT1 as if it was a file.
System.IO.StreamWriter writer = new System.IO.StreamWriter(@\\.\LPT1);
writer.Write("Hello World");
writer.Flush();
writer.Close();
You should read the Code Project
article on parallel ports[
^].
You can also find a lot of info on parallel ports
here[
^].
[added]
The above example code is in C#. For something in Visual Basic look at
this article[
^]
Read
this Code Project article[
^] on printing using Visual Basic.