Good question. In Windows, it's normally in Program Files\Adobe\Acrobat Reader DC\Reader
Good Day!
How do I retrieve the location of AcroRd32.exe file?
Need location to use it to print multiple PDF files via command.
'strAppPDF= (......AcroRd32.exe)
'!ScanDocPath= (PDF file name)
'strPrinter= (Printer)
'(Prints multiple PDF files via recordset)
..................................................
strSQL = "SELECT * FROM qryEODReportsPDFFiles Where ScanDocDate=#" & Me.txtEODFOLDER & "#"
Set rstRS = dbsDB.OpenRecordset(strSQL, dbOpenDynaset, dbSeeChanges)
With rstRS
.MoveFirst
Do While Not .EOF
Call Shell(Chr(34) & strAppPDF & Chr(34) & " /P /h /t " & Chr(34) & !ScanDocPath & Chr(34) & strPrinter, 0)
KillAdobe
strPrinter = ""
.MoveNext.
Loop
End With
..............................................
Thanks
Norbert
Posted by: John Viescas <johnv@msn.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
Tidak ada komentar:
Posting Komentar