HELP:Merging External File (JPG/PDF) into XDP/XML Merged PDF on Client

I need some serious help pointing me in the right direction.
What I have...and is working:
I have an Invoice Template/PDF/Form created by LiveCycle with form fields.  When requested by the user, in real-time I send XML from my server that is merged with the PDF template to create a single PDF file with multiple pages of invoices.  Each invoice fits on one page.  Works great...technically I think this is called or used XDP to merge the two on the client computer with a PDF and XML being supplied by the server.
The server is just a generic Unix/PHP/MySQL environment...no Adobe products are installed (or can be installed on that machine).  I rely entirely on the client's computer to assemble and create the finished PDF.
What I NEED:
So the client is now asking that I be able to insert receipts into the invoice PDF stream.  So in order words you would still have the invoices above, but if we happen to have scanned receipts for a given invoice, they want those embedded into the PDF.  A finished product would look like:
Page 1 - Invoice 00001
Page 2 - Receipt #1 for Invoice 0001
Page 3 - Receipt #2 for Invoice 0001
Page 4 - Invoice 00002
Page 5 - Invoice 00003
Page 6 - Receipt #1 for Invoice 0003
etc.
Can someone point me in the right direction to make this happen?
Perfect world, I would like to have the invoices be actual images of the receipts (assume we need to have a JPG or PDF scan of the receipt)
Okay world, I guess we could just attach the actual document so if it is XLS, DOC, PDF...etc...I don't need to convert...just attach.
Last choice, I could just include hyperlinks back to our server for the client to click on and open the receipt document as we store it.

From your post it sounds like you are Central Pro (a product for which I am by no means an expert), but you say you want to upgrade to a newer product from your "legacy" one. Is there a reason for this? Have your requirements change so that it no longer fits them? Central is still in the current Adobe roster and as far as I know there is no plans to get rid of it any time soon, so if it does everything you want I don't see why you would want to change.
There is no product in the LiveCycle suite that merges xml data into a form from the command line. LiveCycle (with the exception of Designer) is a suite of server products, so the closest you would come is LiveCycle Forms (merge the xml and create a fillable PDF) or LiveCycle Print (merge the xml and print the form).
Hope this helps somewhat.
Chris
Adobe Enterprise Developer Support

