I have developed an invoice system for my client. The invoices created are currently previewed and then "printed" with Acrobat PDFWriter/Acrobet Distiller. These saved files are then emailed as necessary.
The problem lies in the fact that sometimes there may be several hundred to run at one time. This is very time consuming. Each report can be uniquely identified so the name of the saved file is fully flexible. (The system prior to this used a For Each Loop with DoCmd.OutputTo to save each in succession.
The client does not want to have any user intervention in the saving of the files. They want to be able to click a button to generate the invoices and then end product be a number of .pdf files in a directory.
What I am ultimately looking for is a DoCmd.OutpuTo type command line for saving reports as a .pdf files. I have searched the forums and found nothing to help. I have found one refeence to changing the default printer, runnig all the reports, then changing the printer back, bu would like to avoid this if possible. I have also already tried using acFormatPDF in the DoCmd.OutputTo line, ensuring that the appropriate PDF references were added to the References selection.
Any one have any ideas? The secret to creativity is knowing how to hide your sources. - Albert Einstein![[spin] [spin] [spin]](/data/assets/smilies/spin.gif)
Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
robert.l.johnson.iii@citigroup.com
The problem lies in the fact that sometimes there may be several hundred to run at one time. This is very time consuming. Each report can be uniquely identified so the name of the saved file is fully flexible. (The system prior to this used a For Each Loop with DoCmd.OutputTo to save each in succession.
The client does not want to have any user intervention in the saving of the files. They want to be able to click a button to generate the invoices and then end product be a number of .pdf files in a directory.
What I am ultimately looking for is a DoCmd.OutpuTo type command line for saving reports as a .pdf files. I have searched the forums and found nothing to help. I have found one refeence to changing the default printer, runnig all the reports, then changing the printer back, bu would like to avoid this if possible. I have also already tried using acFormatPDF in the DoCmd.OutputTo line, ensuring that the appropriate PDF references were added to the References selection.
Any one have any ideas? The secret to creativity is knowing how to hide your sources. - Albert Einstein
![[spin] [spin] [spin]](/data/assets/smilies/spin.gif)
Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
robert.l.johnson.iii@citigroup.com