Jump to content
Server Maintenance This Week. ×

Creating PDFs in Runtime


Furball

This topic is 5314 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Has anyone come up with a usable method of scripting PDF creation and automated printer selection in FMP runtimes? I've noticed that both Affiler and Shubec have left the business, amnd MyFMButler apparently doesn't do encryption. (I've been using Affiler with some custom scripts done with AutoIT, but Aff won't install on Vista.) I've found some other PDF generators that look promising, but they use a COM interface, and I'm not a programmer.

Link to comment
Share on other sites

  • 2 weeks later...

Unfortunately, I need to script everything. My runtime currently switches the printer to the PDF (I can control the printer name) prints the document, encrypts it using a stored hidden password, then attaches it to an email and sends it out to a predetermined address. Since most of my users are very basic, I need to do all of this for them.

I looked at CutePDF, but it doesn't appear to be scriptable. They do have another program that I'll have to check out.

Thanks

Link to comment
Share on other sites

If you know the printer name (that is the installed cutePDF printer), you can script this easily. FM10 remembers printer names in the print script step.

I ship a runtime to unknown users and so cannot determine the installed printer name.

Link to comment
Share on other sites

That will help. I wrote this runtime in FM8, so I had to write a little windows script that allowed me to change printers within 8. Now, the users select which printers they will be using (I let them have a Printer, Fax and PDF printer) and after rinning a setup script that saves the names, the print script changes the printers. The problem comes in with scripting the encryption, as well as the file names and locations.

Link to comment
Share on other sites

This topic is 5314 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.