Printing Large Windows Forms

G

Guest

Hi I am relatively new to Windows development. I have a project which
includes multiple long windows forms. Some of these forms have around 200
fields. These forms will use a combination of custom user controls and third
party components. If it is at all possible I would like to avoid manually
adding a thousand fields to PrintDocuments. What would be a best practice for
sending such a large windows form to a printer? Is anyone aware of any third
party components that would provide a solution for this problem? Could this
problem be solved by looping through the controls on the form somehow. Any
advice or direction that you could give me would be greatly appreciated.

Thanks,

Eric
 
G

Guest

Hi I am relatively new to Windows development. I have a project which
includes multiple long windows forms. Some of these forms have around 200
fields. These forms will use a combination of custom user controls and third
party components. If it is at all possible I would like to avoid manually
adding a thousand fields to PrintDocuments. What would be a best practice for
sending such a large windows form to a printer? Is anyone aware of any third
party components that would provide a solution for this problem? Could this
problem be solved by looping through the controls on the form somehow. Any
advice or direction that you could give me would be greatly appreciated.

You could make a copy of the on-screen form as a bitmap and print the
bitmap. Given an appropriately capable printer, this will work regardless of
the complexity of the form.
 
C

Cerebrus

Hi Eric,

If I understand you correctly, you can simply take a screenshot of the forms
(PrintScreen) and then paste this into any Image editor. Then save it as a
jpeg and Print away... ! It doesn't really matter how many controls you have
on your forms, for PrintScreen to work.

Regards,

Cerebrus.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top