Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I cannot install QvPDFSetup.exe on a 2008 64 bit server.
After I run it as administrator on the server it finishes without errors. But
it did not create a pdf printer.
Uninstall doesn't work. Reinstall finishes without errors.
Does anyone have a clue or an alternative?
thx
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
Im now using bullzip pdf (http://www.bullzip.com/products/pdf/info.php)
Works like a charm. Even looks better.
Thanks for your reactions.
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
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
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,
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
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
Yes of course,
all security settings are right.
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
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