Is it possible to read a Quick Report file (qrp) from PHP?

Asked

Viewed 590 times

2

Hello, I have a Quick Report file (format .qrp). I need to analyze its data from within PHP, but I was not successful.

Is there any way to do that?

  • It is possible to make the file available, or part of it?

  • The only way I see for you to use this report in Quickreport, would be running (via Delphi application or other support) and exporting to HTML, so your PHP application could read and analyze the data.

  • Is there any way I can do this conversion in Delphi through PHP? like calling an exe with parameters, I don’t know... it’s because the process will be automated.

  • Thiago, I could through an email

  • @Wallacemagalhães I found very interesting your question and I would like to analyze better, could you send to my email? [email protected]

1 answer

1


Technically the answer is yes.

  1. Download this app: Smartqrp http://download.cnet.com/SmartQRP/3000-10743_4-10433393.html (only 686 Kbytes)

It can be operated by command line and export to PDF, you must use it with the function shell_exec().

Then you’ll need this:

  1. Pdfparser:

Comment on the documentation:

Pdfparser, a standalone PHP library, provides Various tools to Extract data from a PDF file. Currently, Secured Documents are not supported

Unfortunately I don’t have any QRP file to test.

  • Hello! I believe your answer is very close to the solution. I know how to use shell_exec, but how do I use Smartqrp via command line? In case, run his function of converting to PDF? Thanks in advance!

  • has to download Smartqrp and install, and test with some QRP file. It should be something like: "Smartqrp.exe Report.qrp /pdf ".

  • It is not working, any command I try it opens the program :c

  • 2

    if you have time, you can try using this VCL that exports QRP to PDF, make a program in Delphi, accepting parameter by command line, and export direct into another file in PDF format.

  • Thank you! You put me on the right track so I could solve the problem. I did what you suggested, and finally I managed to make the conversion.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.