sduraiappa
Programmer
I am trying to print a text file to a Dot Matrix Printer.
I use the following statement:
A1 = Shell("C:\WINDOWS\DOSPRNT.BAT " & TEMPFILE, vbMinimizedNoFocus)
Dosprnt.bat has the following lines:
TYPE %1 > PRN
While trying this i got a error message in the MsDos window.
"File Creation Error"
Please tell me what is the reason for the error ?
Regards,
Duraiappan.
I use the following statement:
A1 = Shell("C:\WINDOWS\DOSPRNT.BAT " & TEMPFILE, vbMinimizedNoFocus)
Dosprnt.bat has the following lines:
TYPE %1 > PRN
While trying this i got a error message in the MsDos window.
"File Creation Error"
Please tell me what is the reason for the error ?
Regards,
Duraiappan.