Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   Print text file directly to default printer (http://www.go4expert.com/forums/print-text-file-directly-default-printer-t18410/)

terrylau 8Jul2009 07:19

Print text file directly to default printer
 
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 8Jul2009 07:44

Re: Print text file directly to default printer
 
I will post an article about the same today ;)

terrylau 8Jul2009 08:08

Re: Print text file directly to default printer
 
Great, thanks!

naimish 8Jul2009 08:15

Re: Print text file directly to default printer
 
:welcome:

hotnspicy 8Jul2009 08:47

Re: Print text file directly to default printer
 
Hi, thanks, I will use the same system into my current year project.

naimish 8Jul2009 10:45

Re: Print text file directly to default printer
 
Sure, My pleasure ;)

naimish 8Jul2009 11:08

Re: Print text file directly to default printer
 
Writing an article for you buddy, I will submit it soon ;)

naimish 8Jul2009 11:33

Re: Print text file directly to default printer
 
Submitted, please check once it got appvoed.

shabbir 8Jul2009 12:42

Re: Print text file directly to default printer
 
Quote:

Originally Posted by naimish (Post 51802)
Submitted, please check once it got appvoed.

Here it is - Printing Text Directly To Default Printer

terrylau 8Jul2009 13:15

Re: Print text file directly to default printer
 
Thanks again ... appreciate it :)


All times are GMT +5.5. The time now is 18:22.