Page 1 of 1

Bad print quality when print Document.

Posted: Sun Nov 15, 2009 3:55 pm
by bart1980
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()

Re: Bad print quality when print Document.

Posted: Sun Nov 15, 2009 5:10 pm
by Loïc
Hi Bart,

Your code doesn't show any printing process.

Kind regards,

Loïc

Re: Bad print quality when print Document.

Posted: Sun Nov 15, 2009 7:04 pm
by bart1980
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

Re: Bad print quality when print Document.

Posted: Sun Nov 15, 2009 7:06 pm
by Loïc
Hi,

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

Kind regards,

Loïc

Re: Bad print quality when print Document.

Posted: Sun Nov 15, 2009 8:35 pm
by bart1980
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