I have to produce a report (manually) using TAB's to move to the next column (or skip columns) but I do not understand the explanation Microsoft MSDN library gives, where does it fit in and even how the printline can associate with a printer. e.g.
I have a text file containg lines of 24 numbers and I need to separate them into columns as follows;
REF NO TYPE KG QTY CALC PRICE VAL1 PRICE VAL2 PROFIT
123456 1 1234 1234 1 1234 [price*kg] 1234 [price*qty] [val2-val1]
etc.
I have tried putting this into a textbox (txtprintpreview.text), with just a header, to see the results first as nothing was printing e.g.
Private Sub mnuPrintPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuPrintPreview.Click
Dim header As String
header = "Mr Green (wholesaler) - Daily Sales Report"
FileOpen(1, "txtprintpreview.txt", OpenMode.Output)
Print(1, header, TAB(2), DateString)
FileClose(1)
End Sub
HELP!