Print Page | Close Window

PDFs printed with QuickPDF lose bold style

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1565
Printed Date: 08 Nov 25 at 4:42PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: PDFs printed with QuickPDF lose bold style
Posted By: SCV
Subject: PDFs printed with QuickPDF lose bold style
Date Posted: 09 Sep 10 at 3:49PM
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??
 
 



Replies:
Posted By: Ingo
Date Posted: 09 Sep 10 at 6:28PM
Hi!

See my other posting ;-)

Cheers, Ingo


Posted By: SCV
Date Posted: 09 Sep 10 at 7:55PM

Ingo - thank you for your reply.  I am reading your other posting as we speak.



Posted By: SCV
Date Posted: 09 Sep 10 at 9:03PM
I upgraded to version 7.21 and still have the same result.


Posted By: Ingo
Date Posted: 09 Sep 10 at 9:04PM
So use the official support pages with upload-option for sample files.

Cheers, Ingo


Posted By: SCV
Date Posted: 09 Sep 10 at 9:09PM
I have posted there and am awaiting the vendor's reply.  Thanks a million, Ingo!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk