9 Replies Latest reply: Mar 24, 2014 3:20 AM by Nana Kinton RSS

    Save as PDF

      Hi,

       

      Is there any solution to save dashboard as a PDF?

      I know we can create report for it but i dont want to use this just because we have container in our dashboard and there are no option to display container as it is,and list box also not show as display in dashboard.

       

      Regards,

        • Re: Save as PDF
          Mohit Sharma

          Try to use this macro code

          '' Create instance of PDFcreatore

          'Set PDFCreator = CreateObject("PDFCreator.clsPDFCreator")

          '

          'PDFCreator.cOption("UseAutosave") = 1 // Enable autosave

          'PDFCreator.cOption("UseAutosaveDirectory") = 1 // Use a specific save directory

          'PDFCreator.cOption("AutosaveDirectory") = ActiveDocument.getVariable("TempPath").GetContent.String // Set autosave directory

          'PDFCreator.cOption("AutosaveFormat") = 0 // Use PDF file type (.PDF extension)

          '

          '

          'PDFCreator.cOption("AutosaveFilename") = "My PDF" // set the filename, optionally you can get the Caption of the object and use it as Filename

          '

          'PDFCreator.cPrinterStop = FALSE

          '

          '// Export to PDF File

          'ActiveDocument.PrintDocReport ReportID, "PDFCreator"

          sub printRP01

           

           

          printReportPDF "E:\Testing.pdf"

           

           

          ActiveDocument.GetApplication.Sleep 2000

           

           

          ActiveDocument.PrintReport "RP02", "QlikviewPDF"

           

           

          ActiveDocument.GetApplication.Sleep 10000

           

           

          end sub

           

           

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

           

           

          Function printReportPDF(pdfOutputFile)

           

           

          Set WSHShell = CreateObject("WScript.Shell")

           

           

          WSHShell.RegWrite "HKCU\Software\QlikviewPDF\OutputFile", pdfOutputFile, "REG_SZ"

           

           

          WSHShell.RegWrite "HKCU\Software\QlikviewPDF\BypassSaveAs", "1", "REG_SZ"

           

           

          Set WSHShell = nothing

           

           

          End function

          • Re: Save as PDF
            Amit Saini

            Hi Adeel,

             

            Please see the attachment.

             

            Thanks,

            AS

            • Re: Save as PDF
              vikas mahajan

              You need to install free pdf printer in server.

               

              Vikas

              • Re: Save as PDF
                Jairaj Singh

                Hi,

                First you need to install PDF writer and set it as your default printer. after that craete one button and put one action Print.

                • Re: Save as PDF

                  Hi there

                  n modern enterprise's document management system, people often need to process and handle large volumes of multi-page PDF document files. Therefore, a professional PDF document page processing utility will bring much convenience for users to manipulate and manage those PDF files, especially when they are processing some PDF document files that have over 500+ pages.So ,you can try to some PDF program which supports to save PDF or convert PDF files to help you out