Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

PDFs printed with QuickPDF lose bold style

Question

I have been having an issue that I cannot resolve. I have tried darn near everything.

We have PDFs that we populate with form data and then we print the PDF out (with the filled data) using QuickPDF. The problem is that the printed PDF loses the BOLD style of any text on the PDF that has that style. I have tried substituting fonts, etc. but it doesnt seem to be tied to any particular font.

When I print the PDF using Acrobat natively, everything looks fine. Here is a snippet of my code. Anyone who has a theory, it would be appreciated. I can even send you the before and after PDFs. We are grasping at straws at this point and QuickPDF support has not been able to provide a remedy to this point.

Here is the VB6 code snippet (we are running this in a Windows 2000 Professional environment btw - and the GDI DLL is the latest & greatest available for Win2k):

   Dim Result As Long
   Dim QuickPDF As QuickPDFAX0719.PDFLibrary
   Set QuickPDF = CreateObject("QuickPDFAX0719.PDFLibrary")

   Dim startPage As Integer
   Dim EndPage As Integer
   startPage = 1

   Call QuickPDF.SetGDIPlusFileName(App.Path & "\GDIPLUS.DLL")

   If QuickPDF.UnlockKey(KEY_GOES_HERE) = 1 Then

       Result = QuickPDF.LoadFromFile(pdfFile)
       Call QuickPDF.SetNeedAppearances(1)

       //'Complex code for filling the form fields goes here 

       docPages = QuickPDF.PageCount
       printerName = QuickPDF.GetDefaultPrinterName
       printerOptions = QuickPDF.PrintOptions(0, 0, QuickPDF.GetDocumentFileName)
       Result = QuickPDF.PrintDocument(printerName, 1, docPages, printerOptions)

    End If

Anyone see anything wrong here??

Answer

Thanks for reporting this issue. I'm happy to confirm that it has been fixed in the 7.22 beta 2 release.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum