Hello.

i use this code to print my vb page form :

PrintForm1.Print()

But only half of the page from the form is printed.

i tried using this , code :

PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.CompatibleModeClientAreaOnly)

Nothing is prinetd on the printed page. I got only a black page.

What can i do to fixed this problem??Please advise.
Thank you, in advance.

Even so it is a very simple method to print a form it takes some code to get it right.The reason is the DPI of your monitor and the scale of the paper you are using. Here is a link that will show you hoe to do it:
http://support.microsoft.com/kb/230502/en-us

Thanks for the info..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.