Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1310
Printing UltraGridPrintDocument is very slow....
posted

I am printing my grid using the following code:

With UltraGridPrintDocument1
                    .Grid = ug_CommissionDetail
                    .FitWidthToPages = 1
                    .DefaultPageSettings.Landscape = True
End With

UltraPrintPreviewDialog1.Document = UltraGridPrintDocument1
UltraPrintPreviewDialog1.ShowDialog()

The grid fills the landscape page nicely, but it is very slow.

When the grid goes over 1 page I get an InsufficientMemory error on my printer.

This HP is an office printer with 16MB memory.....should be sufficient.

I have also tried this printout using the PageSetupDialog and PrintDocument with the same issues.

What am I doing wrong?

Does the StyleLibrary have anything to do with this?