P
pubdude2003 via AccessMonster.com
Hey all, anyone know how I can write some VB code specifying which pages of a
pdf to print?
I am using the following code to view the PDF's (On Current) in a form and I
noticed
that if I hit CTRL - P it will print the pdf (not the form) so I am wondering
if someone might be able to help me with the code to print specific pages of
the PDF being viewed.
Dim AcroApp As CAcroApp
Dim AVDoc As CAcroAVDoc
Dim PDDoc As CAcroPDDoc
Set AVDoc = CreateObject("AcroExch.AVDoc")
Set AcroApp = CreateObject("AcroExch.App")
Set PDDoc = AVDoc.GetPDDoc
Me.viewer.LoadFile ([file333])
pdf to print?
I am using the following code to view the PDF's (On Current) in a form and I
noticed
that if I hit CTRL - P it will print the pdf (not the form) so I am wondering
if someone might be able to help me with the code to print specific pages of
the PDF being viewed.
Dim AcroApp As CAcroApp
Dim AVDoc As CAcroAVDoc
Dim PDDoc As CAcroPDDoc
Set AVDoc = CreateObject("AcroExch.AVDoc")
Set AcroApp = CreateObject("AcroExch.App")
Set PDDoc = AVDoc.GetPDDoc
Me.viewer.LoadFile ([file333])