Create Multiple Saved PDFs

Each Month, I need to prepare forms for our payroll guys for each of my 40 team members.
I have a pdf form which I call Master Form.pdf. I also have data that needs to go in the form in a tab-deliminated text file (I use excel to save data in this file).
At present, I need to open the Master Form.pdf and select import data option and then individually select one row at a time.
After selecting the row, I flatten the page and save it as "team member + yymmdd + advance.pdf".
This is very tedious. Is it possible to write a script which will:
a.     open my “Master Form.pdf” and “Data.txt”;
b.     selects each row that has Y entered in first column;
c.     enters data in the file;
d.     Flattens the page;
e.     saves it in a preselected location, in a new directory of todays date yymmdd format with file name as team member + yymmdd + advance.pdf
Many thanks for your help!!!

Most of this is possible. Here are some pointers:
For A, open the data file and read from it using the importTextData method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.502.html
This needs to be run from a privileged context, so it would be best to set up a folder-level JavaScript file for this.
For B, you would have to check the form field that's populated with the corresponding field in the data field to see if its value is "Y" and extract and save to a new file using the doc.extractPages method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.465.html
This too needs to be run from a privileged context.
For C, this will happen automatically as you loop through the records in the data file using the importTextData method in step A.
For D, use the doc.flattenPages method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.466.html
To make this easier, you can in step B spawn a template to create a new page and flatten it and then extract the page to a new file. See the template.spawn method for more info: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.1216.html
For E, that would be part of the doc.extractPages process, although it will not let you create a new folder, so you'll have to save to an existing one.

