DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Public Sub AcrobatPrint()
Dim AcroExchApp As Acrobat.CAcroApp
Dim AcroExchAVDoc As Acrobat.CAcroAVDoc
Dim AcroExchPDDoc As Acrobat.CAcroPDDoc
Dim num As Integer
fpath = "c:/test.pdf"
Set AcroExchApp = CreateObject("AcroExch.App")
Set AcroExchAVDoc = CreateObject("AcroExch.AVDoc")
' Open the [strfpath] pdf file
AcroExchAVDoc.Open fpath, ""
' Get the PDDoc associated with the open AVDoc
Set AcroExchPDDoc = AcroExchAVDoc.GetPDDoc
' Get the number of pages for this pdf [and subtract one as zero based]
num = 2 'AcroExchPDDoc.GetNumPages - 1
Call [COLOR=Red]AcroExchAVDoc.PrintPages(0, num, 1, True, True)[/COLOR]
'AcroExchApp.Show 'activate this line if you want to see the acrobat file
AcroExchApp.Exit
AcroExchAVDoc.Close (True)
AcroExchPDDoc.Close
End Sub
Dentex;
Acrobat reader en son sürüm kullanıyorum.Acrord32.dll dosyasını arattım.Bilgisayarımda mevcut.