Similar Messages

  • Combining Contents of 2 PDFs into a single page PDF

    I need to combine elements of two different PDFs into one, single page PDF.   
    One PDF is Template of sorts with headers to be edited, the other PDF is a non-ocr scan that includes text and images.   
    I've found no way to copy and paste on a single page b.t two PDFs. I've tried pasting into an inserted page and then dragging it up or cutting and pasting within the document (with the intention of deleting the unneeded second page) with no luck.
    This seems like it should be such a no brainer. Open 1st PDF, Open 2nd PDF, make selection Ctrl C, go to 1st PDF, place cursor where desired, Ctrl V.   But it doesn't work at all in an intuitive way like any other document program where you can cut and paste with ease b/t documents and even b/t programs.
    So instead, I've copied the part of the image PDF I want into the original word doc of the template, then created a PDF from that.  However, when I try to tell Acrobat to make the entire document OCR, it tells me it can’t b/c it contains renderable text (the header information, I’m assuming).  If I run the OCR on a PDF containing just the image, it does it no problem.   
    What is the best way to bring these two documents together in way that results in a single page, completely searchable PDF? 

    Unfortunately, another $700 software purchase is not in the cards and I can’t wrap my mind around why it should be necessary.  It seems so nonsensical to me that Acrobat has all these advanced functions for editing, combining, making portfolios etc., yet can not perform the simple task of cutting and pasting between two documents.
    While Adobe support was putting me on hold, I doodled up some generic sample documents that I could upload here to illustrate the problem. Hopefully, someone can play with these and give me a workable solution.
    The first PDF, Original Acme Clip, represents the file that is provided to me by our clipping service. They cut the item out of a magazine, put the customized info into their standard template in whatever word processing program they use, printed it out, pasted the magazine clip to that page and then scanned the hard copy to PDF-as an image only PDF, it is not optimized for optical character recognition and is not searchable.
    The second PDF, Final Acme PDF, represents the file that our workflow eventually ends up as-a PDF containing only the info we want, formatted as we want, in which both the headers and clip content are searchable. To get there currently, we print out the Original ACME Clip, type the relevant info into the headers of a Word template that includes our logo and standard footer, print out the Word template page, manually cut out the scanned image from the PDF, and paste it onto the template paper.  The resulting paper is scanned into the Final Acme PDF and OCR is run on the whole thing to make it all searchable.
    What we’d like to do is skip all the printing, and manual cutting and pasting. Any and all suggestions for work in Acrobat 9 Pro to do this would be gratefully appreciated!

  • Runtime Error For Converting Static pdf to Dynamic Xml Form pdf

    Hi All,
    I am converting my static pdf to dynamic xml form pdf using Adoble Livecycle Designer ES 8.2 it is giving runtime error dialog.
    My static pdf size is 12MB and it contains 46 pages(mostly all pages will have images). Do we have any limitations for converting static pdf to dynamic xml form pdf ?
    Error message image file is attatched to this thread.
    Can any body please help me on this.
    Advance Thanks
    Prasad Sagala

    Hi Paul,
    With out dividing into smaller chunks, Do we have any other alternative?
    Because in my other pdf reports having more than 50 pages (in between 100-600). If i want do divide smaller chunks it will be the long process.
    Thanks
    Prasad Sagala

  • Can you merge 2 single-page PDFs into 1 single-page PDF?

    I'm not having luck adding text with line breaks to a pdf, as apparently the Text Box tool does not like line breaks. So I'm wondering if I can take a pdf with the text I want, which is a full paragraph and merge into another pdf of my company letterhead. (I cannot recreate the letterhead as I paid a company to make it long ago. Nor do I have the tools or expertise to do so.) So if I strategically place the text I want in the first pdf in such a way as to not overlap the graphics on my letterhead, can I merge two pdfs into a single page where the data on the pdfs overlaps each other?

    Hi WillCD,
    Yes It is possible to copy that paragraph by selecting text and then paste that paragraph to your company letter head pdf.
    and no you can't merge two pdfs in such a way that it overlaps the data of resultant pdf.
    Does that help? Please let me know if i have misinterpreted your issue or if you need any further assistance.
    Regards,
    Rahul

  • How to read XML file and write into another XML file

    Hi all, I am new to JAVAXML.
    My problem is I have to read one XML file and take some Nodes from that and write these nodes into another XML file...
    I solved, how to read XML file
    But I don't know how to Write nodes into another XML.
    Can anyone help in this???
    Thanks in advance..

    This was answered a bit ago. There was a thread called "XML Mergine" that started on Sept 14th. It has a lot of information about what it takes to copy nodes from one XML Document object into another.
    Dave Patterson

  • PDF into Smartforms or Convert PDF into BMP

    Hello,
    we have an 4.6c System. I have an PDF Document. The Content is a signature.
    Now i want import the PDF document into a Smartforms.
    How can i import this automatically? => Not on dialog.
    Background: the man to sign on a touchpad. it create a pdf document with the signature. Now i catch me the document and would like insert the signature into the smartforms "shipping ticket".
    can anybody help me? Is it better convert the pdf into bmp? And then yes, how can i convert pdf into bmp.
    Thanks !!!!
    Message was edited by:
            DDC

    ABBY RE
    I'm not one to spend money when it is not necessary.
    Try deskUNPDF for Mac as suggested. As I said you can do a few trials per document. You won't know if you don't try. If it is only text then it probably would do fine. However you need to look at the different things you want to convert, try it out and see if it does the job. Warning: The limit in the trial is 4 single and separate pages per document so you may need to divide you document into smaller documents. If it is not doing what you want then maybe Adobe Writer is what you need, particularly if you do a lot of PDF conversions.
    As a basic document converter I would certainly use it again. I have to say I have come across a lot of useful freebie info and good software sites in this forum.
    dcm18

  • StreamServe:  xdp + xml data -- pdf

    We have on the Adobe LiveCycle LCPP product installed. We want to use .NET to merge an xdp and xml file to create a pdf. This URL makes us wonder if we can do this with our existing software.The URL shows this service call
    outputClient.Endpoint.Address =
    new System.ServiceModel.EndpointAddress("http://172.20.148.143:8080/soap/services/OutputService?blob=mtom");
    The question is what Adobe product exposes this "Outputservice"?
    TIA,
    Bill

    Ok I was able to resolve it after spending 2 days on it.
    I had to delete the set operation and recreate the set operation to make it work.
    Not sure why ? but is this set operation results cached somewhere ?

  • Can I insert a 3D-PDF into an existing 2D-PDF?

    I don't mean to add a page to the existing PDF (2D) but inserting it somewhere "on top" of the PDF page.
    I have a PDF file with the three orthogonal dimensioned views of a solid model. Now I want to insert on the corner of the 2D drawing the 3D-PDF file.
    Thanks.

    Hello Erich,<br /><br />Here are some tips that I have found.  Unfortunately, big assemblies will just not work yet. You are better off having multiple 3D views displaying smaller subassemblies instead of trying to view the top level assembly.<br /><br />- Greg<br /><br />- For your final PDF file, do a "Save As".  I took your file and did a save as, the file size went from 2.69M down to 1.39M.  This often occurs when you have been editting the PDF file and happens in many applications, not just Acrobat.<br />- Don't worry as much about the u3d size as the PDF size.  Acrobat will compress the u3d file when on insertion.  I saved off the assembly from 3D Toolkit as a u3d file and it came out as being 5.35M.  After inserting the u3d file into a blank PDF file and doing a save, the PDF file with u3d inserted was just 1.94M.<br />- Depending upon the CAD app, you can reduce the size of the file by turning down the surface rendering smoothness in the CAD app before converting it to a u3d file.  Since Acrobat often uses the existing display lists in the CAD file or (my guess) uses the CAD render smoothness factor on convertion, any reduction in the CAD app will help later on.<br />- Also in the CAD app, try simplifying the models.  In many cases, you do not need cosmetic features such as threads on screws or supressing fillets will dramatically reduce the file size. <br />- For faster view dynamics, you can force the render mode to just show bounding boxes.  I have some code below which you add to you default javascript file.  You may want to add a custom menu item to turn the mode on and off.  The only problem is that lag while looping through all the meshes.<br /><br />myMouseHandler = new MouseEventHandler();<br />myMouseHandler.onMouseDown = true; //this prop is true by default<br />myMouseHandler.onMouseUp = true; //this prop is true by default<br />myMouseHandler.onMouseMove = true;<br />myMouseHandler.old_mode = scene.renderMode;<br />myMouseHandler.onEvent = function(event)<br />{<br />     if ( event.isMouseDown ) {<br />          this.old_mode = scene.renderMode;<br />          for ( i=0; i<scene.meshes.count; i++ )<br />          {<br />               scene.meshes.getByIndex(i).renderMode = "bounding box";<br />          }<br />          <br />     }<br />     else {<br />          if ( event.isMouseUp ) {<br />               scene.renderMode = this.old_mode;<br />               for ( i=0; i<scene.meshes.count; i++ )<br />               {<br />                    scene.meshes.getByIndex(i).renderMode = this.old_mode;<br />               }     <br />          }<br />     }<br />}<br /><br />//Register the handler and turn the mule on<br />runtime.addEventHandler(myMouseHandler);

  • Encode a PDF into base64 xml

    Hi Pal,
    There is a requirement to generate an Adobe Form using SAP Interactive forms, and then, send this PDF to a non-SAP system using Base-64 encoding. The receiving system will decode this file.
    I have heard that this could be done in the PI layer, using the Conversion Agent.
    Another approach which I can think of is convert PDF to binary and then use the cl_http_utility=>encode_base64 to convert binary to base64. howvere, I am unaware of how to convert PDF to binary.
    Could someone guide me thorugh this please?
    Thanks,
    Preethi.

    To convert a spool into a binary table, take a look here:
    http://wiki.sdn.sap.com/wiki/display/Snippets/Convert%20Smartform%20to%20PDF%20format?bc=true
    I've done a similar scenario, and i've developed the conversion on Abap side, with cl_http_utility=>encode_base64 method into an xstring field.
    In your case, there's the Adobe I Form, than you need to save PDF file in a system's directory, you need to read the generated file, encode, and than send out.
    You can also use Conversion Agent, and do the conversion in PI system.

  • Scripting a file name change as a data merge element.

    My goal of the work being done with InDesign is to utilize the Data Merge functionality of InDesign and the, already available, ability to create a new document per record in your data source where the docuement name is changed based on data contained in the data source.
    A very simple example of this would be the following:
    EXAMPLE
    ======================
    Given the following data source in excel:
    First_Name
    Last_Name
    ResultingFileName
    George
    Smith
    c:\A45.pdf
    Mary
    Lopez
    c:\C99.pdf
    Steve
    Barns
    c:\tmp\XM96TR.pdf
    Along with a simple two text box InDesign documents, I would perform a standard data merge with First_Name linked to one text box and Last_Name linked to another.  By setting the “Record Limits Per Document” to 1, I would end up with three different documents.  By default, the documents would be named Untiltled-1, Untiltled-2 and Untitled-3. 
    Untitled-1 would contain George and Smith.  Untitled-2 would contain Mary and Lopez and Untitled-3 would contain Steve and Barns.
    At this point in time, I would run the new created script, which would do the following:
                Rename Untitled-1 to A45 and/or save Untitled-1 as C:\A45.pdf
                Rename Untitled-2 to C99 and/or save Untitled-2 as C:\C99.pdf
                Rename Untitled-3 to XM96TR and/or save Untitled-3 as c:\tmp\XM96TR.pdf
    I am open to modifying the manner in which the data merge source is created.  For example, separating the path and the file name into separate columns.  In addition, I am flexible in putting preset information and/or file save types into the data merge document.
    Please feel free to contact me directly at [email protected]
    Thanks in advance for the help.
    Matt

    Hi Matt,
    I think it’s better to use an XML-based approach for your task.
    I’ve never scripted Data Merge process, but I don’t see a straightforward way of doing it. May be you can create the 3rd textbox on pasteboard or a non-printing layer, which will contain the file path from ‘ResultingFileName’ field, and the contents from which can be used for naming & saving the current file and exporting it to pdf-file. But this approach is so clumsy.
    Instead, you’d better to keep your data in excel file, or even better Access or some other database program.
    Export the data from it in XML-format.
    Then import it to an InDesign file and process it by script. XML support is very powerful in InDesign: you can process your data by xml-rules. I once made a script for a newspaper, which processed data for classified ads. The script applied all formatting, changed colors for different headings and placed images.
    Kasyan

  • How to slipt  fields in a row of an external file and store in Table

    Hi Experts,
    I need to proces an External file and store into a table. Here need to Split the fields in a row and write as multiple rows of a table.
    here i am giving the data sample ..
    outlet1     type1     type2     type3          
    outlet2     type1     type3     type4     typ6     type7
    The table  should be as below.
    outlet1     type1
    outlet1     type2
    outlet1     type2
    outlet2     type1
    outlet2     type3
    outlet2     type4
    outlet2     type6
    outlet2     type7
    Please give your suggesions and code sample that you have
    Thanks

    hi,
    try with the below code. This code is as per data given by u in your first thread.
    DATA : it_string TYPE TABLE OF string,
           wa_string TYPE string,
           BEGIN OF it_itab OCCURS 0,
           f1(7),
           f2(5),
           END OF it_itab,
           fld TYPE TABLE OF string,
           wa TYPE string,
           wa1 TYPE string,
           cnt TYPE i VALUE 1.
           data lin TYPE i.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                = 'C:\Documents and Settings\User\Desktop\abc.txt'
        filetype                = 'ASC'
        has_field_separator     = 'X'
      TABLES
        data_tab                = it_string
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
    IF sy-subrc <> 0.
    *  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    BREAK-POINT.
    LOOP AT it_string INTO wa_string.
      cnt = 1.
      SPLIT wa_string AT space INTO TABLE fld.
      DESCRIBE TABLE fld LINES lin.
      LOOP AT fld INTO wa.
        cnt = cnt + 1.
        IF cnt <= lin.
          READ TABLE fld INTO wa INDEX 1.
          IF sy-subrc = 0.
            it_itab-f1 = wa.
          ENDIF.
          READ TABLE fld INTO wa1 INDEX cnt.
          IF sy-subrc = 0.
            it_itab-f2 = wa1.
          ENDIF.
          APPEND it_itab TO it_itab[].
        ENDIF.
      ENDLOOP.
    ENDLOOP.
    Thanks & Regards

  • How to split a parallell-page PDF into single-page PDF

    My situation: I have a few hundred pages of files I made quite a few years ago, optimized for "self-publishing" via the printer. I no longer have any source files (my own bad). These files have 2 pages next to each other in an A4 landscape PDF. I would like to change and combine these files into a US Letter portrait PDF.
    I have browsed earlier, similar threads, most notably the most referred to thread:
    http://forums.adobe.com/message/3331516
    which recommends using Adobe PDF printer. However, as this thread points out, and as I for one have found on my own system (10.8.3), Adobe PDF printer is no longer an option on Mac OS X (version 10.6 and on):
    http://forums.adobe.com/thread/556366
    So the question then is: How do we now split double-page landscape PDFs into single-page portrait PDFs?

    Since at least OSX.5 adobe has removed PDF Printer which was begining to fail it was written in Adobe's altered version of javascript and it was a wonder it was working to begin with They replaced it with an Automator action that's called up through the print Driver.
    Here are the steps for applications other than Acrobat.
    create you doucument. laying it out the way you want it.
    Go to Print menu.
    click and hold the pdf button - a context menu pops up.
    now scan the list of choices and choose Adobe PDF or Adobe Quality PDF (depends on version of OS)
    wait for direction fields to come up and make the desired choices (the first screen is basically job options).
    when asked ask for name either ecept name give or choose name of your choice.
    Browse to desired location for file
    then click save.
    How the PDF is layed out in acrobat is determinedby acrobat. Adobe add an additional Layer on top of the Print Driver. You can by pass it and use the Print Driver but if there is an orientation switch in your docment the page is turned so everything comes out with same edge of Paper
    Oh, look out for a Grand idea Adobe did that even Forest Gump would have left alone.
    If you want to do duplex printing to a PDF with more than one page you won't be able to do so whether you have your printer setup for duplex printing. You can go back and forth from printer setting s to Printer setting toggling off and on til you turn blue in the face. You have to go into the document properties and loo for a command called SIMPLEX printing its on by default and needs to be turned off. Even my cat Boots would be smart enough not to put that in.
    This settinging does not permanently turn off and you have to do with each document you create or resave.

  • Trying to save the data from the pdf into XML

    I have Adobe Live Cycle 8.0 installed and without the blade for Reader Extension.
    The objective is to save the editable data from the pdf into a XML file
    the code for that is:
    // to fetch the input pdf file from the local drive
    FileInputStream fileInputStream2 = new FileInputStream("C:\\Adobe-Final PDF\\stitched_Letters.pdf");
    Document inPDF = new Document(fileInputStream2);
    Properties connectionProps=new Properties();
    connectionProps.load(new FileInputStream(_propertiesPath));
    //propertiesPath is the path of the properties file
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
    FormDataIntegrationClient dataClient = new FormDataIntegrationClient(myFactory);
    Document resultPDF=dataClient.exportData(inPDF);
    What happens is that this ultimate resultPDF does not get the XML with data but rather with empty tags. Does this require Reader Extension?

    //Set connection properties required to invoke LiveCycle ES
    Properties connectionProps = new Properties();
    connectionProps.setProperty("DSC_DEFAULT_EJB_ENDPOINT", "jnp://localhost:1099");
    connectionProps.setProperty("DSC_TRANSPORT_PROTOCOL","EJB");
    connectionProps.setProperty("DSC_SERVER_TYPE", "JBoss");
    connectionProps.setProperty("DSC_CREDENTIAL_USERNAME", "administrator");
    connectionProps.setProperty("DSC_CREDENTIAL_PASSWORD", "password");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
    //Create a FormDataIntegrationClient object
    FormDataIntegrationClient dataClient = new FormDataIntegrationClient(myFactory);
    //Reference a PDF form from which to export data
    FileInputStream fileInputStream2 = new FileInputStream("C:\\Adobe\\Loan.pdf");
    Document inputPDF = new Document(fileInputStream2);
    //Export data from the form
    Document resultPDF = dataClient.exportData(inputPDF);
    //Save the exported form data as an XML file
    File resultFile = new File("C:\\Adobe\\formData.xml");
    resultPDF.copyToFile(resultFile);
    }catch (Exception e) {
    e.printStackTrace();

  • How to split a large PDF into many smaller PDFs

    In my wanderings, I couldn't find an answer to this question. Thus my post.
    I have a large, 20 page, pdf. I'd like to split that pdf into 10 two page pdfs. How can I do it?
    The 20 pager is a pdf of a number of account statements. The account statements varying in length from 1 to 3 pages. I'd like to split the pdf so I end up with one pdf per account.
    In advance, thank you for your help

    Hi.
    It's simple: open the PDF, go to File, Print, and in the print dialog select Copies & Pages, enter the range you want, click PDF/Save as PDF.
    Good Luck.
    MacMini G4 1.25GHz 1GB   Mac OS X (10.4.9)  

  • Merge xls files using powershell

    is there any way to merge xls files using powershell ?

    What does "merge" mean?  Copy cells?  Copy Sheets?  Copy formulas?  Copy Data?
    "Merge"is way too vague.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Capture event from job cancelled in SM37 by workflow, is not posible.

    Hi, i'm learning workflows and i want capture the event ABORT o CANCELLED form job in sm37 and send email to agent recipient but i dont know as to resolve this problem. Please , i need help. Thanks.

  • Profile for canon 24-85

    is there a way to add a profile to my lightroom for the Canon 24-86 3.5-4.5

  • Blurry DVD's burned in iDVD

    All my iDVD's turn out blurry. Does anyone have a remedy for this? *My Movie:* An animation made in individual frames in Photoshop CS3. I started in Photoshop using the video preset "HDV/HDTV 720p 29.97" 1280x720. Pixel Aspect Ratio: Square Pixels I

  • Can't use trial CC

    Hi I downloaded Creative Cloud trial version. So far I haven't been able to see anything in the Apps page, it just hangs, the home and fonts pages open fine. There is also a red exclamation mark next to the black cloud icon, which I can't find out wh

  • Is or is not "Application & Driver Recovery DVD" bootable? - SafeMode boot fails-corrupt CryptUI.dll

    I'm trying to recover my daughter's Pavilion dm4-3170se. My daughter had not made a recovery disk and has no recent back-up of her data file set. Problems (and what I have done so far) are quite parallel to what the user reported in this amazingly de