Creating PDF using Acrobat SDK

Hello All,
                I am developing application in VC++ which has requirement to create PDF file programatically and then write that file .
                I just wanted to know can I use Acrobat SDK to create and Edit PDF file?
                Please help me as I am new to this.
Waiting 4 soon reply.......................
Thanks

Dear Arthi,
This is the C++ code which will help u to create the pdf using the VC++ plugin, Hope this helps you,
PDDoc TargetPDF = PDDocCreate();
ASFixedRect mediaBox = { fixedZero, ASInt32ToFixed(792), ASInt32ToFixed(612), fixedZero };
PDPage emptyPage = PDDocCreatePage (TargetPDF, PDBeforeFirstPage, mediaBox);
PDPageRelease (emptyPage);
PDDocSave (TargetPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized,
    pdfPathName, ASGetDefaultUnicodeFileSys(), NULL, NULL);
PDDocClose (TargetPDF);
ASFileSysReleasePath(fileSys, pdfPathName);
Regard's
Amith Sai

Similar Messages

  • How to create a blank PDF using acrobat SDK in perl or c#

    please help me with creating blank pdf using acrobat SDK in c# or in perl

    Hi, can you please let me know which version of Adobe you used in this tutorial?
    I have the Adobe Reader XI - is there a similar tutorial for this version?
    Thank you.

  • Remove all the hidden objects in PDF using acrobat SDK

    Hi Friends
                   How to remove all the hidden objects in PDF using acrobat sdk 11

    Sorry if I re open this old thread, but I am interested in the 'Remove Hidden Information' command.
    Which is the AVCommand to run this feature?
    Thanks

  • How to convert html to pdf using acrobat sdk 8.0?

    hi
    I am a beginner of acrobat sdk .
    I want to know How to use acrobat sdk 8.0 to convert html to pdf?
    herere some questions :
    1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
    2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
    Thanks in advance for any help and suggestion.

    Hello,
    I want a system to re-brand my 37 pages PDF for affiliates.
    I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
    Can you help?
    Please let me know
    Thank you
    Alex
    PS My system is online and i can give you the url if it helps.

  • Creating DLL using Acrobat SDK

    Hi,
    I want to create one DLL using Acrobat SDK and VS 2010 Win32. If i use this dll in our program it should show functions for opening pddoc, total number of annots, Can I do this using Acrobat SDK. I know we can create plug-in extension with .API.
    Please let me know can i do this using Acrobat SDK.
    Thanks,
    Kruthi

    Please use the forum for Acrobat SDK.

  • How do I create  a PDF using Acrobat 7.0 in Windows 8 from a Visio drawing on a 64-bit system

    I used to be able to create a PDF using Acrobat 7.0 from a Visio drawing in XP. Now I'm running a 64-bit system, no Adobe printer can be installed, and it is unsupported.  Help?

    On a 32-bit system, there is a workaround. I do not think it is possible to get AA7 to work on a 64-bit system (no one has reported success and only 1 has suggested success with AA8). You may be able to print to a PS file and then open that in Distiller. I suspect that is the only way and you will have to find a decent PS printer driver to do it. I suspect the printer driver (and associated AcroTray) will not work in a 64-bit Win8 -- Acrobat and Distiller may.

  • Rendering the PDF page to Bitmap object using Acrobat SDK DrawEx() or CopyToClipboard()

    I am trying to find whether each page in PDF document is color or monochrome.
    For doing this I am rendering the PDF page to Bitmap object using Acrobat SDK DrawEx() or CopyToClipboard()
    Once after rendering the PDF page, I am using GetPixel() to read each pixel value to decide about color or Monochrome.
    Problem:
    When I read the pixel to decide about the page color or monochorme, in some XP machines it is showing the PDF page as color and in some PC it is showing it as Monochrome.  Color quality in both the system is kept as 32 Bit.
    After this I tried copying the PDF page directly into clipboard and then take the clipboard image to decide about color and monochorme, but even this also behaves in the similar way.
    Question:
    Why rendering the PDF page to Bitmap object using DrawEx() or CopyToClipboard() is behaving differently in each machines.
    If required I will send my sample project.
    With regards,
    Rajeshrv.

    In SDK documentation, there is no methods are defined for getting the color of the page.  In color spaces and color values, we can set the color for drawing operations. A method AVPageViewSetColor is used for setting the color. 
    But there is no methods defined for getting the color in the page.  Please let me know , is there any alternative way.
    Thanks in advance.

  • Creating Certificate using Acrobat dll in C# program

    Hello,
    I need to create a certificate, basically .pfx file in C#. I used makecert tool to create the certificate first and then export it into .pfx file through command line. My attempt was successful. Then I used the .pfx file to encrypt a pdf using iTextSharp. The pdf is encrypted successfuly but when i try to open the pdf,  Acrobat/Reader shows a message "You do not have access rights to this encrypted document". I intalled the .pfx file but the problem still remains.
    Can anyone please guide me what am I doing wrong. I used the following code from command prompt to create a certificate and then export the certificate to a pxf file
    Create certificate - makecert -r -pe -n "CN=My CA" -ss CA -sr CurrentUser -a sha1 -sky signature -sv MyCA.pvk MyCA.cer
    Export to pfx - pvk2pfx -pvk MyCA.pvk -spc MyCA.cer -pfx MySPC.pfx -po <password>
    Is it possible to create a pfx file using acrobat dll in C#??
    Please help me, its urgent.
    Thanks in advance!

    No, there are no APIs for working with certificates from C#.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 13 Dec 2011 22:35:57 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Creating Certificate using Acrobat dll in C# program
    Re: Creating Certificate using Acrobat dll in C# program
    created by poortip87<http://forums.adobe.com/people/poortip87> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4083490#4083490

  • How to enable forms extenstion for adobe reader using Acrobat SDK?

    Adobe acrobat GUI tool  enables PDF forms designers to extend the use of Adobe Reader and allow the end user to save the PDF form locally using the Reader.
    Is it possible to do the same kind of fuctionality at run time on the server using Acrobat SDK?.
    We are creating several PDF Form on the server, is there any way we can use Acrobat SDK to enable form's extenstions programatically on the server after the PDF is created.
    If Yes How? any code example?

    Not using the Acrobat SDK, no.
    However, Adobe sells the LiveCycle Reader Extensions Server that can be
    used on a server for exactly this purpose.

  • Can't convert files to pdf using Acrobat 8 Standard or 9 Pro

    I am having a major problem. I have tried converting both Word 2003 and Excel 2003 documents to pdf using Acrobat 8 Standard (I can't recall which version because I uninstalled and installed a trial version of Acrobat 9 Pro) and Acrobat 9 Pro. I have tried to convert directly from the open document and through Acrobat using create from file. In every instance the process starts and then stops after a few moments. When I try the conversion from within Acrobat, I get the following error message: " Pdf conversion failed, please correct the error and retry." When I try the conversion directly from Word or Excel, the conversion starts, stiops suddenly and gives no error message.  I have had Acrobat 8 Standard installed for a couple of years. It worked fine on this computer until the problem started a week ago or so. There have been no software or hardware changes that woudl trigger suspicion.
    I've tried uninstalling and reinstalling the 8 Standard version. I have uninstalled the 8 Standard version and installed the 9 Pro trial version. I have run the repair module on both versions. I'm sure it is something simple but I just can't figure out what the "error" is that I need to "correct". Any suggestions?
    As an aside, I have several Adobe programs (Photoshop CS5, Contribute 3 and Acrobat), all of them expensive. Their business model of offering no unpaid support (even for this type of problem) is one reason I hate Adobe more than Microsoft... but I rant.

    When you uninstalled, you should have used the MS Installer Cleanup utility. It cleans up a lot of the junk left over in the registry. You should have also deleted the Acrobat folder. Then you would reinstall. You did not indicate your OS and it may be that you need to update the AA8 to get it to work correctly. Also, the installs and uninstalls can mess up your registration process if you are not careful. If you uninstall the AA9 trial, you will not be able to reinstall it for use. At this point, I can only suggest you do a repair of your installation and be sure you have all of the updates.

  • Error converting web page to PDF using Acrobat 8 IE 9 on Vista

    I am getting the following errow when I try converting web page to PDF using Acrobat 8 on IE 9 on Vista.  This worked previously but it appears that a recent update to Acrobat caused issues with this functionality.  This happened once before and after some troubleshooting the technician wasable to get the functionality working again.  The Adobe printer shows up with "Error" however I can still create PDFs from outlook.
    Error Has Occurred
    Line:11
    Char:3
    Error: Permission Denied
    Code: 0
    URL:res//C:\Program Files\Adobe\Acrobat 8.0\Acrobat\AcroIEFavClient.dll/AcroIECapture.html

    Is the plugig the same as an add-on because all of my Acrobat Add-ons are active?
    Name                Adobe PDF
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.25 s
    Name                Adobe PDF Reader Link Helper
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.01 s
    Navigation time     0.00 s
    Name                Adobe PDF Conversion Toolbar Helper
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.06 s
    Navigation time     0.00 s
    Name                Adobe PDF
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.00 s

  • Reducing size of a PDF using Acrobat 9 Pro

    Hello, I want to reduce the file size of a large number of pdfs which will be available for download on a website I'm building. These pdfs were created a few years ago and in most cases the fonts were converted to outlines. I want to reduce the size of the pdfs using Acrobat 9 Pro. I tried one and the size went from 2.3 Mb down to 156 Kb when I saved as an Acrobat 7. Will these be able to be viewed by anyone using Acrobat Reader. The end users will only be viewing and reading the pdfs. Thanks in advance for any responses.

    mocikey wrote:
    Hello, I want to reduce the file size of a large number of pdfs which will be available for download on a website I'm building. These pdfs were created a few years ago and in most cases the fonts were converted to outlines. I want to reduce the size of the pdfs using Acrobat 9 Pro. I tried one and the size went from 2.3 Mb down to 156 Kb when I saved as an Acrobat 7. Will these be able to be viewed by anyone using Acrobat Reader. The end users will only be viewing and reading the pdfs. Thanks in advance for any responses.
    If you are familar with the PDF Optimizer and how to go to it, open PDF Optimizer.
    First images for a website should never be more than 150dpi.
    Go to images and set, for DPI  150  for color images Grayscale and Monochrome.
    Next open fonts in optimizer and look for duplicate fonts.
    example:
    Ariel
    Ariel Bold
    Ariel Bold
    Ariel Italic
    Courier New Bold
    remove the duplicate Ariel Bold.
    Many times there are 5-10 instances or more of the same Font/Font style.
    Remove all duplicates.
    Save as a new file you never want to save over your original in case what you end up with doesn't turn out.

  • How to use Acrobat sdk features in java application?

    Hi
    In my project i have an requirement to make static pdf in to dynamic form  , So how can i make static PDF to dynamic one as my project platform is purely  in java . How can i make use Acrobat SDK  InterAppCommunicationSupport/ samples in my java code ?
    Thanks & Regards,
    Prashant P M.

    Hi Leonard,
    Thanks for your kind reply , I am attaching  a sample SchollForm static PDF with this post, where it consist of student details like Name ,lastName ,section etc.
    I like to convert this static PDF in to dynamic PDF means above field should be fillable ,So Using Acrobat SDK is it possible to achieve this above stuff.
    If yes then Please can you give a brief idea how to do this one using Acrobat SDK with java? .
    Thanks in Advance.
    Prashant P M.

  • Problem on setting pagelabel using acrobat sdk

    hi all,
    On setting pagelabel into the pdf file using acrobat sdk 9, we have an issue while opening the pdf file in notepad we got the value of pagelabel as <</P(CoverNUL)>> for your reference i have attached the screenshot and my code is below
    ASInt32 textSt;
    ASText prefix =  ASTextFromScriptText("Cover",NULL);
    PDPageLabel textLabel;
    textLabel = PDPageLabelNewASText (pdDoc,ASAtomFromString("None"), prefix,NULL);
    if(PDPageLabelIsValid(textLabel)==true)
    PDDocSetPageLabel (pdDoc,0,textLabel);
    PDDocSave (pdDoc, PDSaveFull | PDSaveLinearized, pathName, ASGetDefaultUnicodeFileSys(), NULL, NULL);
    PDDocClose(pdDoc);
    Please, can any one help me on this.
    Regards,
    Jayakrishnan

    Use this it will work..
    ASInt32 iTemp = PDDocGetNumPages (pdDoc);
      PDPageLabel pageLabel;
      pageLabel = PDPageLabelNew (pdDoc,ASAtomFromString(lblList), NULL,NULL, startPoint);
      if(PDPageLabelIsValid(pageLabel)== true)
        PDDocSetPageLabel (pdDoc,0,pageLabel);
        PDDocSave(pdDoc, PDSaveFull, path3, ASGetDefaultFileSys(), NULL, NULL);
        AVDocClose (avDoc, true);
    Be Well

  • Draw line using  Acrobat SDK

    I want to draw line on pdf page. I have x,y coordinate depend upon that i want to draw line on page. please reply
    Thanks in advance

    Thanks Leonard..
    This is my Circle draw code.. but it's not working properly..
    moveto() and CurveTo() are mwthod it is defined like Draw Curve. please give me some suggestion about it..
    ASFixed inCenterX = mediaBox.left;
    ASFixed inCenterY = mediaBox.top;
    ASFixed inRadius = ASInt32ToFixed(2);
    PDEPath mov = MoveTo( inCenterX + inRadius, inCenterY );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)mov);
    PDEPath rect1 = CurveTo( inCenterX + inRadius, inCenterY + inRadius * ARC_MAGIC, inCenterX + inRadius*ARC_MAGIC, inCenterY + inRadius,
    inCenterX, inCenterY + inRadius );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)rect1);
    PDEPath rect2 = CurveTo( inCenterX - inRadius*ARC_MAGIC, inCenterY + inRadius, inCenterX - inRadius, inCenterY + inRadius*ARC_MAGIC,inCenterX - inRadius, inCenterY );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)rect2);
    PDEPath rect3 = CurveTo( inCenterX - inRadius, inCenterY - inRadius*ARC_MAGIC, inCenterX - inRadius*ARC_MAGIC, inCenterY - inRadius,inCenterX, inCenterY - inRadius );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)rect3);
    PDEPath rect4 = CurveTo( inCenterX + inRadius*ARC_MAGIC, inCenterY - inRadius, inCenterX + inRadius, inCenterY - inRadius*ARC_MAGIC,
    inCenterX + inRadius, inCenterY );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)rect4);
    PDEPath close = CloseTo(inCenterX + inRadius, inCenterY );
    PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)close);
    HOw to draw circle using Acrobat SDK?
    Thanks in advance..

