PrintPreview

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
 
R

Ron Allen

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
 

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