Printer.Print "\\lab_techs\c\flag\login.txt"
Printer.EndDoc
that prints that line.......how about if i actually wanted to print what was in that text file?
Printable View
Printer.Print "\\lab_techs\c\flag\login.txt"
Printer.EndDoc
that prints that line.......how about if i actually wanted to print what was in that text file?
There must be an easier way for this, but I use this one. Í don't'know if it works with VB 3.0 caus' I'm not familiar with it, but try it; here's the code.
Code:Dim iFile As Integer
iFile = FreeFile
Open "filename" For Input As #iFile
Printer.Print Input(LOF(iFile), iFile)
Printer.EndDoc
Close #iFile