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.

Single PDF from Multiple Layouts

Featured Replies

I want to create a single PDF of 3 or 4 pages but each page is a different layout. I can script the creation of the PDFs using the right layout. I determine the if it is the first page and print (create a PDF) from that layout. Then I determine how long the page is and print from one of 3 other layouts.But each one of course comes out as a single page document. Is there a way to combine these pages into a single PDF document or better yet any suggestions on how to make a single PDF to begin with even though they come from different layouts?

Thanks in advance.

Script:

Go to Layout 1

Page Preview

Select all

Copy

Browse

Go to Layout "PDFContainers" -- an auxiliary table holding the images)

New Record

(Paste into Container field as big as Page size

Go to Layout 2

Page Preview ...

.... then Save the Contents og Page Containers a PDF.

  • Author

That works beautifully. Very clever. Thanks very much. JJ

  • Author

I spoke too soon. It works if I do it manually but I can't seem to replicate it with script steps. It's like nothing goes onto the clipboard. I've tried Select All and Copy.

I've tried Copy(Select) nothing.

Any ideas? JJ

  • Author

OK I think I've found a bug. Here's part of my script:


Go to Layout ["Page One" (Details)]

Enter Preview Mode[]

Copy[]

Enter Browse Mode[]

Go to Layout ["Print" (Print)]

New Record/Request[]

Paste [select;Print::PageContainer]





This does NOT paste the Page One display into the container field. It pastes the last thing that was on the clipboard into the container field.



But whatever layout I go to next in the script, and copy and paste works perfectly. So in my final version of the script I repeat the steps above and delete the Print record for the first one thusly:





Go to Layout ["Page One" (Details)]

Enter Preview Mode[]

Copy[]

Enter Browse Mode[]

Go to Layout ["Print" (Print)]

New Record/Request[]

Paste [select;Print::PageContainer]

Delete Record/Request[]

Go to Layout ["Page One" (Details)]

Enter Preview Mode[]

Copy[]

Enter Browse Mode[]

Go to Layout ["Print" (Print)]

New Record/Request[]

Paste [select;Print::PageContainer]

The second time through it copies properly and pastes what I want into the container field but the first time through although the steps are identical, the system pastes whatever was last on the clipboard. JJ

My experience has been that in a bussy environment of networked DB ( Copy and paste ) method is often ineffective !! by that I mean one out of 10 times it gives you undesirable effect.

I suggest designing a layout that includes all your elements on one comprehensive layout instead and use that in a PDF export.

Again what do I know :)

Edited by Guest

LOL! I love your location xoomaster.

What can I say : )

Actually it is S. CA ;) )

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.