Jump to content

Single PDF from Multiple Layouts


Digital Life

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

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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