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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In a single click print whole text file

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
i have a text file abc.txt
i want to print that file.
i want to ask file name
fname = inputbox("type File name: "
after getting file name abc.txt
immediatly my dot matrix printer print that file

how to do

thanks in advance

shanmugham
 

ShellExecute(me.hwnd, "print", theFile, _
vbNullString, vbNullString, vbNormalFocus)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top