Merging more than one PDF page into a singe page.

Hi All,
Here is my new requirement.
I need to merge two PDF page contents into a single PDF page.
Is there any way to active this.
Looking forward to your help.

Hi PDL and Leo,
I am attaching the code below. Kindly let me know what mistake I am doing.
CosDoc cosDoc = PDDocGetCosDoc(objPDDoc);
PDPage page1 = PDDocAcquirePage(objPDDoc, 0);
CosObj pageCos1 = AFPDFormFromPage(cosDoc, page1);
PDPage page2 = PDDocAcquirePage(objPDDoc, 1);
CosObj pageCos2 = AFPDFormFromPage(cosDoc, page2);
CosObj cBBoxObj = CosNewArray(cosDoc, false, 4L);
CosArrayInsert(cBBoxObj, 0L, pageCos1);
char* charMatrix = "q .5 0 0 1 .75 0 cm \r";
char* charQ = "Q \r";
ASInt32 iMatrixSize = strlen(charMatrix);
ASInt32 iQSize = strlen(charQ);
char * mBuffer = (char*)ASmalloc(iMatrixSize);
char * qBuffer = (char*)ASmalloc(iQSize);
memcpy(mBuffer, charMatrix, iMatrixSize);
memcpy(qBuffer, charQ, iQSize);
ASStm objMatrixStream = ASMemStmRdOpen(mBuffer, iMatrixSize);
ASStm objQStream = ASMemStmRdOpen(qBuffer, iQSize);
CosObj matrixContent = CosNewStream(cosDoc, true, objMatrixStream, 0, true, CosNewNull(), CosNewNull(), -1);
CosObj qContent = CosNewStream(cosDoc, true, objQStream, 0, true, CosNewNull(), CosNewNull(), -1);
ASStmClose(objMatrixStream);
ASStmClose(objQStream);
CosArrayInsert(cBBoxObj, 1L, matrixContent);
CosArrayInsert(cBBoxObj, 2L, pageCos2);
CosArrayInsert(cBBoxObj, 3L, qContent);
CosObj pageCos = PDPageGetCosObj(page1);
CosDictPut(pageCos, ASAtomFromString("Contents"), cBBoxObj);
ASfree(mBuffer);
ASfree(qBuffer);
PDPageNotifyContentsDidChange(page1);
PDDocSave(objPDDoc, PDSaveIncremental, NULL, NULL, NULL, NULL);
PDPageRelease(page1);
PDPageRelease(page2);

