This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

ImagePrintDocument is slow

I have a multi-page fax that I'm trying to print each page. The part where I load the images to ImagePrintDocument goes quickly; once it starts the DoPrint, each page takes about 20 seconds to render to the printer. A four-page fax image takes 80 seconds to render to the spooler for printing. This seems like a long time considering the horsepower of the machine I'm using, the fact that each page is a 1bpp fax image, and how fast other operations are running.

Here's the code snippet:

        Dim printDoc As New ImagePrintDocument
        printDoc.PrintOptions.ImageAutoRotate = True
        printDoc.PrintOptions.PlaceholderAutoRotate = True
        printDoc.DefaultPageSettings.Margins.Left = 25
        printDoc.DefaultPageSettings.Margins.Top = 25
        printDoc.DefaultPageSettings.Margins.Right = 25
        printDoc.DefaultPageSettings.Margins.Bottom = 25
        If MaxPageNumber > 1 Then
            Dim images As New ArrayList
            For i As Integer = 0 To MaxPageNumber - 1
                Dim thisFrame As TiffFrame = CType(reader.LoadFrame(i), TiffFrame)
                Dim newBitmap As New Aurigma.GraphicsMill.Bitmap
                thisFrame.GetBitmap(newBitmap)
                thisFrame.Dispose()
                images.Add(newBitmap)
            Next
            printDoc.Source = images.GetEnumerator()
            printDoc.PlacementMode = PlacementMode.MultipleImages
        Else
            printDoc.Source = imgViewer.Bitmap
            printDoc.PlacementMode = PlacementMode.SingleImage
        End If
        printDoc.Print()


Why is this so slow?
Hello,

Which printer resolution do you use? Try to decrease it in printer settings.