Print text file directly to default printer

Go4Expert Member
8Jul2009,07:19   #1
terrylau's Avatar
Hi, I've an application where I've got a text box that will display the contents of any text file that I've chosen.

(1) How do I print the text file that I've chosen directly to the default printer without the printer setup box popping up?

(2) How do I also include the option for the user to choose other printers than the default printer if they want to print the file to other printers?

Hope you guys can explain step by step if possible to me as still new to VB and been reading around on the Print Command but all the other threads seems quite complicated to me.

Thanks in advance.
Banned
8Jul2009,07:44   #2
naimish's Avatar
I will post an article about the same today
Go4Expert Member
8Jul2009,08:08   #3
terrylau's Avatar
Great, thanks!
Banned
8Jul2009,08:15   #4
naimish's Avatar
Banned
8Jul2009,08:47   #5
hotnspicy's Avatar
Hi, thanks, I will use the same system into my current year project.
Banned
8Jul2009,10:45   #6
naimish's Avatar
Sure, My pleasure
Banned
8Jul2009,11:08   #7
naimish's Avatar
Writing an article for you buddy, I will submit it soon
Banned
8Jul2009,11:33   #8
naimish's Avatar
Submitted, please check once it got appvoed.
Go4Expert Founder
8Jul2009,12:42   #9
shabbir's Avatar
Quote:
Originally Posted by naimish View Post
Submitted, please check once it got appvoed.
Here it is - Printing Text Directly To Default Printer
Go4Expert Member
8Jul2009,13:15   #10
terrylau's Avatar
Thanks again ... appreciate it