i use this code to print my vb page form :


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: