LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to print a pdf file from Labview

Hi,
Does anyone know how to print a pdf file form Labview. I need to be able to point on the pdf file and to print it.
Activex examples doesnt seem to be working it always displays an error, on every PC that I tryed to run it.
{"code 3005" ,,,"Automation Open: Object specified is not creatable in Display PDF in Dialog.vi"}.

Thank you for your help.

Regards,
Jenia.

0 Kudos
Message 1 of 2
(5,198 Views)
You can use the "System Exec.vi". The command line should have the following structure:

"<Path to AcroRd32.exe>" /t "<Path to document>" "Printer name"

For example"

"C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" /t "C:\myreport.pdf" "Tektronix Phaser 300i"

Regards;
Enrique
www.vartortech.com
Message 2 of 2
(5,179 Views)