PrintPreview

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Randy

    #1

    PrintPreview

    Hello,
    I'm trying to print a simple string using the PrintPreviewDia log. 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


  • Ron Allen

    #2
    Re: PrintPreview

    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
    "Randy" <temp@temp.co m> wrote in message
    news:%23F8OU9ei DHA.616@TK2MSFT NGP11.phx.gbl.. .[color=blue]
    > Hello,
    > I'm trying to print a simple string using the PrintPreviewDia log. I get[/color]
    the[color=blue]
    > 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
    >
    >[/color]


    Comment

    Working...