Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Exporting to PDF with multiple print commands

Featured Replies

I need to use a script to print (Unless there's another way that I don't know about), because I'm trying to put in page numbers for each record and for the whole document, and I need to alternate between two reports because of filemaker's 12-page limit. I'd like to be able to print the reports, or export it to a PDF, but I want to export the whole thing to a single PDF, not a new one for each Print[] function. How would I do that?

Here's the script, although it probably doesn't matter.

Enter Browse Mode

Go to Record/Request/Page[ First ]

Loop

Set Variable [ $page; Value:0 ]

Loop

Enter Preview Mode

Go to Layout [ “Report” (Main table2) ]

Set Variable [ $page; Value:$page+1 ]

Set Field [ Main table2::Page Number; $page ]

Print [ ][ No dialog ]

Go to Record/Request/Page[ Next ]

End Loop

If [ not IsEmpty(Main table2::SA overflow) ]

Loop

Enter Preview Mode

Go to Layout [ “Overflow” (Main table2) ]

Set Variable [ $page; Value:$page+1 ]

Set Field [ Main table2::Page Number; $page ]

Print [ ][ No dialog ]

Go to Record/Request/Page[ Next ]

End Loop

End If

Enter Browse Mode

Go to Record/Request/Page[ Next ]

End Loop

Appending PDF is not yet supported. We hope to get this in a future release.

jens

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.