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

printing without dialog

P: n/a
Hi i have already create an interface which allow me to print a document. but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out the
printerdialog ??

Does it matter if my printer is connected USB or parallel port? do i need
different method to do it?
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"notregister" <no*********@discussions.microsoft.com> schrieb:
Hi i have already create an interface which allow me to print a document.
but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out
the
printerdialog ??


This depends on the implementation of the application's print functionality.

Printing files of various types without user interaction
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2

P: n/a
"notregister" <no*********@discussions.microsoft.com> schrieb:
Hi i have already create an interface which allow me to print a document.
but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out
the
printerdialog ??


This depends on the implementation of the application's print functionality.

Printing files of various types without user interaction
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

P: n/a

Hi, thanks for the info

but how do i specific which printer i am going to print?

I am using multithreading method to print a same document to 8 different
printers

"Herfried K. Wagner [MVP]" wrote:
"notregister" <no*********@discussions.microsoft.com> schrieb:
Hi i have already create an interface which allow me to print a document.
but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out
the
printerdialog ??


This depends on the implementation of the application's print functionality.

Printing files of various types without user interaction
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4

P: n/a

Hi, thanks for the info

but how do i specific which printer i am going to print?

I am using multithreading method to print a same document to 8 different
printers

"Herfried K. Wagner [MVP]" wrote:
"notregister" <no*********@discussions.microsoft.com> schrieb:
Hi i have already create an interface which allow me to print a document.
but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out
the
printerdialog ??


This depends on the implementation of the application's print functionality.

Printing files of various types without user interaction
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.