Printing a PDF

Discussions about document viewing.
Post Reply
nemler
Posts: 1
Joined: Tue Jan 08, 2008 4:22 pm

Printing a PDF

Post by nemler » Tue Jan 08, 2008 4:29 pm

I am currently evaluating your product. The project I am working on requires the viewing and printing of PDF files. The problem I am running into is the quality of the print I am recieving from the PDF is very light and lines appeared dotted in some cases. The PDF files that I am printed are CAD drawings that contain graphics and text.

Is this a limitation with this software or is there a setting I am missing.

Code: Select all

            GdViewer1.DisplayFromPdfFile strPrint(x)
            GdViewer1.PrintSetActivePrinter strPrinter(iPaperSize)
            GdViewer1.PrintSetOrientation 2
            GdViewer1.PrintImageFit
I have also tried setting the value of .PdfDpiRendering to a higher value before calling .DisplayFromPdfFile. This did not appear to have any effect.

If there is something that I am missing please advise.

Thanks,
Nate

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

Re: Printing a PDF

Post by Loïc » Wed Jan 09, 2008 5:09 pm

Hi Nate,

We just released a minor upgrade including better printing quality.

You can update your SDK from https://www.gdpicture.com/download.php


Else, to maximize the priting quality you can try this:

Code: Select all

oGdViewer.PdfDpiRendering (200)
oGdViewer.PrintSetQuality (PrintQualityHightResolution)
Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest