Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Sunday, November 19, 2006 3:42:28 AM(UTC)

Rank: Member

Groups: Member
Joined: 10/1/2006(UTC)
Posts: 10

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
            printDoc.Source = images.GetEnumerator()
            printDoc.PlacementMode = PlacementMode.MultipleImages
            printDoc.Source = imgViewer.Bitmap
            printDoc.PlacementMode = PlacementMode.SingleImage
        End If
Why is this so slow?

Edited by user Tuesday, December 18, 2007 8:13:22 PM(UTC)  | Reason: Not specified

Alex Kon  
#2 Posted : Monday, November 20, 2006 6:24:39 PM(UTC)
Alex Kon

Rank: Advanced Member

Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello, Which printer resolution do you use? Try to decrease it in printer settings.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.