Skip to Content
author's profile photo Former Member
Former Member

Help finding an API that reads the PDF output so that I can break reports.

We have a process where we like to print reports once then break them out do different business entities. I'd like to know what if any API's are available, best if free, to be able to check the text in a page for a tag so that I can break the pages based on this flag and change the text that was at that location. I've been having a hard time finding something that looks like it would work well.

The API needs to support reading a PDF report in a background service(no desktop or GUI access), allow me to search for text at the bottom of a page, then break pages based on information into separate files.

I've seen some that use intra process communication between an Adobe reader but I'd like to avoid this because our process that would do this is running under a background service that has no user interface or user access.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 31, 2012 at 06:39 PM

    Hello Robert

    I moved your post to the SAP Crystal Reports, version for Visual Studio forum - assuming you're looking for .NET APIs.

    Unfortunately, there is no such API. You can certainly export to PDF, but there are no APIs for breaking a report into some number of parts and exporting those to different PDF files. Only a report based on Selection Formulas would come even remotely close to your requirement.

    Typically, if you can not do it in the CR designer, you can not do it at runtime.

    - Ludek

    Follow us on Twitter

    Got Enhancement ideas? Try the SAP Idea Place

    Share Your Knowledge in SCN Topic Spaces

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Don Williams

      If you read the original post, I am not attempting to report a problem with CR. I am asking if anyone knows of an API that would, hopefully, be royalty free that would read a PDF file and allow me to break it. Most of what I've found uses some form of IPC to interact with a GUI reader. Since the process will be running under a background service, it cannot rely on a GUI interface and have no user intervention. We already have our own scheduler and mail system in our product.

      I was just hoping that someone here would know of such an API. Most searched I've done on this have just turned up GUI applications and I need to be able to have this all run automatic, in the background processing.

      Sorry if this was the wrong place. I was just looking for some help, not reporting a problem.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.