printing problem with PrintPreviewDialog

G

georg

Hi,

i have a problem with the PrintPreviewDialog, if i want to
print out my document with the button in the preview
dialog, the output on the printer is empty, but on the
preview I can see it. If there is not more than one page
it seems to work. Printing out without preview works
correct.

Could anybody please help me!?
 
N

Nicholas Paldino [.NET/C# MVP]

georg,

What is the code that you are using in the event handler for the
PrintPage event? It could be that you have special code that is not setting
itself correctly for each new page being printed. My guess is that you have
initialization code in the constructor which really should be called when
the first page of the document is printed.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top