Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
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

1 Solution

Accepted Solutions
Not applicable
Author

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

View solution in original post

33 Replies
suniljain
Master
Master

Try Following Command

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

Not applicable
Author

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
Master
Master

are you install pdfcreator ?

Not applicable
Author

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
Master
Master

download pdfcreator from download section of qlik.com

Not applicable
Author

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
Author

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

C u

Stefano.

Not applicable
Author

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

Grazie

Oronzo

Not applicable
Author

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.