PrintPreview

  • Thread starter Thread starter Randy
  • Start date Start date
R

Randy

Hello,
I'm trying to print a simple string using the PrintPreviewDialog. I get the
string to show up in the PrintPreview dialog, but when I click the Printer
icon, it just prints a blank page. There's something I'm doing wrong. Can
someone give me some code to print a simple string in the PrintPreview
dialog box?
Thanks
 
Randy,
You need to reset the stream position that you get your data from for
the second print call to work. I'd suggest 'Programming Windows in C#' by
Petzold for some examples.

Ron Allen
 
Back
Top