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.
naimish's Avatar
Banned
I will post an article about the same today
terrylau's Avatar, Join Date: Jul 2009
Go4Expert Member
Great, thanks!
naimish's Avatar
Banned
hotnspicy's Avatar
Banned
Hi, thanks, I will use the same system into my current year project.
naimish's Avatar
Banned
Sure, My pleasure
naimish's Avatar
Banned
Writing an article for you buddy, I will submit it soon
naimish's Avatar
Banned
Submitted, please check once it got appvoed.
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
terrylau's Avatar, Join Date: Jul 2009
Go4Expert Member
Thanks again ... appreciate it