I have a very specialized printer which I need to be able to send pure text to the printer on the LPT port but I can not seem to figure out how to print the data. Can someone help point me the correct way? I tried doing something like the following which the data light on the printer does light up, but i believe its not sending the raw text to the printer and thats why its not printing
printDialog1.Document = ThePrintDocument
Dim strText As String = Me.richTextBox1.Text
myReader = New StringReader(strText)
If printDialog1.ShowDialog() = DialogResult.OK Then
Me.ThePrintDocument.Print()
End If
printDialog1.Document = ThePrintDocument
Dim strText As String = Me.richTextBox1.Text
myReader = New StringReader(strText)
If printDialog1.ShowDialog() = DialogResult.OK Then
Me.ThePrintDocument.Print()
End If