Link to home
Start Free TrialLog in
Avatar of jigyasu
jigyasu

asked on

Printing Forms from Visual Basic using PrintForm

I am trying to print Visual Basic Form From VB application, using PrintForm method.The Form Contains ,many Label controls and Line controls, in which I pass data  during run time.Its working.But some times forms are Printed half or Line controls are mis-aligned.Please help me out ?
Avatar of Erick37
Erick37
Flag of United States of America image

"HOWTO: Capture and Print the Screen, a Form, or any Window"
 
http://support.microsoft.com/support/kb/articles/Q161/2/99.ASP 
Avatar of TSO Fong
That can be useful, but it converts the screen to an image in a picture object. If you have small type or other fine detail, it becomes harder to read on the printout.
ASKER CERTIFIED SOLUTION
Avatar of paulstamp
paulstamp

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I agree with paulstamp.
The only way to print exactly what you see is to do the same drawing functions on the printer that you do on the form.
PrintForm is buggy.
Avatar of jigyasu
jigyasu

ASKER

Thanks forn the response.I accept that Printform is not a FoolProof method but there will be ways to Minimize the errors.I am looking for those positive steps in using Print form.Once again Thanks a lot for the response.