Create PDFreport Using Adobe API

  • Thread starter Thread starter Downey
  • Start date Start date
D

Downey

Hello:

I am trying to have Access (using VBA) programmatically
create a PDF version of a report. Changing printers in
the code doesn't always produce the correct result. I was
informed that there is a way to use the Adobe API to do
this. I have a full version of Acrobat 4, and was
wondering if anyone had done this before.

Thanks,
Downey
 
If you want to use Adobe PDFWriter most people set the registry keys and
print to the
printer to produce the PDF file. I have been using that method for years
now and it works very well.

We sell source code on how to do that for $99.95 at
http://www.rptsoftware.com if that interest you.
Currently giving away the source code at the regular product price (savings
of $100).

HTH,
Mark
 
Thanks.
-----Original Message-----
If you want to use Adobe PDFWriter most people set the registry keys and
print to the
printer to produce the PDF file. I have been using that method for years
now and it works very well.

We sell source code on how to do that for $99.95 at
http://www.rptsoftware.com if that interest you.
Currently giving away the source code at the regular product price (savings
of $100).

HTH,
Mark




.
 
Downey:

You might want to take a look at our PDF and Mail Library for Access. It
supports all versions of Acrobat 3 and greater as well as many other
drivers. Outputting a PDF can be as simple as:

Dim objPDF as New PDFClass
With objPDF
.ReportName = "Your Report"
.OutputFile = "c:\some dir\some file.pdf
.ReportWhere = "[CustomerID] = 12345"
.PrintImage
End With

You'll find it on our web.

HTH
 
Back
Top