0 Replies Latest reply: Apr 10, 2012 2:57 AM by Arvind Mahapatar RSS

    How to set default PDF font size when PDF is generated from qlikview

      Hi all,

       

      I am using qlikview 11.00 and I have to create PDFs from my qlikview reports.

      My problem is whenever there are large tables in the qlikview reports, font size of the data in these tables becomes very small in the PDF.

      Is it possible to set the font size manually so that when PDF is opened the default font size is proper and the data in the PDF is seen clearly at first glance???? Please reply ASAP as I have to complete this task urgently.

       

      Here is my code given below for PDF creation.

       

      sub printRP01

       

      ActiveDocument.GetApplication.Sleep 2000

      ActiveDocument.PrintReport "RP01", "PDF-Xchange 4.0", false

      ActiveDocument.GetApplication.Sleep 20000

      PrintReportPDF "Sales"

      end sub

       

      '===========================================================================

       

      Function PrintReportPDF(pdfOutputFile)

       

      Set objFSO = CreateObject("Scripting.FileSystemObject")

      objFSO.CopyFile "D:\PDFGenerate\Report1.pdf" , "D:\PDFGenerate\" & pdfOutputFile & ".pdf", True

       

      End function