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

    printer configuration

    Hi,

    From a printer handle (HDC) I'd like to know what are the current settings of my printer like format and orientation.

    Who can help me?

  2. #2
    Join Date
    Sep 2002
    Posts
    77
    Use the GetPrinter function and retrieve an PRINTER_INFO_2 structure.
    The pDevMode member of this structure will point to a DEVMODE structure that will give you access to various printer data.

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