Im trying to printout a form in VB6.

   I want to print out a form in its current format. I have looked at:-
    Printer.Print S_no.Text
    Printer.Print A_Charge.Text
but this simply prints the text out in the top left hand conrer. Is there anyway to printout the complete form in the format that I have designed it in?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PrintForm sends a bit-by-bit image of a Form object to the printer.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
glenelly22Author Commented:
Thanks for that. Also do u know, how do i chnge the print layout to landscape?

Thanks Again
Use API to change printer orientation with PrintForm.
From Microsoft, PAGESET.DLL allows you to programmatically change the printer orientation.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.