06-24-2009 08:23 AM
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
06-24-2009 11:05 AM
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
06-25-2009 01:53 AM
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