Digital Life Posted November 24, 2006 Posted November 24, 2006 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.
cjaeger Posted November 25, 2006 Posted November 25, 2006 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.
Digital Life Posted November 25, 2006 Author Posted November 25, 2006 That works beautifully. Very clever. Thanks very much. JJ
Digital Life Posted November 27, 2006 Author Posted November 27, 2006 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
Digital Life Posted November 27, 2006 Author Posted November 27, 2006 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
xoomaster Posted November 28, 2006 Posted November 28, 2006 (edited) 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 November 28, 2006 by Guest
Recommended Posts
This topic is 6636 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 accountSign in
Already have an account? Sign in here.
Sign In Now