Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

e-mailing a print preview


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

Recommended Posts

FM4

Would like to be able to e-mail a print preview out of FM.

We send our listings to our web host by going to a layout, print preview, copy, open WORD, paste, save as, and then emailing the word document as an attachment.

It is always to the same e-mail address. Thought a script might be able to do it.

Help appreciated

Link to comment
Share on other sites

Well if you are using a Mac...and especially OS X...a combination of AppleScript and FM scripting should allow you to Print as a PDF and send the file to a folder...which I guess could then be attached to a email using FMP. I haven't tried this yet...but it should be possible.

Link to comment
Share on other sites

You need Adobe PDF writer or something similar. NOT a plug in for FMP. If you install PDF Writer it 'plus' itself into FMP, or any other prog for that matter that can print. You can choose the PDF writer as your printer when printing, and hey-presto you have a PDF file. We use this system all the time for sending printed formats by mail. It works just great.

If you are relly stuck - print the screen to a JPG image and edit it down to just the layout you want - but hard work.....

Rigsby

Link to comment
Share on other sites

PDF is a good solution, but if you have a client (like mine) who insists on Word, there is a way: RTF (Micro$oft's Rich Text Format). I was tearing my hair out thinking about merges etc. until I realized how this could be done.

You'll can poke around for RTF at comp.databases.filemaker

...or look here for a good sample script.

Basically you just fill up a global text field with RTF formatting gobbledygook, then export it as a text file with a ".doc" extension and presto! Instant Word file. One annoyance is that you'll have to use repeated script commands due to limits on calculation length, e.g.B)

Set Field (gText, "RTF blah blah")

Set Field (gText, gText & "more RTF blah blah")

etc.

Link to comment
Share on other sites

This topic is 8270 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.