Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Announcements
If you are a Qlik Insight Bot user, join this collaborative group: JOIN GROUP
Highlighted
Not applicable

Cannot install Qlikview PDF on win2008 64bit

Jay is right on this one. I contacted QlikTech when i was creating our QV-reportgenerator.

QlikView PDFprinter is based on CutePDF. As far as i know, QlikView does not maintain this driver anymore? However it is possible do change the setting in the registry with Custom CutePDF. But as mentioned elsewhere in this thread, it is not free.

/Martin

Highlighted
Partner
Partner

Cannot install Qlikview PDF on win2008 64bit

Im now using bullzip pdf (http://www.bullzip.com/products/pdf/info.php)

Works like a charm. Even looks better.

Thanks for your reactions.

View solution in original post

Highlighted
Not applicable

Cannot install Qlikview PDF on win2008 64bit

Hi m-wise,
can you explain how you can set the option of BullZip PDF printer, please?
When i try to create the Object in order to manage PDF printer option
(I need to disable all dialogs and change dinamicaly the save path) I receive the error:
ActiveX component can't create object: 'Bullzip.PDFPrinterSettings'
This is my print function:


FUNCTION MyPrintPDFWithBullZip (oReport, pdfOutputFile)
'Const progid = "bioPDF.PDFPrinterSettings"
Const progid = "Bullzip.PDFPrinterSettings"
set obj = CreateObject(progid)

obj.SetValue "Output", "D:\QlikView Storage\Temp\RP02"
obj.SetValue "ConfirmOverwrite", "no"
obj.SetValue "ShowSaveAS", "never"
obj.SetValue "ShowSettings", "never"
obj.SetValue "ShowPDF", "no"
obj.SetValue "RememberLastFileName", "no"
obj.SetValue "RememberLastFolderName", "no"
obj.SetValue "ShowProgressFinished", "no"
obj.SetValue "ShowProgress", "no"
obj.WriteSettings True

'Bullzip PDF Printer
ActiveDocument.PrintReport oReport, "Bullzip PDF Printer", false
END FUNCTION

If I use only the istruction:
ActiveDocument.PrintReport oReport, "Bullzip PDF Printer", false
the printer works properly but it always asks the save path.
The O.S is Windows Server 2008 Standard SP1

Highlighted
Not applicable

Cannot install Qlikview PDF on win2008 64bit

Hi Albatros

I just couldn't resist trying your code.

With a few modifications it seems to work quite okay - even allowing more settings that QlikView pdf, and you don't even have to do any settings withing the registry as with QV-pdf.

I've tried the code below and it works pretty good on my PC and our QV servers.


ReportFolder="C:\"

Sub printPDF
vReport = "RP01" 'Set report
vName = "myReport" 'Name of output pdf
ActiveDocument.PrintReport(vReport), "Bullzip PDF Printer", false 'Printreport
reportFile = ReportFolder & vName &".pdf" 'Setting outputname
MyPrintPDFWithBullZip(reportFile) 'Call pdf printer
End sub

FUNCTION MyPrintPDFWithBullZip (pdfOutputFile)
set obj = CreateObject("Bullzip.PDFPrinterSettings")
obj.SetValue "Output" , pdfOutputFile
obj.SetValue "ConfirmOverwrite", "no"
obj.SetValue "ShowSaveAS", "never"
obj.SetValue "ShowSettings", "never"
obj.SetValue "ShowPDF", "no"
obj.SetValue "RememberLastFileName", "no"
obj.SetValue "RememberLastFolderName", "no"
obj.SetValue "ShowProgressFinished", "no"
obj.SetValue "ShowProgress", "no"
obj.WriteSettings True
END FUNCTION






Highlighted
Not applicable

Cannot install Qlikview PDF on win2008 64bit

Thanks for your quick replay Martin.

I tried your code on my server but i still have the problem:

ActiveX component can't create object: 'Bullzip.PDFPrinterSettings'

It's probably cause by some server configuration, but I can't understand where is the problem.

There is a related post on BullZip forum ( http://www.bullzip.com/phpBB/viewtopic.php?f=16&t=6360 ), the problem may be the same.

Did you do some special operation to install BullZip (did you register some DLL or this sort of things)?

Thanks again for your replay and your example, Wink

Highlighted
Not applicable

Cannot install Qlikview PDF on win2008 64bit

Have you checked that "Current Local Settings" is set to "Allow System Access" and "Requested Module Security" is set as "System Access" .

Go to edit module (macro editor) and look in the buttom left corner)

/Martin

Highlighted
Not applicable

Cannot install Qlikview PDF on win2008 64bit

Have you checked that "Current Local Settings" is set to "Allow System Access" and "Requested Module Security" is set as "System Access" .

Go to edit module (macro editor) and look in the buttom left corner)

/Martin

Highlighted
Not applicable

Cannot install Qlikview PDF on win2008 64bit

Yes of course,

all security settings are right.

Not applicable

Cannot install Qlikview PDF on win2008 64bit

Then I have noe ideas of what to do. As soon as i made those settings as mentioned above, it worked like a charm.

/Martin

Highlighted
Not applicable

Cannot install Qlikview PDF on win2008 64bit

Hoi Martin,

I use your code, but i still gets the Bullzip-promtscreen to fill in the document name. Do you know what the problem may be?

Groeten, Halmar