Print text file directly to default printer

terrylau's Avatar, Join Date: Jul 2009
Go4Expert Member
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.
0
naimish's Avatar
Invasive contributor
I will post an article about the same today
0
terrylau's Avatar, Join Date: Jul 2009
Go4Expert Member
Great, thanks!
0
naimish's Avatar
Invasive contributor
0
hotnspicy's Avatar
Go4Expert Member
Hi, thanks, I will use the same system into my current year project.
0
naimish's Avatar
Invasive contributor
Sure, My pleasure
0
naimish's Avatar
Invasive contributor
Writing an article for you buddy, I will submit it soon
0
naimish's Avatar
Invasive contributor
Submitted, please check once it got appvoed.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by naimish View Post
Submitted, please check once it got appvoed.
Here it is - Printing Text Directly To Default Printer
0
terrylau's Avatar, Join Date: Jul 2009
Go4Expert Member
Thanks again ... appreciate it