Print gets cut off

I've been designing a program for work and the only thing that has stopped me from publishing it is the PrintForm. I thought it was sorted with the new update, but sadly not.

I have created a form which pulls the information in when the print icon is pressed.

cmdPrint.Visible = False

PrintForm1.PrinterSettings.DefaultPageSettings.Margins = New System.Drawing.Printing.Margins(20, 20, 20, 20)

'PrintForm1.PrintAction = Printing.PrintAction.PrintToPreview

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

cmdPrint.Visible = True

frmP40_2.Show()

Me.Close()

I have designed the program with the screen resolution of 1280x1024 as i can see what i'm doing better but the program will be run on computers with a resolution of 1024x768. When i use the larger res it prints fine, but when i use the smalled res it doesn't print then entire page.

http://img395.imageshack.us/img395/3010/1280x1024zn6.th.jpg

http://img510.imageshack.us/img510/6129/1024x768ce3.th.jpg

Can anyone help me with this.

Many Thanks

Lee

[1075 byte] By [Lee] at [2008-1-9]
# 1
Have you tried the latest PowerPacks 2.0? The download link is http://www.microsoft.com/downloads/details.aspx?familyid=92faa81e-e9c1-432c-8c29-813493a04ecd&displaylang=en
yfdong_MSFT at 2007-10-3 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 2
Sorry i'm only just replying, had no internet in the area for a couple of days.

I've installed 2.0 but it still doesn't work. Try making a form to print that will cover an A4 page and see if you get the same problem, that way we'll know if it's me or a bug in the software. The size of the form i'm using is 850, 729.

Thanks

Lee at 2007-10-3 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 3
Has anyone got any idea why it's not printing the full page?
Lee at 2007-10-3 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 4

I tried the PrintForm component on a 850x729 form and didn't see any problem. If you still have the problem, you can send me your project and I will help to find the reason. My email is yfdong{at}microsoft.com.

yfdong_MSFT at 2007-10-3 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 5
Thanks, i've emailed the project to you.
Lee at 2007-10-3 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 6
Have you come up with anything yet?
Lee at 2007-10-3 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...