CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2011
    Location
    India
    Posts
    18

    Need Help For Print Routine

    I need to Print Graphics + Text for my application. I need help is assigning Graphics Buffer
    with reference to paper size and resolution. I need to reserve some area for text and some for graphics.
    Pl let me know any links of this tutorial.

    Thankx a lot ..

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: Need Help For Print Routine

    1. What type of "application" are you using?
    2. Define "Graphics Buffer"
    Victor Nijegorodov

  3. #3
    Join Date
    May 2011
    Location
    India
    Posts
    18

    Re: Need Help For Print Routine

    Thank u first of all.

    I have written a prog where I collect waveform data and display it.

    I have defined a buffer and drawing that waveform in that. I am writing some text information and then transferring the buffer to print buffer. I am using Fast Graphics Tools for all above. The problem is , as I change paper selection and resolution all active buffer sizes need to change. I am using GetDeviceCaps to get LOGPIXELSX etc
    but failed to find universal formula . If page length changes , waveform is shown half or so.

    Any other method to print , using MFC will also do.

    So I need a Print Tutorial , which will print for any print setting.

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