Hello all,
To cut to the chase I am using the System Exec.VI to open a PDF with Adobe Reader 8.0 and printing the document. I can do this without a problem. The problem is I would like to have this window close automatically when it is done printing. I have seen on the web that the switch to make this happen is /t, but for some reason my pdf doc is not closing. My command line looks like this
"C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe" /t "path to the file" "default printer name"
Is there another way to terminate the window not using switches in the command line statement?
I have tried using active x calls to open the doc and print but I am not seeing any print options in the active x calls. I have searched thourgh a large portion of the classes and could not find any print statements. I have also tried opening the doc with the system exec.vi and priting and then closing it with active x but I get an error message back.
Has anyone had any success in opening a pdf doc, printing and then closing the window automatically afterwards?