How to use GetDeviceCaps ?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: How to use GetDeviceCaps ?

  1. #1
    Join Date
    Jan 2012
    Location
    India
    Posts
    138

    Unhappy How to use GetDeviceCaps ?

    I have written a program to capture signal from machine and display it on screen in the form of sinosoidal wave. I have print buffer for 256 X 400 pixel strip chart. This prints fine if I set page size A4 and resolution 600 DPI. If anyone changes print parameters , there is problem. I can resize the printer buffer and interpolate the stored signal.

    My problem is , how to find the printer resolution from GetDeviceCaps ? how to know the Print Type Normal / Draft etc in mFC.


    Pl tell me any link if it is there ..

    Thanking you ..

  2. #2
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,378

  3. #3
    Join Date
    Jan 2012
    Location
    India
    Posts
    138

    Smile Re: How to use GetDeviceCaps ?

    Thank u sir ,

    U have always been a great help to me .. I will try to write general print function to print
    text and graphics and will also try to implement styles , colors and font

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center