LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

create a pdf with a specific name

Hello

 

Does anybody know how I can automatically set a filename by myself when I print a .uir to a pdf-file?

 

A bit more detailed:

I want to print an user interface to a pdf-file. Therefore I'm using the function PrintPanel(myPanel,"",1,VAL_FULL_PANEL,0) and it also works. However each time before my pdf-printer (pdf995) prints the file, a popup window appears where you can choose the directory and set the filename. Then I've ever to change the proposed filename. Is there any possibility that my program prints the panel automatically into a default directory with a demand filename by myself?

 

I'm using LabWindows CVI v 5.0.

 

Thanks for your help

 

0 Kudos
Message 1 of 3
(3,293 Views)

Hi,

 

by downloading and installing PDFedit995 module you should be able to bypass the Save As... dialog box by configuring the autosave option. You may need to create an option file before printing to the pdf virtual printer (I don't remember exactly: I have used it a few years ago to automate report creation on an application of mine).

PDFedit995 can be downloaded from PDF995 page



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,282 Views)

Hi

 

Thank you very much for the reply, Roberto.

It's also necessary that I can set the filename in my program.

I've found a first solution: If I set a name to the panel which I want to print before I call the function PrintPanel(...), then I'm able to set the filename of the pdf by myself. Then the propesed filename of the PDF995 printer is the same as the panel has, which I want to print.

 

See you

0 Kudos
Message 3 of 3
(3,265 Views)