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

Save Records as PDF; how to fit to one page?


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

Recommended Posts

Posted

Desired outcome:

The web site of interest appears to be built in WordPress, but in any case, there is a colored background, and then a framed area of content, containing stylized text, graphics, and a smallish photo. We're using a layout with a Web Viewer.

Loop through a series of the site. At each iteration, it would be useful to know when the web page is fully drawn before going to the next loop iteration, but for the purpose of this exercise, a pause of several seconds can be used.

Create a new record, and set the Web Viewer to a base url plus a calculation.

Either "Save Records as PDF" or "Print (to PDF)" (or some other method, using native FileMaker Pro (Advanced) 12 capabilities) to save the web page to PDF (or PNG, etc.). I'd like to just save the content area, and not the colored background. When I print in Safari, this occurs, but so far, I've not been able to find a way to do this in FileMaker.

Ideally save each web page to a new file, however "Save Records as PDF" and "Print (to PDF)" from what I've seen so far, only writes to one file (no calculated file name possible). Otherwise, use "Save Records as PDF" with "Append to existing PDF" enabled.

The most important problem I'm trying to solve, is to get the image, while being saved to PDF, to cause the image fit to one page. In Print, I've enabled "Scale to fit paper size" (with US Letter selected), but the some of the right part of the image spills onto another 'page'. Thanks.

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