Bad print quality when print Document.

Discussions about document printing in GdPicture.NET using GdPictureImaging.
Post Reply
bart1980
Posts: 5
Joined: Wed Nov 04, 2009 12:54 am

Bad print quality when print Document.

Post by bart1980 » Sun Nov 15, 2009 3:55 pm

Hello,

When I print a document I get a light gray dot background. It's on every page. Below you have my code.

Hope somebody can help me.

Bart

Code: Select all

GdViewer1.Clear()
        Dim Bits As Byte()
        Bits = CType(DocumentViewDataGridView(5, DocumentViewDataGridView.CurrentCell.RowIndex).Value, Byte())
        GdViewer1.DisplayFromByteArray(Bits)
        oGdPictureImaging.ConvertTo1Bpp(1)
        m_CurrentThumbnail = 0
        GdViewer1.Show()

User avatar
Loïc
Site Admin
Posts: 5576
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Bad print quality when print Document.

Post by Loïc » Sun Nov 15, 2009 5:10 pm

Hi Bart,

Your code doesn't show any printing process.

Kind regards,

Loïc

bart1980
Posts: 5
Joined: Wed Nov 04, 2009 12:54 am

Re: Bad print quality when print Document.

Post by bart1980 » Sun Nov 15, 2009 7:04 pm

Here is the print code:

Code: Select all

    Private Sub ToolStripMenuItem10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripMenuItem10.Click
        'oGdPictureImaging.ConvertTo1Bpp(1)
        GdViewer1.PrintSetDocumentName("GdPicture Document Viewer Printing")
        GdViewer1.PrintDialog(Me)
    End Sub

User avatar
Loïc
Site Admin
Posts: 5576
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Bad print quality when print Document.

Post by Loïc » Sun Nov 15, 2009 7:06 pm

Hi,

Could you attach the image producing the "light gray dot background" ?

Kind regards,

Loïc

bart1980
Posts: 5
Joined: Wed Nov 04, 2009 12:54 am

Re: Bad print quality when print Document.

Post by bart1980 » Sun Nov 15, 2009 8:35 pm

Hello,

By making a PDF for you, the problem didn't be there. So I check with different printer and this one did also not have the problem.

Thanks for your help.

Kind regard,

Bart

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests