Results 1 to 3 of 3

Thread: How do I check "Print to file" checkbox on the print common dailog

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    U.K.
    Posts
    3

    Post


    And also to set the filename in the inputbox that follows. Essentially I am trying to print to a file without the need for user intervention.

    If anyone know then it would be a great help !!!

  2. #2
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    North East America
    Posts
    463

    Post

    Here you go! There are a lot of flags that can be set if you have MSDN search on Flags and find Print Dialog
    CommonDialog1.FLAGS = cdlPDPrintToFile
    CommonDialog1.ShowPrinter

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    U.K.
    Posts
    3

    Post

    Thanks for that. One more thing:

    Any ideas on how I can go about programmatically filling in the filename dialog box which appears after the checkbox has been checked.

    Many thanks for the help so far.

    Raj.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width