By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,493 Members | 3,101 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,493 IT Pros & Developers. It's quick & easy.

Print to printer without opening print box

P: n/a
Hi,

I need to print stuff on the default printer on the click of a button
without opening the print box opening up. Any pointers?
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Piyush,
What do you mean by 'print box opening up'? If you are referring to the
small progress dialog you can make this go away by setting the
PrintController of the PrintDocument to an instance of
StandardPrintController.

Ron Allen
"Piyush" <Pi****@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.com...
Hi,

I need to print stuff on the default printer on the click of a button
without opening the print box opening up. Any pointers?

Jul 21 '05 #2

P: n/a
Hey thanks Ron,

I did try that out and it works alright... Although I am now using an
ActiveX component for acrobat reader (as the files i need to print are only
pdf files)

"Ron Allen" wrote:
Piyush,
What do you mean by 'print box opening up'? If you are referring to the
small progress dialog you can make this go away by setting the
PrintController of the PrintDocument to an instance of
StandardPrintController.

Ron Allen
"Piyush" <Pi****@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.com...
Hi,

I need to print stuff on the default printer on the click of a button
without opening the print box opening up. Any pointers?


Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.