Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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,
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
Hi Mohit,
Thank you for your reply.
Mohit in your Macro Report is calling but i dont want to create it
**ActiveDocument.PrintReport "RP02"
Hi Mohit,
the first part of your macro is marked as a comment.
Does the macro start with "sub printRP01"?
kind regards
Bumin
Hi,
Using code to deal with the PDF saving projects is too complicated for me. I wonder why not generate PDF files directly using some 3rd party PDF processors? Or you can convert other formats to PDF files as well. Btw, do you have any good suugestion about the relevant PDF toolkits? I want to look for a fine one which is totally manual and can be customized by users according to our own favors. Any suggestion will be appreciated. Thanks in advance.
Best regards,
Arron
Hi Adeel,
Please see the attachment.
Thanks,
AS
You need to install free pdf printer in server.
Vikas
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.
Did you try NPrinting ? You may check for this in the QlikMart section.
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