Mrki,
I've never tried bypassing that dialog. It is being shown by the
PrintPreviewDialog which uses its' own print controller and doesn't appear
to be changeable. You could roll your own using a PrintPrieview Control but
then you will have to code all the controls for moving through the document
as well.
Just as an aside, my users don't seem to mind seeing the generating page
# dialog and it does act as a type of progress indicator which is useful for
some of our long documents.
Ron Allen
"Mrki [MCAD]" <ze***********@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Now I got another problem.
User required not to print directly but first to get preview.
Again google didn't answer to my queries...
Code now looks like this:
doc.PrintController = new StandardPrintController();
printPreviewControl1.Document = doc;
printPreviewControl1.Show();
but dialog "Generating Preview..." is showed... :(