Maybe you are looking for

  • Trying to Restore from Dead Hard Drive

    The hard drive in my PowerBook recently died. I was able to salvage my mail store and wanted to move my filed mail folders into the mail store on my iMac. So I moved the folders at ~/Library/Mail/Mailboxes/ into the corresponding location on my iMac.

  • Nokia C2-03 Set Password for Memory Card

    Hi All, I m using C2-03, I found an option to set password on memory card. Apps and Games > Memory Card > Mem. card opt. > Set password for my privacy I set a password but the Memory card still opens without asking. Can anyone plz inform me how do I

  • How to make Apple Script do a terminal command

    Hey, I am wondering how can I make an AppleScript do the following command : "networksetup -setdnsservers Wi-Fi 8.8.8.8 8.8.4.4" Please mention step by step since I'm new to AppleScript Best Regards, Nadav.

  • How to show the file contents in a streaming manner on the browser

    Hi, I have a log file which gets appended to by another program. I need to show the contents of this log file in the browser window but in a streaming manner. Reading the file in one shot and refreshing the page every few seconds is not a solution as

  • Generate trial balance

    Hi Sappers!! I need to generate opening trial balance as of 01/01/08 and closing trial balance as of 03/31/2008. I have already tried a few reports and F.01/F.08. I do not see an option or key date that would generate opening and closing trial balanc