Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to Print without Print Dialog box for Multiple (Read 2202 times)
james
Guest


How to Print without Print Dialog box for Multiple
Jun 20th, 2006 at 6:09am
Print Post  
In Print() of FlowChart, the Print Dialog appears for Printer  selection. But we want to print without invoking the dialog box, Is there a possibility [without using Print(PrintDocument)].  if yes please guide...

Thanks in advance!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to Print without Print Dialog box for Mult
Reply #1 - Jun 20th, 2006 at 8:26am
Print Post  
You can skip the print dialog only by specifying a printer using the PrintDocument parameter. Is there any specific reason you don't want to use that overload of the Print method ?

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to Print without Print Dialog box for Mult
Reply #2 - Jun 20th, 2006 at 8:30am
Print Post  
E.g. this will print to the default printer without showing any dialog:

fc.Print(new PrintDocument());
  
Back to top
 
IP Logged
 
james
Guest


Re: How to Print without Print Dialog box for Mult
Reply #3 - Jun 20th, 2006 at 9:28am
Print Post  
Its works fine. Thank you very much.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint