LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I programatically control the names of files output from Labview into .pdf format (ie with Adobe PDF Writer or Distiller)?

I would like to save some data forms for a standard test controlled with labview in a pdf format. Due to the large number of forms and test reports, I would like to have Labview automatically assign the .pdf file name based on test number already contained in the labview code. How can I do this.

Note: This question is very similar to:
"Labview and Adobe Acrobat output" posted by John Balone on 1/26/2000. The reponses offered good suggestions but it is not clear to me how to implement them.
0 Kudos
Message 1 of 5
(3,725 Views)
See also
http://messages.info-labview.org/2001/08/24/25.html

I have never worked with Acrobat but you should check if there is an ActiveX method available to print on a PDF file.


LabVIEW, C'est LabVIEW

Message 2 of 5
(3,725 Views)
The trick here is that you don't have to specify the name of the file to be created by the Acrobat 5.0 Distiller. You can rename the file after it is created. Just configure Distiller NOT to:
1. View Results in Acrobat
2. Prompt for the PDF Filename
3. Ask to Replace existing PDF File

Then change the Details | Port to the directory where you want your files stored.

When you send the print job, Acrobat will make a standardized file named Untitled.pdf. When one job has been printed, verify the presence of the file, then rename the it with your test number.

- Michael
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 3 of 5
(3,725 Views)
This information is essential if you plan to use the Acrobat Distiller printer driver and any of the examples listed here:

http://zone.ni.com/devzone/devzone.nsf/webcategories/EADE78F29101E8DB862567AC0058596B?opendocument&node=DZ52095_US

-Graeme, rayodyne.com
0 Kudos
Message 4 of 5
(3,725 Views)

Any updates to this topic of late?

0 Kudos
Message 5 of 5
(2,699 Views)