How do I split each page into a PDF and name them after a line of text on the split page?

All,
I am running a report that is creating hundreds of letters to be sent to customers.  When I run the report it creates one large PDF (one letter = one page).  To help with a specific business solution I need to split each page into an individual PDF.  I know I can extract the pages using the extraction tool.  I have also been able to duplicate this from the Javascript console, but only with generic names.  The problem is that I need each PDF named after the customer's account number.  The account number is listed on the page that I am extracting, but I am having a hard time parsining the text on the pages to find it.
I need to be able to turn each page into a seperate PDF and then rename that PDF to match the account number list on the page.
The account number, is of course, different for every customer and has varied prefixes.  The line of text that I need to read starts like this:
Account Number#: NJA00001
I need to just pull the NJA00001.
I would really love to automate this process.
Can you help me with this?  Thanks in advance.
PS: I am a little rusty on my Javascript, its been a couple years.

This can probably be achieved with a custom-made script, but it's not possible to know for sure before seeing some sample files.

Similar Messages

  • Open all pages in a PDF and save them as sequential files

    I'm trying to make a script that will open all pages in a multi-page PDF and save them as sequential files, but I have had no luck with the simple script in the "Adobe Ilustrator CS5 Reference: JavaScript".
    there example to open a PDF to a designated page does not work for me in Illustrator CS 5.
    // Opens a PDF file with specified options
    var pdfOptions = app.preferences.PDFFileOptions;
    pdfOptions.pDFCropToBox = PDFBoxType.PDFBOUNDINGBOX;
    pdfOptions.pageToOpen = 2;
    // Open a file using these preferences
    var fileRef = filePath;
    if (fileRef != null) {
    var docRef = open(fileRef, DocumentColorSpace.RGB);
    if anyone can get me on the right path it would be appreciated.

    Hi DuanesSFK,
    you can open a PDF page on this way (tested with CS3 and 5):
    //OpenPDFpage2.jsx
    var uILevel = userInteractionLevel; 
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    // Opens a PDF file with specified options
    var pdfOptions = app.preferences.PDFFileOptions;
    pdfOptions.pDFCropToBox = PDFBoxType.PDFBOUNDINGBOX;
    pdfOptions.pageToOpen = 2;
    // Open a file using these preferences
    //var fileRef = filePath;
    var fileRef = File("~/Desktop/YourOwn.pdf");
    if (fileRef != null) {
    var docRef = open(fileRef, DocumentColorSpace.RGB);
    app.userInteractionLevel = uILevel;
    To open all pages you have to loop through all pages etc.
    Easier for you:
    Search here in forum for the "open pdf" script  (I don't know the exactly name, it was written by CarlosCanto, ) This should always work for you.
    Have fun

  • PSC 1210 Mac OS 10.6 Scan multiple pages into one pdf., and ink levels

    Now that I upgraded my Mac OS to Snow Leopard (10.6.8), I have needed to scan on my HP all-in-one psc 1210 either from Preview or from Scan & Fax in System Preferences. Once I scan a page and that page opens up, I AM able to scan additional pages, but each becomes a separate document. The only system driver available from HP is print only and also doesn't include a utility to check ink levels. Can someone help me with these two issues? (1) how to scan multiple pages into a single pdf. doc with my configuration, and (2) how can I check ink levels
    This question was solved.
    View Solution.

    Hi C_Maier,
    I can not see the available options when it is disconnected. A screenshot when it is connected would be best. I have done some research though, and believe the option to select 'save all pages to a single file' may only be available if your printer has a document feeder, and of course as you know, yours does not
    I know with 10.7 and higher the option is there even with flat bed only printers. You might consider upgrading the OS.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How to load file with 500M into noncontiguous memory and visit them

    My data file consist of  a serial of 2d images. Each image is 174*130*2 butes and the total images in the file is up to 11000, which takes almost 500M bytes. I hope to load them into memory in one turn since I need to visit either image many times in random order during the data processing. When I load them into one big 3d array, the error of "out of memory" happended frequenctly.
    First I tried to use QUEUE to load big chunk of data into noncontiguous memory. Queue structure is a good way to load and unload data into noncontiguous memory. But it dosn't fit here since I may need to visit any of the all the images at anytime. And it is not pratical if I dequeue one image and enqueue it into the opposite end, since the image visited may be not in sequential order.
    Another choice is to put the whole file into multiple small arrays. In my case, I may load the data file into 11000 small 2d arrays and each array holds the data of one image. But I don't know how to visit these 2d array and I didn't get any cues in the posters here.
    Any suggestion?
    PC with 4G physical memory, Labview 7.1 and Win XP.
    Thanks.

    I'll try to get the ball rolling here -- hopefully there's some better ideas than mine out there.
    1. I've never used IMAQ, but I suspect that it offers more efficient methods than stuff I dream up in standard LabVIEW.  Of course, maybe you don't use it either -- just sayin'...
    2. Since you can't make a contiguous 11000-image 3D array, and don't know how to manage 11000 individual 2D arrays, how about a compromise?  Like, say, 11 3D arrays holding 1000 images each?   Then you just need ~50 MB chunks of contiguous memory.
    3.  I'm picturing a partially hardcoded solution in which there are a bunch of cloned "functional globals" which each hold 1000 images of data.  This kind of thing can be done using (A) Reentrant vi's or (B) Template vi's.  You may need to use VI Server to instantiate them at run-time.
    4. Then I'd build an "Action Engine" wrapper around that whole bunch of stuff.  It'd have an input for image #, for example, image # 6789.  From there it would do a quotient & remainder with 1000 to split 6789 into a quotient of 6 and remainder of 789.  Then the wrapper would access function global #6 and address image # 789 from it.
    5. Specific details and trade offs depend a lot on the nature of your data processing.  My assumption was that you'd primarily need random access to images 1 or 2 at a time. 
    I hope to learn some better ideas from other posters...
    -Kevin P.
    P.S.  Maybe I can be one of those "other posters" -- I just had another idea that should be much simpler.  Create a typedef custom control out of a cluster which contains a 2D image array.  Now make an 11000 element array of these clusters.  If I recall correctly, LabVIEW will allocate 11000 pointers.  The clusters that they point to will *not* need to be contiguous one after the other.  Now you can retrieve an image by indexing into the array of 11000 clusters and simply unbundling the 2D image data from the cluster element.

  • How to convert cXML dtd files into xsd format and use them into BPEL application

    Hi,
    In my BPEL application I have to use cXML dtd files by converting them into xsd format.
    I have used 'Microsoft Visual Studio' for converting cXML.dtd file into xsd format, for this 1 dtd file I am getting three xsd files (cXML.xsd, cXML1.xsd and cXML2.xsd).
    Please check this once and let me know
    1. why I am getting three xsd files for one dtd file,
    2. how can I use cXML.xsd file in my application, do I ll have to use all the three files in my BPEL app and
    3. what should I include in main xsd file (cXML.xsd) to import other two xsd files.
    kindly check this once and let me know your suggestions .
    Thanks

    Hi,
    While downloading the cXML dtd there will be example xml files. Using this xml's we can generate xsd.
    Regards,
    KANN.

  • I have Adobe Pro 9 and I can't insert pages into a PDF created by Adobe Pro 8

    I've looked at the other discussions about not being able to insert pages into a PDF, and tried all the suggestions, but to no avail. I think the problem is that the original PDF was created in Adobe 8, and I have Adobe 9. When I open the PDF in Adobe Pro 9, the security screen says that editing is not allowed, and the screen is greyed out so that I can't change the settings. When I open the same PDF in Adobe Pro 8, the security screen says "No Security". 
    I also checked the "Documents" screen in Edit -> Preferences, and changing the "View Documents in PDF/A" to Never doesn't help.
    Does anyone have any suggestions?

    That would be a question for Adobe support. Firefox does advise users when their Acrobat plugin is out of date, but the actual update is done by Adobe.

  • How can I merge several docs in Pages into 1 pdf doc.?

    I have created several pages in Pages that will become one report. I have sent each page in an email as a pdf, as well as shared in iworks.com. How do I merge all the pages into one pdf?

    Look at the several pdf readers and annotation Apps. I think several will allow what you want to do.

  • How do I scan multiple pages into one pdf document on a HP Envy 4501 Printer

    My HP Envy 4501 Printer won't let me scan multiple pages into one pdf document.
    I went to "Advanced Settings", clicked on "file" and made sure that the check box next to "Create a separate file for each scanner page" was unchecked.
    When I clicked the Save button it showed the page that I scanned and showed 1/1.  On the right side it had options for changing the brightness and Contrast, Rotate and Crop and "Back", "Save" and "Done" buttons, but nothing about scanning another page.
    Not to mention HP's Customer Support is useless!
    I'd appreciate any help I can get with this problem.
    Thanks,
    Mark

    Hi BH,
    I see your diagram.  I just scanned something.  The screen that I'm looking at right now shows the preview page and the scroll box to the left of that just like in your diagram.  The screen does not show the + button nor does it show the red x button under the scroll box as in your diagram.  I can't see the plus sign because it is not there.
    I tried re-installing the software and drivers as you suggested but that did not have any affect.
    Thank you for trying to help me with this problem but it hasn't worked, therefore I can't mark the reply "Accept as Solution".
    I've noticed that on HP's support forum web page there is only 1 solved request for assistance.  That doesn't give me much confidence in HP.
    Please reply back to this post to let me know if there is anything else that I can try or if you know someone else at HP that can help.
    If I don't here back from you, I'm returning this HP Envy 4501 Printer to get my money back to use it to buy a printer from one of HP's competitors.
    Thanks,
    Mark  

  • How do i scan multiple pages into one pdf file

    How do I scan multiple pages into one pdf file?

    That depends on your scanning software. Adobe Reader doesn't scan.

  • How to scan more pages into one PDF file using hP inkjet 2515

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

  • How do I scan multiple pages into one pdf file using the PIXMA MG7520 on Windows 8.0? Please help!

    I recently received a PIXMA MG7520 for a gift.  It works great with my lenovo laptop/tablet running on Windos 8.0.  The one drawback to the HP all-in-one that it replaced is it does not have an ADF.  That being said, there must be some way to scan multiple pages into one pdf file.  I need help figuring thing out.  Thanks in advance!
    Solved!
    Go to Solution.

    Hi mdtolbert54,
    There is a program that comes with the printer called the IJ Scan Utility that can assist you with scanning multiple pages into a single PDF document.  To do this, please follow these steps:
    1. On your keyboard, press the Windows key.
    2. Start typing IJ SCAN UTILITY. The search window opens as you type. Once the IJ SCAN UTILITY is displayed, please select and open it.
    3. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    4. Click the DOCUMENT SCAN option on the left pane of the window.
    5. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
    a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.
    b.) In the DATA FORMAT field, use the drop-down arrow to select the PDF (Multiple Pages) option. 
    c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the MY DOCUMENTS folder.
    6. Once all settings have been selected, click the OK button at the bottom of the window to save the changes. The IJ Scan Utility main screen appears.
    7. Click the DOCUMENT button. Scanning starts. Click the CANCEL button to cancel scanning if needed. Scanned items are saved in previously selected folder location specified in the SETTINGS... window.
    If you find that you need advanced scanning options such as adjusting resolution, brightness, contrast, saturation, color balance, etc. in addition to the options selected above, please click on the SCANGEAR button on the IJ Scan Utility Main screen, then adjust the items as necessary.
    Once the items above are set for document scanning, in the future, you will only need to launch the IJ Scan Utility, then press the DOCUMENT button to perform the scan (unless you want to make changes to the settings).
    Hope this helps!
    This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How do I convert a word document into a pdf and then upload it to a web site

    How do I convert a word document into a pdf and then upload it to a web site so people can read it from my
    site with Dreamweaver 4?. How can I do this? Can anyone please help? I'm only a newbie. Thanking you in anticipation.

    First you need to install a means of printing to pdf from word.  I like cutepdf writer ( http://cutepdf.com/Products/CutePDF/writer.asp ).  Once installed you will print the doc in word and under the printer selection you choose pdf.
    Once you have the file you put it in your local site folders and upload it using Dreamweaver.  Be sure to link to it from a page so users can get to it and I would recommend giving the link a target of _black so it will open in a new window (see the properties inspector in DW).

  • Acrobat X Pro makes text disappear from a page when I insert that page into another PDF

    I printed a single page Microsoft Project schedule to PDF using Acrobat X Pro.  All good.  I then inserted that one page into another PDF document using Tools/Insert Pages/Insert from File.  Much of the text in the inserted page goes missing after inserting that page into the other PDF document.  How do I prevent this disappearing text problem?

    Does the inserted page have a lot of markup? I do not think the markup will insert.

  • How to download a DVD movie into Premiere Elements 12 using my MacBook Pro so I can edit the video?

    How to download a DVD movie into Premiere Elements 12 using my MacBook Pro so I can edit the video?

    Bob Perez
    Please review and consider the following which works for me in Premiere Elements 12 Window 64 bit.
    From what you wrote, I suspect that you have DVD-VIDEO widescreen on DVD disc. For now I will assume that you are working in a NTSC setup.
    Premiere Elements DVD-VIDEO on DVD disc is characterized as interlaced video with field order lower (bottom) field first. I am not sure how your DVD-VIDEO on DVD was produced - upper (top) field first or lower (bottom) field first. We may have to apply Field Option Reverse Field Dominance at the Timeline level, but for now let us put that aside for a later time.
    Insert your DVD disc in the DVD burner tray.
    Open Premiere Elements to the Expert workspace and set the project preset manually for NTSC DV Widescreen. How to details for manual project preset setting are found
    ATR Premiere Elements Troubleshooting: PE11: Accuracy of Automatic Project Preset (New Project Dialog) Setting
    Then, Add Media/DVD camera or Computer Drive/Video Importer.
    The video files from the DVD-VIDEO will be the larger size files and will probably start with VTS_01_1.VOB.
    In the Video Importer designate the save location for video file VOB(s) and select Add to Timeline and hit Get Media
    to put the files on the Timeline for editing.
    If you have more than one DVD disc to "rip", please set up the Video Importer Save In location so that the save in location has a folder for each disc. The fact that all DVDs have the same VTS_01_1.VOB name etc will cause problems if you saved all to the same place as individual files.
    Determine how that works for you in your Mac computer environment. We will be watching for your progress.
    Others may tell you that you need to convert the VOB to another format before import into Premiere Elements. That is no necessary for Premiere Elements.
    Thank you.
    ATR

  • I am new to pages and want to know how to link elements together to create one unified element that I can then duplicate several times on the same page?

    I am new to pages and want to know how to link elements together to create one unified element that I can then duplicate several times on the same page?

    I think you are talking about grouping objects.
    1. They must all be floating objects
    2. Command click on each in turn
    Menu > Arrange > Group
    Peter

Maybe you are looking for

  • Error in creating a procedure

    Hi all,when i am trying to create the below procedure i am getting error.Can someone suggest where am i doing wrong SQL> ed Wrote file afiedt.buf   1  CREATE OR REPLACE PROCEDURE XXC_MTL_TRANSACTIONS(file_number IN VARCHAR2) IS   2    --process_flag 

  • HP Officejet 4620

    I am wondering how to I connect the printer to my laptop so I can print stuff off from there. I have already connected it to my PC and it works there but not on my laptop.

  • How do you make a contact photo bigger?

    When I select a person in my contact list, it shows a little picture, name, phone number, etc. The pictures are too small for me to see. How do I make the pictures bigger? I tried tapping on the picture, doing the two-finger motion to zoom in, etc.

  • Artwork problem with imported CD

    Hi everyone. I just noticed that each time I import REAL CD's (i usually add .mp3 or buy it on iTunes Store) i can't change the artwork. There's no picture and it says i can't modify it. Any help ? Thanks.

  • Change log-in language to default language (English)?

    My log-in language is Korean but my default language is English. The log-in language used to be English but it suddenly changed back to Korean? Is there a way to change my log-in language to my default language? I tried re-installing Mavericks and ev