Can I print a saved file without actually opening it for veiwing?


what I want to do is take all the files in a folder with the extesion ".tst" and then print them.
Every thing works fine except it prints the current file I have open ONLY!!!

Heres what I have>>>>>>>
Private Sub runreport(ByVal sender As Object, ByVal ev As PrintPageEventArgs)

Dim file2 As FileInfo
Dim folder2 As New DirectoryInfo("C:\Program Files\Payroll")
For Each file2 In folder2.GetFiles
If file2.Extension = ".tst" Then

ev.Graphics.DrawString(GroupBox31.Text, New Font("arial", 12, FontStyle.Regular), Brushes.Black, 80, 100)
end if

next

end sub

'Then Actually Print

Private Sub mnuPayrollReports_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuPayrollReports.Click
Dim printdoc5 As New PrintDocument()

Try
AddHandler printdoc5.PrintPage, AddressOf Me.runreport
printdoc5.Print()
Catch ex As Exception
MessageBox.Show("Sorry there was a problem printing", ex.ToString())
End Try

End Sub