Similar Messages

  • How do I merge more than one PDF document into one singular pdf using adobe viewer touch on a microsoft surface?

    How do I merge more than one PDF document into one singular pdf using adobe viewer touch on a microsoft surface?

    Or using the Adobe PDF Pack https://www.acrobat.com/

  • Merging more than one address card into the same document

    Is there a way to merge more than one address book card into the same Pages document? I am wanting to create a photo directory and I don't want more control over the formatting than Address Book would probably give me. I would like to be able to set up multiple merge fields in a Pages document, and then merge in a whole group of Address book cards and have them populate the merge fields in my pages document with probably about 4-8 address cards represented on each page. Any help you can offer would be appreciated!

    I wanted to do the same thing with tickets that had unique numbers on them, so I created a group in my address book and put the numbers in the notes section, then I made my document just a little bigger than my ticket and had the Note field in the ticket where I wanted the number. When I did the mail merge it created the tickets with the numbers, then to print I put 9 pages per sheet and that way I have 9 tickets per sheet and only 20 sheets for 180 tickets.
    Worked that way for me, hope it helps!

  • Very urgent .. how to merge more than one pdf into one pdf

    Hi,
    I have one problem how to merge 2 pdfs into one pdf.please help me.
    thanks,
    suneel

    If I use Itext iam able to merge 3 pdfs into one pdf,but problem is it was adding like 3 differnt pages in pdf.I want merge based on contents ,in this case it was adding page by page.
    thanks

  • Since downloading the iOS on my iPad, I cannot download more than one pdf from mail to iBooks.  I have to shut down y iPad and start again.  Any suggestions?

    Since downloading iOS on my new iPad, I cannot downlaod more than one pdf from mail into iBooks.  I have to shut down my iPad and restart it to save a second pdf. Wasn't a problem with the old operating system.  Any suggestions?

    It seems that I have solved my issue by performing a full factory reset (erasing all content, something which I had hoped to avoid) restoring from an iCloud backup did not alleviate the issue, I had to set up as a new iPad.
    Hopefully anyone else else who has this issue in the future will be able to find this.

  • How do i add more than one pdf at a time to profile manager books

    How do I add more than one pdf at a time to profile manager books? When I browse to my pdf folder I can only select one pdf at a time. I have 500+ pdf files I need to add. Any help would be greatly appreciated.

    Bucknut wrote:
    I want to add more than one email address to my address book from an email I received. They were in the CC of the email I received. is there anyway to drag them all into an address book group all at once. I hate having to add and address and then having to find the address and then add it to a group. thanks
    no, there is no way to do that, sorry. you need to control-click on every email address one at a time and select "add to address book". if an email is in the address book already that option will not be there.

  • Reader X shuts down when trying to open more than one pdf, or when clicking certain categories in settings

    Until a few weeks ago I have never had a problem opening more than one pdf at a time. Now Reader just shuts down when I try to do so. The same thing happens when I click on the yellow highlighted categories in settings. All the other categories open fine.
    Appreciate the help of anyone who can help me solve this.

    I guess you didn't know, but yes you can close more than one app at a time. You can close up to 3 apps at a time in the new IOS7 on the iPhone. Try opening at least 3 apps and then double click the main button to see what apps are opened. Then swipe to the left to see the three of them on your screen. Your not gonna see the ones on the side entirely but you can still put all three fingers on them, then simply swipe them up and it closes them up.
    The thing is, when you have let say 10 apps open, and you start using this trick, some of them will stay open meaning you swiped them up to close them down but the bottom icon stays there. When you come back to your main IOS desktop and then go back to close the programs that you have opened, you can see that those apps are still opened. There is only like 2 or three out of all the 10 you had opened that stayed open, but none the less it's a bug in the system I presume.
    You also asked about the icon at the bottom. When you are seeing what apps are opened, there is always a small icon at the bottom and on top you have a representation of what you were working on, and that is the part you swipe up. But often time the bottom icon will stay opened after swiping 2 or 3 of the apps to close them.

  • Calling AVDocClose with more than one PDF open crashes Acrobat

    That pretty much sums it up. If I have a single PDF open and I call AVDocClose everything works great. If I have more than one PDF open it crashes Acrobat and takes down all of the open documents. Any ideas as to what might be happening and how to get around it? I'm seeing it in both Acrobat 8 and Acrobat 9.

    Okay, that sounds ike it could be something to look at. I'm certainly not an expert in using the SDK so maybe you can help me identify the potential issue. This is the code I'm using with some comments to help you understand what I'm doing. I just added the ASFileSysReleasePath references after reading your post but apparently I'm still missing something. The issue occurs in the code path where I'm working with local documents.
    ACCB1 void ACCB2 MyPluginCommand_Save(void *clientData)
    initializeVariables();
    if(myAVDoc==NULL)
    // if no doc is loaded, display a message.
    AVAlertNote("There is no PDF document loaded in Acrobat.");
    else
    //Here are a couple of functions that are just used to set up some file paths for both windows and acrobat
    string docName = getDocName();
    string path = buildAcroPath(docName);
    ASPathName upPath = ASFileSysCreatePathFromCString(NULL,path.c_str());
    //call doc exists to see if we have a local doc or one that is in control of my DMS - doesn't use any Acrobat SDK functions
    bool ndExists = ndDocExists(filename);
    if(!ndExists) //if the file is not from the DMS
    //save this file to a temporary location - this is what actually gets sent to the DMS
    PDDocSave(pdDoc, PDSaveFull | PDSaveCopy | PDSaveCollectGarbage , upPath, ASGetDefaultFileSys(), NULL, NULL);
    //send the document to the DMS and get the status of the operation back - doesn't use any Acrobat SDK functions
    int ndStatus = ndImport(path);
    checkNDStatus(ndStatus);
    else
    //This is a document from the DMS. Just do a regular file save
    PDDocSave(pdDoc, PDSaveFull | PDSaveCollectGarbage , pathName, ASGetDefaultFileSys(), NULL, NULL);
    ASFileSysReleasePath(ASGetDefaultFileSys(), upPath);
    ASFileSysReleasePath(ASGetDefaultFileSys(), pathName);
    AVDocClose(myAVDoc, false);
    return;

  • How can I sort a table using more than one column in Numbers or in Pages?

    How can I sort a table using more than one column in Numbers or in Pages?

    Hi Ron,
    On the right side of the Toolbar click the Sort and Filter button, then select Sort.
    You can then set up a multiple column sort.
    Click Add A Column, Specify the sort for that column, Repeat.
    Jerry

  • Adobe Reader XI won't open more than one PDF

    The latest Adobe Reader (11.0.02) won't open more than one PDF at a time. Seems to require continual re-install for each open. And each time I install, it says the application is already present on my machine, yet I cannot find it anywhere. Any suggestions out there?
    Elaine

    Thanks for getting back to me, Pat. I need to go back to wherever I was and
    remove the question. After I posted my question, I decided to delete all of
    the Adobe applications on my computer and start overŠit worked.
    I appreciate your concern,
    Elaine Davis

  • Reg: how to join more than one cluster table into one

    Hi gurus
    How to join more than one cluster table into one
    amk

    Hi,
    You cannot join cluster tables
    Best way is to select from the header table and then select from the item table table using for all entries of header table.
    regards,
    Advait

  • How do I attach more than one PDF to an email?

    How do I attach more than one PDF to an email?

    It depends upon what app that the PDFs are in and whether that app allows you to select more than one file/PDF to attach to an email - if the app that you have doesn't support it then there are other apps which support PDFs which do e.g. GoodReader.

  • How do I attach more than one PDF file to an email

    How do I attach more than one PDF file to an email

    You cannot do that on iOS when you are using the Share feature from Reader.

  • Rendering Error when using more than one DataSheetView on a Enterprise Wiki-Page

    Hi Experts,
    how to reproduce:
    Add two Custom Lists with some Fields (Add Lookup-Columns to both Lists).
    Add a DataSheetView to each List and mark it as Default-View
    Create a Enterprise Wiki-Page
    Add a WebPart (Custom-List-1)
    You will see the Content from List 1 as DataSheet-View (because it is the Default-View)
    Add another WebPart below the previous added WebPart (Custom-List-2)
    You will see the Content from List 2 as DataSheet-View (because it is the Default-View)
    Notice that the First DataSheet has faulty Rendering. The Lookup-Columns having more than one 'Arror-Down' Image and it is even on the left. If you click into different Column, different row you get the same.
    I can reproduce this behaviour anytime.
    Environment: SharePoint 2013 Enterprise, IE10
    If you use Development-Tools to identify first datarow of first DataSheet you can see that it has to do something with the related <Input>-Tags:
    <div class="combobox-placeholder" id="jsgrid_combobox" style="left: 27px; top: 32px; width: 117px; height: 29px; border-top-color: currentColor; border-right-color: currentColor; border-bottom-color: currentColor; border-left-color:
    currentColor; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; visibility: inherit; ; direction: ltr; min-width:
    117px; background-color: transparent;">
    <input class="cb-textbox " style="width: 156px; height: 25px;" dir="ltr" type="text"/><input tabindex="-1" title="Dropdown" class="combobox-img" style="height: 29px;"
    dir="ltr" type="button" value="▼"/><input class="cb-textbox " style="width: 84px; height: 25px;" dir="ltr" type="text"/><input tabindex="-1" title="Dropdown"
    class="combobox-img" style="height: 29px;" dir="ltr" type="button" value="▼"/>
    Please have a look into it. Current Workaround for me is to have a Default-ListView in first WebPart. But then Customer has to click the Edit-Button to Change the Item in the releated EditForm. This is a Show-Stopper here!
    With Best Regards,
    Ronny

    Hi Ronny,
    According to your description, the lookup column would render incorrectly when adding more than one datasheet view in the Enterprise Wiki page.
    I tested the same scenario per your post, and I got the same results as you got.
    We will help to submit the issue to proper pipeline for you.
    Again, thank you for your report which will definitely make SharePoint a better products. There might be some time delay. 
    Appreciate your time and patience.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How do I print more than one custom-size photo on a page in PSE 10?

    I recently upgraded from Photoshop Elements 6 to Photoshop Elements 10.  I make greeting cards, and on PSE 6 I was able to print two custom-size (6-1/2” x 5”) cards on each 8-1/2” x 11” sheet of photo paper.  The option to print more than one custom-size card on a single sheet of paper is not available in PSE 10.  I want to know how I can print more than one custom-size card (or photo) on a page in PSE 10?

    In Editor:
    File>Print>#4 Select type of print>picture package

Maybe you are looking for

  • Zen Xtra won't appear in Creative MediaSource Organi

    I've been using my 30 GB Jukebox for a couple years w/ no real problems except that I remember there being a problem w/ a USB port & I had to change something so that the Creative MediaSource Organizer software could recognize the mp3 player. Now I'v

  • Mac detects external monitor but no picture

    I recently tried hooking up my 17 inch LCD gateway monitor to my 13 inch mac. My mac detects it and lists it under display properties however it does not actually have a picture on the monitor. The gateway just stays black or powers on and then goes

  • Place a pic in a pdf form?

    I've been working with pdf forms to allow people to customize flyers, business cards, etc. with their own information. I'd now like to create a form that allows someone to place their own picture in a specified box or place on the form. (They will be

  • Multiple line items in migo

    Hi, Is it possible to have multiple line items in MIGO by purchase order. Issue is PO (UB) created with 10 qty. Issued in 3 different qtys (351-mvt) with different material docs. while doing GR by PO in MIGO (101) instead of commulative i want it sho

  • What are these and what are they useful for?: and

    I have seen these symbols being used in Java: << and >>, what are they and what do they do? Thank you.