Reading and printing the pdf file in  abap reports.

Hello friends .
how to read  pdf file and print the contents of the  pdf file in abap reports.?
Edited by: Shivanand Kalagi on Jan 11, 2008 12:47 PM

HI Brad Bohn,
  Issue is not only with the file damaged.
  My requirement is to place the PDF file in FTP folder using FTP_COMMAND, FTP_R3_TO_SERVER Function Modules.
  I'm placing the PDF sucessfully in FTP Folder. When i try to open it's showing the  "File cannot be opened because it's damaged....".
I'm not sure whether i'm placing the PDF file in correct way.
Regards,
Saran

Similar Messages

  • We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a

    We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a printer."C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /T "\\<Application Server>\Report\<TEST.PDF>" "<Printer Name>". Current Situation: The above command line parameter when executed is working as expected in a User's Workspace. When executed in a command line on the Application Server is working as expected. But, the same is not working while executing it from Deployed environment.Software being used: 1. Adobe 11.0 enterprise version. 2. Webshpere Application Server 8.5.5.2. Please let us know if there is a way to enable trace logs in Adobe Reader to further diagnose this issue.

    This is the Acrobat.com forum.  Your question will have a much better chance being addressed in the Acrobat SDK forum.

  • How to read the and Write the PDF file give me the solution

    Hi all,
    How to read the and Write the PDF file give me the solution
    My coding is
    import java.io.File;
    import com.asprise.util.pdf.PDFImageWriter;
    import com.asprise.util.pdf.PDFReader;
    import java.io.*;
    import java.io.FileOutputStream;
    public class example {
    // public example() {
         public static void main(String a[])
              try
              PDFReader reader = new PDFReader(new File("C:\\AsprisePDF-DevGuide.pdf"));
                   reader.open(); // open the file.
                   int pages = reader.getNumberOfPages();
                   for(int i=0; i < pages; i++) {
                   String text = reader.extractTextFromPage(i);
                   System.out.println("Page " + i + ": " + text);
    // perform other operations on pages.
    PDFImageWriter writer = new PDFImageWriter(new FileOutputStream("c:\\new11.pdf"));
                   writer.open();
                   writer.addImage("C:\\sam.doc");
                   writer.close();
                   System.out.println("DONE.");
    reader.close();
              catch(Exception e){System.out.println("error:"+e);
              e.printStackTrace();
    I get the pdf content then it returns the string value but ther is no option to write the string to PDF, and we only add a image file to PDF,but i want to know how to wrote the string value to PDF file,
    Please give response immtly
    i am waiting for your reply.
    thanks,
    Suresh.G

    I have some question flow
    How library to use this code.
    I try runing but have not libary.
    Please send me it'library
    Thank you very much!

  • How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file?

    How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file? I could not find this option under Preferences tab? Thanks

    Hey there,
    Thanks for your reply. That works for the files I do what you said. However, for files I have not done that, It still shows the navigation bar. Any idea, how to do it default for any files?
    Thanks agian

  • How do I download and print a pdf file in osx mountain lion

    How do I download and print a pdf file?

    control click on your PDF to download option
    Open it on your desktop Command-P is the short cut for print option.

  • Can I read and search a PDF file on my IPAD

    Can I read and search a PDF file on my IPAD??

    Several apps will allow you to work with PDFs. iBooks will handle them, but there have been a few issues reported about using it for that purpose. My guess is it depends on the size and complexity of the file. Adobe has a reader in teh app store (free). Goodreader is an option, and provides functionality for searches.

  • Import and print a PDF file

    I'm using a SAPSCRIPT to printout documents (as production orders).
    And I need to attach a PDF file to this document .
    The only way I found, is to export the PDF file to PCL file and then import it  as a STANDARD TEXT (so to include it in the SAPSCRIPT) using the program 'RSTXLDMC'.
    But I need a way to import direct the PDF file to scapscript, is it possbile ?
    Thanks

    Sorry, I loaded Snow Leopard so had to create a new user temporarily (Yarp001) ...
    I tried the Print as Bitmap option but no difference. I'm looking at a software/hardware colour management solution.

  • Viewing and printing a PDF file from Java Swing Application

    Hello,
    I need to view and print PDF files from Java Swing Application.How do I do that?I appreciate your help.
    Thank you
    Sumana Somareddy

    If you have a link to the URL pointing to the PDF file, you can allow the browser to open it. Then use the print function of the browser to print the PDF document.
    Regards,
    Tak.

  • Printing the PDF file of your iPhoto book

    I am having a problem printing my saved PDF file. It comes out like the image was dragged across the page diagonally. I can print the file from Preview ok. Any ideas as to what is going on? Other PDF files - non iPhoto- print fine. Do I need yo worry about this for my book purchase as I understand it is via a PDF file?
    Lady Jane K

    Hi Lady Jane K,
    Just experienced the very same problem, printing a PDF file created from iPhoto and viewed and printed from Adobe Reader 7.0.8.
    Then I opened the PDF file from the Preview application and the printing now looks much better!
    It seems that we have to print from the Preview app.
    Did you print from Adobe Reader when having the problem?

  • How to read and print a Pdf from Server

    Hallo, i need a help. I have some pdf documents on server and i want to allow viewing and printing them from the client. I would like not to have it outside my application cause i don't want client computers have to download adobe reader.. I think that purePDF can help me but i really don't know how to load the stream and put it on display.. Can anyone help me or give me some advices?
    Thx for all
    Max

    The simplest way that I know of would be to use 'navigateToURL()' and let the user to print the pdf from the browser.
    Does anyone have the advice on doing this within the Flex app; i.e. without opening a new browser window?
    FTQuest.

  • Read and Edit a PDF File

    Dear Friends,
    I would like to know if it is possible to read and edit the same pdf file using Java. ie my PDF file named "Sample.pdf" has contents like
    First Name = &F_NAME
    Last Name =&L_NAME
    what I want is to parse the Sample.pdf file and look for &F_NAME and replace it with "Jacob" and &L_NAME and replace it with "Abraham" so that the contents within that pdf file look like
    First Name = Jacob
    Last Name =Abraham
    Please let me know if it is possible to do like this. All suggestions are welcome. Thanks in advance.

    Please let me know if it is possible to do like this.
    All suggestions are welcome.Find out yourself by using Google.

  • Any means to print the output from an abap report immediately

    Hi,
    I would like to know if there are any means to print the output of an abap program immediately. Our user wants to execute the program online and once the result list is displayed on screen, user wants the same list to be printed simultaneously without the need to press the 'Print' button.
    Thanks in advance for your help and advises.
    Francis

    Hi
      We can print the list while displaying using NEW-PAGE PRINT ON.
      below is the syntax for this.
         NEW-PAGE PRINT ON [NEW-SECTION]
                    [<params> | PARAMETERS <pripar>]
                    [ARCHIVE PARAMETERS <arcpar>]
                    [NO DIALOG].
    Regards
    Ramanjaneya Reddy.
    [email protected]

  • Save the pdf file in after report trigger

    Hi friends,
    How can I save the report PDF result file in table from after report triger?
    I am using Oracle report 10g. So is it possible to do that.
    thanks

    You can install the pluggable database destination from OTN.
    http://www.oracle.com/technology/products/reports/pluginxchange/index.html
    After deploying it on the reports server you can print the PDF to a BLOB column of a table in the database.
    An other "older" option is described over here:
    http://technology.amis.nl/blog/?p=576
    Hope this helps
    Marcos

  • Disable Options (Save a copy and print) in PDF file

    Hello Friends,
    We have a java based web product in which we have enter metadata of a PDF file and upload that file on server with metadata. Now I want to disable save a copy, print, copy and save as text options. Is there any API avaliable please help me i am in deep trouble.
    regards,
    Shambhu Mitra

    Hi,
    This is not possible AFAIK. These features are specific to the browser and you don't have any control over them. If you want to stop people
    from being able to copy/print your data then you might want to consider the following
    * don't make it available in the first place
    * make it available in another form
    * make only some of it available (i.e. what the user needs)

  • I downloaded Adobe Reader and cannot open PDF files, can anyone tell me why? or what I need to do.

    I am not able to open PDF files or documents.  Why?

    Here is my assessment, Claudio.  I know you are revered among your peers and it's very obvious that you live on these forums.  You have undoubtedly helped a lot of people and you will be rewarded in your afterlife for your endeavors here but here's a reality check for both you and Pat:
    What lesson did D.Call learn from you?  Likely the lesson was, don't post here or you'll be treated as an imbecile by some hotshot bitwhiz named Claudio Gonzalez.
    Did you not see that D.Call said s/he was an inexperienced computer user… and was obviously asking for elementary level assistance?  You were blinded by your belief that your knowledge and expertise is being wasted on anyone who isn’t forthcoming to your expectations.  I merely pointed out that if you think it's such a waste of your time, why dwell?  You should have left Graffiti to work with D.Call and headed off to another thread.  Surely there were other posts requiring your extreme level of higher intelligence.
    Think about this:  You don't like it when someone talks down to you as I have here, now do you?  No one does.  Right now as you read this my guess is you are fuming and likely trying to think of a way to smite me.  You can respond to this post in whatever tone or language you choose but I won't take offense.  I’ll be the bigger man… I promise I won't reply so you can have the last word.
    When you respond, see if you can take it up a notch and maybe even admit you made a mistake with your corkscrew remark.  I don't think you would ever risk being so disrespectful to D.Call, and most certainly, not to me or anyone else if we were face-to-face.  If you worked in my company, you would be fired for disrespecting my customers.
    By the way, do you and Pat have spell check ability?  If you do, you should use it.

Maybe you are looking for

  • How Nokia Lost Me as a Customer

    Dear Nokia, I am not sure if this is the right place to post this message, but I am tired of not being heard by any of the other means of communication with the company. I bought a Nokia Lumia 900 around April 2012 (right after release) for full pric

  • Changing link in mail to customised text

    Hi everyone,   I would like to change the link in the Subscription mail to something, so that it is more easily understandable to the user. I saw here on SDN that it involves changing the xml,xsl files for susbscription. I saw the files also. But whe

  • User input in JTable

    How do you disable user input for a column in a JTable?

  • How to uninstall a trial version of Adobe Pre Elements 11 if I already bought one at the App Store?

    I installed a trial version of Adb Pre Elements 11, then bought the same app at the AppStore. I want to uninstall the trial version without affecting the one purchased. Please, what's the procedure?

  • OpenGl Enabling problem. Help ASAP :(

    Hi there. I need help. How can i enabe OpenGL in my Photoshop CS6. I have GTX 650 Video Card. Here is screen. http://s1055.beta.photobucket.com/user/dskdrago/media/Capture-3_zps0d25260b.png.html?sort= 3&o=0