Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

How to export qvw file in a PDF with batch script

Hello, I'm new to Qlikview:

I want to know if it is possible to generate a PDF file from a qvw file.

How it is possible to do from command line?

I have tried with this command

C:\Programmi\QlikView\qv.exe  /wCreatePDF=1 /NoSecurity "C:\Documents and Settings\Oronzo\Documenti\DOCS\QLIKVIEW\der.qvw"

but I have only a POP-UP Unknow command line option: /wCreatePDF=1

Thanks

Oronzo Lezzi

Tags (1)
1 Solution

Accepted Solutions
Not applicable

How to export qvw file in a PDF with batch script

Allora nel modulo macro controlla d'aver dato l'accesso al sistema nel menu in basso a sx in entrambi i campi.

33 Replies
suniljain
Honored Contributor

How to export qvw file in a PDF with batch script

Try Following Command

"C:\Programmi\QlikView\qv.exe"  /wCreatePDF=1  "C:\Documents and Settings\Oronzo\Documenti\DOCS\QLIKVIEW\der.qvw"

Not applicable

How to export qvw file in a PDF with batch script

Thanks Sunil, but as you can see from attachement I have the same error.

I don't understand why and I cannot find documentation about it

Thanks

OronzoOuput.PNG

suniljain
Honored Contributor

How to export qvw file in a PDF with batch script

are you install pdfcreator ?

Not applicable

How to export qvw file in a PDF with batch script

No ,

I don't have installed pdfcreator . I only have a virtual PDF Printer (Bullzip)

Could you give me all the necessary step to PDF from QLIKVIEW file?

Thanks

Oronzo

suniljain
Honored Contributor

How to export qvw file in a PDF with batch script

download pdfcreator from download section of qlik.com

Not applicable

How to export qvw file in a PDF with batch script

Hello Sunil, in download section of qlik.com I have only the link to download qlikview.

Could you give me the direct link?

Is it the software from sourceforge?

Thanks

Oronzo

Not applicable

How to export qvw file in a PDF with batch script

Sorry but maybe it is correct /vCreatePDF and not /wCreatePDF.. why /w?

C u

Stefano.

Not applicable

How to export qvw file in a PDF with batch script

Ciao Stefano, l'opzione da te suggerita (/vCreatePDF) apre il file qvw senza fare niente altro. Come dovrebbe essere usata?

Grazie

Oronzo

Not applicable

Re: How to export qvw file in a PDF with batch script

Ciao Oronzo,

in alcuni progetti ho eseguito pure io macro dopo il reload.

La prima cosa che ti chiedo è se associando la macro della stampa ad esempio ad un bottone questa funziona.

Nel caso funzioni deve girare anche da quella riga di comando.

nel modo in cui hai scritto la riga di comando mi pare di capire che vuoi usare una variabile per decidere se stampare o meno il report. Da manuale la sintassi corretta è /vnomevariabile=valore.

Ma se setti la variabile ad 1 nel qvw ed esegui il bat senza /wCreatePDF la macro gira e il pdf funziona?

Se ti si apre il documento allora vuol dire che non prende correttamente il path del file.

Ti allego un bat che a me funziona.

Ciao,

Stefano.

Community Browser