I'm trying to write a basic file printing script.
The problem is when I print a file, the VB prints the machine code
of the file. In other words, it prints out exactly the code you
would get if you were to open the program in an ASCII viewier like
notepad.
Here's the basic program (I'm actually writing a more complext
program but I just need to get this particular feature to work):
Dim printfile As String
Private Sub Form_Load()
Open App.Path & "\test.doc" For Input As #1
Do While Not EOF(1)
Line Input #1, yada1
Printer.Print yada1
Loop
Printer.EndDoc
Close #1
End Sub
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [email protected]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/