How to open Printer Dialog window?

Hi,
I have created a simple notepad. Which has a print option in the menu. How do i develop it? 1) Open the dialog box to select the printer. 2) i have to add a common title for all the pages it prints.

appreciate your reply.

Thanks

Comments

  • : Hi,
    : I have created a simple notepad. Which has a print option in the menu. How do i develop it? 1) Open the dialog box to select the printer. 2) i have to add a common title for all the pages it prints.
    :
    : appreciate your reply.
    :
    : Thanks
    :

    Add the Microsoft Command Dialog Control to your app and add a copy of the control to your form. Then simply call the .ShowPrinter method of the control.

    For the second question, I believe you'll have to split the pages on your own (so that page one is all together, page two is seperate from it, etc.) and print titles to the pages. Then use the Printer object to print to the page (Printer.Print "Some Text").
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion