Question : I want to have my command button use the generic pdf printer when it is clicked

Hi Experts,

I was curious can I have my command button on click procedure run code that will default to the installed .pdf printer?

Thanks
patentinv

Answer : I want to have my command button use the generic pdf printer when it is clicked

Do you have report to print?
Do you want to be able to print the report to a generic pdf even if you dont have adobe installed?

If this is the case, then try and adapt the sample found at this link.

http://www.lebans.com/reporttopdf.htm

The sample is easy to understand. Just follow theses steps:

(a). Download the A2000ReportToPDF sample db
(b). Copy these two libraries into C:\Windows\System32 directory
         StrStorage.DLL and DynaPDF.DLL

(c). Open the sample db and explore
(d). You can adapt the sample for your own use.

You dont need to install adobe or any other software. The DLL libraries does the job of converting your report to pdf file on the fly.

Cheers !!!
Bobby

Random Solutions  
 
programming4us programming4us