Export report to PDF file format.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do export report to PDF file format automatically by using programming
code in MS Access such as "Function FileToPDF(strInputPostScript As String,
strOutputPDF As String, strJobOptions As String) As Integer".
Who can complete the routine in this function code?
Thanks.
 
One simple way would be to specify the printer for the report under page
set-up. This way whenever the report is printed it will only print to the
specified printer. Specify the acrobat distiller or whatever printer you use
to generate PDF files (cutePDF)

Then just a simple DoCmd line to print the report.
 
Back
Top