problem with print dialog

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

    problem with print dialog

    Hello, everyone

    The problem is that I have only used "ready" print
    commands so far, but now there is a need to print
    something, and I am wondering how to do that.

    How to use:
    PrintDialog
    PrintPreviewDia log
    PrintPreviewCon trol
    PrintDocument
    and
    PageSetupDialog


    Any help is appreciated.
    Thanks in advance.

    --
    Regards,
    Nurchi BECHED

    P.S.
    C makes it easy to shoot yourself in the foot;
    C++ makes it harder, but when you do,
    it blows away your whole leg."
    --Bjarne Stroustrup
  • Philip Hristov

    #2
    Re: problem with print dialog

    Nurchi,

    You can check out this sample -


    The easiest part is to use PageSetupDialog , just link the Document
    property of that component to a PrintDocument and the changes made in
    the dialog will be automatically applied to the PrintDocument.

    Regards,

    Philip.

    Comment

    Working...