PrintForm only print text at a low resolution

Hi

I have published my question in one of the threads before but with no answer so I make a new try here:

I have upgraded my Visual Basic 6 application to .NET. In VB6 i used a black and white hidden form including textboxes, labels and frames together with VB6 printform for printing. The result was always perfect with a sharp text like a print from Word or something.

Now in .NET I tried to use the new PrintForm utility but when I print to a black and white laser printer I get unsharp prints at very low resolution. It also seems to be printed in greyscale and not in black and white although everything on the printed form is a black text on white background. Every character are dotted like a picture in a newspaper. Is this the result you can get with the .NET Printform or am I doing something wrong?

I have used the following code:

frmPrint.Show()

PrintForm1.PrinterSettings.DefaultPageSettings.PrinterResolution.Kind = Printing.PrinterResolutionKind.High

PrintForm1.PrinterSettings.DefaultPageSettings.Color =False

PrintForm1.Print(frmPrint, PowerPacks.Printing.PrintForm.PrintOption.ClientAreaOnly)

frmPrint.Close()

[1339 byte] By [David0001] at [2008-2-14]
# 1

Hi David,

I spoke to the develop and he explained that the current version of the PrintForm component is using the screen resolution to capture the image of the form. This may in fact be a lower resolution then your printer.

JohnHart_MSFT at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...