I have an application that I am using Exaprom PDF in. On my development PC it works great. On the target PC it doesn't print (no error either). On the target PC it saves the PDF to the desired folder, and when I open it with Adobe and select print, it does (networked printer set as default). Are there drivers other than itextsharp.dll that need to be included in the build?
Solved! Go to Solution.
I have only tried it from my development PC and the intended deployment PC. My companies strict IT policies and small (1 person) onsite staff make it difficult to install on another PC. If I don't get any ideas I may try to get my application installed on another PC to try it.
Are you using a network printer on the development machine?
I didn't reply last August because priorities changed. Now they need it again. I have now installed my VI on another PC, and am now getting an error on them both. As you can see in the attached pic, the error suggests there is an illegal character in the path, but by looking at the path above the error there obviously is not. Also, my VI successfully saves the PDF immediately before trying to print it. I also have tried wiring in the file path straight from the control that gives the path to "New PDF.vi" as well as unbundling it from the "PDF Report" cluster myself. Both PCs are running XP SP3 and LVRT 2013. The new PC is trying to print to the same networked printer as my development machine, which is a different printer than the one the floor machine is printing to. The network printer is set as the default for both. I still have no problem printing if I right click on the PDF in windows explorer.
Thanks for asking. Yes I originally was giving the print vi the address from the control, and I thought a delay between saving and printing might help. I tried a delay - no joy. Then I switched to getting the address from the save VI. Thinking about it I might try a longer delay tomorrow. I think I only tried a 1 sec. delay.
I tried a 10sec delay, and still the same error. I have attached my VI in case I missed something.