Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stroker1

    Print a .TXT file

    I have had success printing a text file in VB such as follows: Public Sub Printtxtfile(filename as string) Dim s as string Open filename for input as #1 printer.font = "courier" printer.fontsize = 12 line input #1,s printer.print s loop ... I have yet to find a way to pass a variable (filename)...

Part and Inventory Search

Back
Top