Similar Messages

  • Apple Preview, creating multiple page PDFs

    I often need to create multiple page PDF documents by using either existing images or by using a scanner. Is there an easy way to so simply choose multiple files in the finder and right-click "Create PDF from files"?
    We have:
    - Compress 2 items
    - Rename 2 items
    - Burn 2 items to disc
    How about
    Compress items
    2
    Rename items
    2
    Burn items
    2
    Create PDF from items
    2
    I also noticed that the cover page mostly is full size and the sup pages of the created PDF document contains a white border. Is this the printer margin that is automatically assigned to the sub pages?

    Yes, and another automator for opening the sidebar automatically if a PDF contains at least 2 pages.
    THANK YOU ... my Apple computer is not dumb.

  • How to create multiple editable PDFs from data merged Indesign file

    Hi
    This is quite complicated but I'm hoping someone can help me and hoping I can explain it too!
    I am working on a project for a client. She wants to send 150 people a 6 page PDF with fields to complete and return to her.
    She has an Excel spreadsheet with some of the fields completed already so these will be Data Merged into InDesign CS6.
    The short version of the question goes like this:
    Can you automate the process so that once all the data is in the InDesign file, it can then create a PDF every 6 pages all in one go?
    For those still interested, the long version of the question goes like this:
    I have created 3 pages in InDesign with fields to complete and used the 'Data Merge' facility to add the Excel info.
    I have created 3 more pages with blank fields to fill in.
    Then I have made all fields editable using the 'Buttons and Forms' facility in the Interactive menu.
    Then I have created an interactive PDF. Then I have opened that PDF in Adobe Acrobat X Pro and saved it as 'Reader Extended PDF' and 'Enable Additional Features'
    I now have an Editable PDF with half the fields filled in and half blank to be filled in and this can be saved and returned.
    Now, this would be great if it was only one or two. But I need to create 150 different versions and this is just for the Pilot study. If all goes well, this will go to 5,000 people and I can't be creating 5,000 seperate PDFS!!
    At this stage, I am just focussing on the 150. So again, going back to the original question, is there a script that could be written either to break up the 1st PDF every 6 pages into 150 different PDFS? Is there even a way of extending that script to Save as Reader Extended etc? Is there a simple idea that I'm missing? Are there any ways to do this? I can use 'Created Merged Documents' to make 150 x 6 pages in Indesign so can anything be done from there?
    Any advice greatly appreciated
    Thanks
    G

    Hi Akash,
    1) Pass the three header data in header table. 2) Pass all the item data in item table. here explain where you struck.
    Regards,
    Madhu.

  • How to create multiple page pdf file

    Hello,
    Sometimes I need to create multiple (more precisely double) page pdf file from another pdf file to reduce the printing cost of the document. For this I crop the single page document and then print it in a double page pdf file (in landscape).
    But I am still facing a problem in this regard. When I make a double page pdf the gutter (distance between two pages, left and right) is more than 1.5 inch. This is a great problem. Can anyone tell me how to reduce the gutter when making a double page pdf file (don't just suggest to crop the single page pdf, i tried this as well, I cropped using the feature "remove white margin" but still there is more than 1.5 inch between two pages)
    Please help me.
    Thanks in advance.
    Regards
    mathmad

    When you print, select the printer properties for the Adobe PDF printer. On the layout tab is an option for the number of pages per sheet. In some versions it is listed as multi-up as I recall. I did not say to simply print from the 2-up display. It is a printer option, not a display option.

  • Creating Multiple Page PDF Documents

    I am not sure how to creat a multiple page PDF document.

    Hi...
    There are two ways... i think the Help offers one solution, else do a search on Google (that's how i figured it out).
    Alternatively, there's a plugin you can buy called 'Multipage'... just do a search for it...
    JJ

  • Create multiple paged pdf, ran out of room?

    I'm trying to create a 19 page pdf in AI, but it will not let me. Is there some way to resize the canvas, or something? I need 19 letter sized pages but it won't let me create them. Thanks for any help

    It is probably because you are trying to arrange the artboards in a straight single row and you have run out of canvas space on the right side. if you cgose a different configuration you will be able to do what you wish to accomplish.
    The way you can accomplish what you wish is to create one artboard move it to the left then in the artboard panel choose duplicate artboard 18 times.
    The other way is make a letter size rectangle and move that to the left of the canvas and then use the Object>Transform>Move (Copy) and then the Command D to make 19 rectangles or use the Effect>Distort and Transform>Transform move the rectangle the width of the rectangle plus extra for the gutter and choose 18 copies then expand the appearance select all the rectangles and go to Object>Artboards>Convert to Artboards.
    Otherwise you are just going to get this message.
    Then make a template.

  • How to create multiple page PDF from multiple jpg images?

    I have three jpeg images with pixel dimensions 1008 x 1464. I wish to create a PDF file with one image per page. Apparently Preview previously performed this function, and this functionality was deliberately removed by the time of Mac OS X 10.6.
    I use Mac OS X 10.6.8. I have combined the images via Gimp into one jpeg image of size 1008 x 4392, but it would be better if I could create a PDF file. I have been unable to figure out how to do this via GraphicConverter, which trial version constantly displays the 30 second "buy me" window before loading -- annoying: I once accidentally opened it, and it would not let me close the application until the "buy me" window finished...
    I have been able to create a PDF file through the action of "printing" (cf. https://discussions.apple.com/message/12395021#12395021), but that reduces the image size and creates a white margin around the images (as if printing on a sheet of paper), which I wish to avoid.
    Thank you for your time and help!
    Message was edited by: ethereality -- added another "workaround" attempt

    I drag and dropped from Finder into TextEdit, and it only copied the file path as text. From what software would I drag the images into TextEdit?
    First, set the TextEdit document to Rich Text Format - you can do that via the Format menu in TextEdit. This will allow the inclusion of pictures.
    Then you can either -
    • Drag an image file into the TextEdit window, and a preview-sized image will be inserted. If this is too small for your purposes -
    • Open the image file in Preview (or an image editor, if you choose), size the image to your liking, press Command-A (Select All) and the press Command-C (Copy) - doing this will place a copy of the image on the Clipboard. Then switch focus to the TextEdit document and press Command-V (Paste). This will place a large-size image of the file.

  • Printing a contact sheet from multiple saved pdf drawings

    How can I print a gridded contact sheet of several drawings I have saved as PDF's?  They are all in separate files but I need to present on one sheet of paper.  Seems like this would be easy but I can't figure it out.....

    I would post to the Photoshop Elements Forum, as it has several features that are either not in Photoshop, or work differently. Folk in that forum will know exactly what you will need to do.
    Good luck,
    Hunt

  • Using data from a spreadsheet, how can I create multiple completed PDFs from a form template?

    Note that I am completely new to adobe acrobat.
    I have a form template for a completion certificate for students who take a summer workshop where I'm working. It includes data such as their name and the program they completed. I have all the necessary information for each student in an excel spread sheet. Rather than sit here and enter data into the form 300+ times, I want to automate the process. I'd like to be able to specify the spread sheet and either have acrobat just print out all 300, or save them as seperate files so I can print them easily.
    Thanks for the help!

    Thanks for the response! I'd be interested in writing a script for it (I've actually been researching it a bit already). I'm completely new to Javascript (and scripting) but have a fair level of experience with c/c++ so I feel it shouldn't be too bad. I'll ask here for now, just let me know if I should ask a new question on the scripting forum instead.
    I've looked at the Acrobat JavaScript API Reference (http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf) a bit but am having trouble finding a way to read the spreadsheet's data in (I was planning on using a csv file). I found Doc.importTextData(), which can parse a tab delimited file and from the sounds of it fill in the forms automatically (though I would much prefer a c style file interface that lets me write the parsing logic). Every time I try to call importTextData it returns -1 though, which means "Warning: User Canceled File Select". When I call it direct from the JavaScript Debug Console I just get a -1, but when I have it execute when I save I get "NotAllowedError: Security settings prevent access to this property or method.". I did a bit of research on that and modified my script to look like:
    Autofill = app.trustedFunction(
        function ()
            app.trustedFunction(importTextData);
            app.beginPriv();
            var result = this.importTextData("test.csv", 0);
            app.endPriv();
            return result;
    I've also tried running Acrobat as an administrator, but I still get the same error. I could just not be understanding privileges correctly.
    My overall plan was:
        for each row in the spreadsheet
            - read the row in from the file
            - fill out the fields in the PDF using the read data
            - save the file with a new file name.
    If there is a better method to do this, just let me know.
    Thanks again for your time!

  • Using HP Scan Pro 7.4.5 To Create Multiple-page PDFs

    I can scan in the first page fine, but when prompted as to whether I have any further pages of my document to add, HP Scan Pro won't give me a preview of subsequent pages.
    Any tips?
    Andy

    It's not just a Final Cut Pro issue. It's iMovie as well. And it's the same component. Here's the crash log for iMovie, and it's the same in FCP.
    QuickTimeImporters.component
    Does anyone know what this is, and how to fix it?
    Date/Time: 2009-01-24 18:21:23 -0800
    OS Version: 10.3.9 (Build 7W98)
    Report Version: 2
    Command: iMovie
    Path: /Applications/iMovie.app/Contents/MacOS/iMovie
    Version: 3.0.3 (3.0.3)
    PID: 680
    Thread: Unknown
    Link (dyld) error:
    dyld: /Applications/iMovie.app/Contents/MacOS/iMovie Undefined symbols:
    /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTimeI mporters undefined reference to _QTGetMovieSecurityPolicy expected to be defined in QuickTime

  • Multiple page PDF's for iTunes playlists

    In the past I've been able to create multiple page PDF's of playlists, but for some reason in iTunes 10.1 it will only show me the first page. At the bottom of that page it'll say page 1 of 10, but the other 9 pages do not appear in the sidebar. I also know it's not generating multiple pages because when I save it to the desktop it appears instantly instead of taking a few seconds to process many pages.
    Anyone else having this problem? Anyone have a solution?
    Thanks!

    When you save a PDF out of Illustrator and turn Illustrator editability on, what do you think Illustrator should do? It can only save content in its native format. For version CC, this is Illustrator CC. Illustrator CS6 doesn't know CC, so can't open it. Instead it opens the PDF part of the file, which happens to be mutliple pages.
    If you need to establish this kind of workflow, you need to make sure, everyone uses the same version.
    Understanding Illustrator's file formats is crucial:
    Real World Illustrator: What's in a file?

  • Multiple page PDF source in Bridge CS5

    [X-posted from CS Windows]
    Hello,
    I am using  Bridge CS5 on Windows to create multiple page PDFs from source PDF and  PSD files. I can create multipage PDFs from a number of single-page  source files, but when a source PDF has multiple pages, only the first  page of the source PDF appears in the final PDF. Bridge recognizes that  the source files are multipage in the preview window (the multipage PDF  appears as a single page in the preview window, which can be paged  through), but it silently omits the extra pages in the final product.  How do I get all the pages to show up in the final PDF?
    TIA,
    Michael

    I have seen the answer for this in the past 8? months, but can't remember the exact details on how to get around it.  If my memory serves me correctly Bridge sees the mullti page PDF as one document which causes the problems you encountered.

  • When saving a File OS Is Creating Multiple Folders With The Same File Name

    Not sure what I changed but, now when I save a any file (ppt. word, Keynote,Pages e.g.,) to the desktop or any other location the OS will also create multiple file folders with the same file name as the file I'm saving. Inside the folders are what appears to be files locating the saved files. What can I do to fix this problem?
    I'm using the 10.7.2 version
    MacBook Pro

    Misio wrote:
    It looks like a finder bug. To replicate, I surf to any website, I right-click on a jpg image, select "Save Image As" and in the window that pops up I type in the filename "000.jpg", I select the folder Pictures, and click on Save.
    BTW, I don't know why, but the file was saved only as "000" without the file extension ".jpg". Does anybody know why?
    the extension is simply hidden. go to the get info panel for the file and uncheck the option to hide the extension.
    Then I surf to another image, and again I save it as "000.jpg" and now it asks me if I want to replace the existing filename, although the existing one is "000" and I try to save as "000.jpg", so I say yes, and then magically the file is saved with the full filename including the extension "000.jpg"
    When I did it a couple of times, always saving image as "000.jpg" from various sources, I ended up with two distinct files named "000" and both in the same folder Pictures.
    Please advise.
    it sounds to me like you saved one file as 000.jpg and the other and 000.jpg.jpg.
    check the info panels for the files for full names to verify if this is the case.

  • Can't create a multiple file PDF from PDF forms created in Designer

    Hi
    I want to create a single PDF which combines 6 pdf forms created in Adobe Designer (all as separate pages).
    When I try to create a single PDF from these multiple files using the "Create a PDF from Multiple files" command, my A-3D won't let me do this returning a dialog box saying
    "The file "filename.pdf" is protected. It cannot be used for this command".
    I can't find any properties that control this, either in the original file or in A-3D. Can I overcome this and how?
    Many thanks in anticipation.
    Phil

    Designer-created files aren't really PDF files any more and cannot be
    edited or combined in Acrobat (including Acrobat 3D). You CAN make a
    package of them, however, in Combine Files.
    Aandi Inston

  • Unable to mark the box 'create Multi-page PDF from page tiles' when saving to pdf-file

    I am running Illustrator CS3 on a Mac OSX 10.5.8
    I want to print a very large illustrator-file (1000 mm x 900 mm) across mutliple pages of A4-paper (5 x 5 sheets of A4-paper) by saving the file as a multi-page pdf file.
    I first followed the instructions provided here:
    http://helpx.adobe.com/illustrator/kb/create-mutli-page-pdf-illustrator.html
    When I then tried to save the file: -> File -> Save as -> 'choose .pdf from drop-down menu'
    I get to this menu:
    I am unable to mark the box that says: 'Create multi-page pdf from page tiles'. I have made a red arrow pointing to the box I want to mark.
    I have tried changing the other drop-down menus inside this menu, to see if the box I want to mark could become available, but without any luck.
    I am not sure what I am doing wrong. I would be grateful if anyone could help me set my settings right to allow me to create such a multi-page pdf-file.
    Thanks in advance for your help

    Your ps file should be good, the problem likely resides elswehere. Maybe in your acrobat install, distillers settings. what error did distiller give?
    Mine ran good and got a multi page document, here is a screenshot to help you troubleshoot.
    On mac go to system preferences / print and fax / and change your default printer if you have another option. I know sounds like this should not help, but there are problems like Illustrator for example not making .pdfs if you do not have a printer chosen or an old or corrupt .ppd assigned.

Maybe you are looking for

  • IPad 2 icons go missing from desktop on rotating basis

    As stated, iPad 2 icons go missing from desktop on rotating basis. My iPad was new as of Xmas day. I have NOT synced to iTunes (I don't want to at this time) and I have NOT upgraded the software to iOS 5.0.1 (still on 5.0). I have downloaded about tw

  • Encoding error occurs using parameter "default path for scripts"

    Hello, assume we have a script "/home/artur/tymczasowe/test.sql". I can execute it using SQL Developer by: @/home/artur/tymczasowe/test.sql Everything works as expected. Then I set parameter "Tools - Preferences - Database - Worksheet - Default path

  • Need help placing images on separate layers

    I'm a novice to Javascript but I've been trying to learn. I have a project where i need to place muliple images from a folder onto separate layers (same page) in a template. I tried to modify "ImageCatalogue" script within InDesign to disastrous resu

  • How to make layer shake

    Hello guys, when I need to make my layer shake like earthquake, I select desired layer, turn "record button" on, hit play, click and hold on the layer and rapidly move it to every direction, recording that motion. Tens and hundreds of keyframes are r

  • Errors with the global conversion rule

    Hi Guys, When I activate the DSO,I get an error "Errors with the global conversion rule".I applied OSS note 1387854.But the problem still persists.I did not find any replies on SDN for this error,so posting it again. If anyone knows how to proceed,pl