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.

Recommended Answers

All 2 Replies

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:

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, learning, and sharing knowledge.