printing problem with PrintPreviewDialog

  • Thread starter Thread starter georg
  • Start date Start date
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!?
 
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.
 
Back
Top