CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2014

    Unhappy Problem in printing large form

    i made a project which had a large size form in twips (in paper size, it is A3).
    i make it child form and when i print using formChild.printForm it is ok and print normaly. now i wish to change my program. i wish to print it to two A4 size paper. so i use bitblt to take left part of the childForm to print in one A4 size and right part to another A4 size paper. but bitblt cannot take snapshot over 15220 (approx), my childForm's height is approx 16000. i work on a salary project and it has huge number of data, so i can not reduce my form to 15220.
    please help me to overcome this problem.

  2. #2
    Join Date
    Feb 2014

    Re: Problem in printing large form

    Can not imagine that you have such a limit... are u sure that you're not confusing twips with pixels? bitblt is in pixels... (Screen.TwipsPerPixelX, normally 15 or 12)

  3. #3
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008

    Re: Problem in printing large form

    Yeah 16000 pixels would be over 8 screens full of data set at HD res. That would be far to much to print to a single page as it would have to be scaled down to the point of unreadability
    Always use [code][/code] tags when posting code.

  4. #4
    Join Date
    Jan 2014

    Smile Re: Problem in printing large form

    yes, may be my code is wrong ... i'll check my code(s)... and reply soon...
    any way... i use streachBlt not bitBlt

    thanks both of you for your help

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

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.