Print a Form to PDF

J

John Dumay

Hi,

I have been able to successfully print a Report to PDF using Steve Lebans
ReportToPDF utility (great stuff Steve and many thanks) but all i want to do
now is print a Form to PDF using the same of a similar utility. I have tried
to use the Lebans module but I get stuck in that i get an error that says
that an acForm object cannot be utilised to create a snapshot file???

I can print to the installed Acrobat distillor (now that i have a patch for
Office 2003) but i would like to use a .DLL method so that i can distribute
to people who don't have Acrobat installed.

Thanks for any help you may be able to give me.

Regards,


John Dumay
 
J

John Dumay

Hi Stephen,

Thanks for your promt resonse (and merry Xmas too!).

I agree with the suggestion you made to a certain extent but I really want
to save the time and effort of creating the report all over again. Basically
I am trying to save work. The way that I design these particular Forms is
that they are a single size that fits to an A4 sheet in the printer so it is
really easy to place a print button (view on screen only) that prints the
form as a report. This is especially handy because I can use the Objects on
the Forms to drill down to detailed info (i.e. Click on an embedded .EMF
object that is a arrow picture using the OnClick event.) which s not possible
using Reports. These forms are very complex and would take a considerable
amount of time to reproduce exactly as reports.

Seeing it is realy easy to print this as a PDF using the PDF distillor as
installed on my computer I just thought it would be great to call a .DLL that
would print the Form instead of having to recreate a Report.

Any suggestions would be very helpful.

Regards,

John
 
A

Arvin Meyer [MVP]

Instead of using Acrobat distiller, try using one of the free PDF utilities
like CutePDF:

http://www.cutepdf.com/

My absolute favorite PDF creator costs $35 (less in quantity) and can easily
be coded similarly to Stephen Lebans' utility. It is lightning fast,
creating a 50 page PDF faster than Adobe loads the splash screen:

http://www.win2pdf.com

And while you are at it, you might try the free reader from Foxit, which is
much faster, and more powerful than Adobe's reader.

http://www.foxitsoftware.com
 
J

John Dumay

Hi Arvin,

Thanks for the guidance and i checked out the sites. Seems I can get a
CutePDF DLL for about $700 US and it is a bit steep for us poor people. looks
like it will work. The free CutePDF print driver works a treat, however needs
to be installed whic I guess iw ill have to figure out how to do
automatically when I distribute my application. Afree DLL like Stephen
Leban's is the preferred choice if one exists??? But if it did everyone would
be using it right??

Stephen any chance of ptting this on your list?

I guess back to duplicating my results in "Reports" so I can print.

Regards,

John Dumay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top