CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    1

    Printer Selection without the Printer Dialog in OnPreparePrinting

    I would like to skip the Printer dialog in OnPrepare Printing and enter a printer name directly. I would like to have the printe preview function and so I suppose that the framework should create the DC.


  2. #2

    Re: Printer Selection without the Printer Dialog in OnPreparePrinting

    Take a look at the CPrintInfo::m_bDirect and CPrintInfo::m_pPD members. They probably will do what you want.

    LA Leonard - Definitive Solutions, Inc.

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

Featured