Print routine to open AcroRd32.exe , print file on network, CLOSE AP(this is problem)
I have asked this question before, but I am still stuck. I am using a dos batchfile to print a .pdf drawing from our server. I can get the file to print, however Adobe seems to "hang" after the file is printed. I have used the /p /t commands to no avail. I have even found a process terminator that will end the process, but I don't think this is a viable solution. It needs to print with no user intervention. So, what I am asking for is : Simple code either in a batchfile or Vbapp that will accept in 3 parms (printer-name, Directory,filename) and print the correct file. Such as.....
net use lpt1: /delete /y
net use lpt1: \\vactor_wts_nt1\mislaser
acrord32.exe /p /h c:\shop\shop\PD-58491A-A.Pdf
pv -k -f acrord32.exe
This code will print the document ok, but will not CLOSE Adobe. It will not execute pass the print pdf line. PLEASE HELP!
8/22/2022 - Mon
Your help has saved me hundreds of hours of internet surfing.