Page 2 of 5

automate export a report in pdf . is it possible?

Posted: Sat Apr 09, 2011 3:31 am
by chopper64
Fine!
Thank you for that quick fix.
I will try it next week the same.
Have I understood correctly, made ​​the specification of the file name must always be relative to the folder of the application? Or I can make full paths?

Example:

Code: Select all

ExportFX reportfile=c:\systemfolder\reports\template\mytemplate.mrt export_file=d:\documents\myreport.pdf export_format=pdf
Please also implements the internal formats as *. mrx etc ...
If everything works, I will probably save the report Stimulsoft file (XML) in a field in the database. To date, the documents are created as files in the documentfolder of my system. The change I would like ....

automate export a report in pdf . is it possible?

Posted: Mon Apr 11, 2011 1:21 am
by Vladimir
Hello,

We have done the above improvements, please see the attached file. Now you can use the following parameters:

Code: Select all

ExportsFx.exe report_file=Report.mrt export_file=result.pdf export_format=pdf

Code: Select all

ExportsFx.exe report_file=c:\reports\Report.mrt export_file=c:\documents\result.pdf export_format=pdf

Code: Select all

ExportsFx.exe report_file=c:\reports\Report.mrz export_file=c:\documents\result.pdf export_format=pdf

Code: Select all

ExportsFx.exe report_file=c:\reports\Report.mrx report_password=123456 export_file=c:\documents\result.pdf export_format=pdf
Thank you.


automate export a report in pdf . is it possible?

Posted: Fri Apr 15, 2011 3:28 pm
by FFIT
We have a similar need. Was ExportsFx.exe created with Reports.FX Flex inside an AIR app?

Thanks

automate export a report in pdf . is it possible?

Posted: Sat Apr 16, 2011 2:04 am
by tony.tomov
Hello,
Will be happy to see such program not only for Windows, but for other OS.
Thank you

Tony

automate export a report in pdf . is it possible?

Posted: Mon Apr 18, 2011 3:09 am
by Vladimir
Hello,
We have a similar need. Was ExportsFx.exe created with Reports.FX Flex inside an AIR app?
Yes, ExportsFx is made using Reports.Fx for Flex libraries. If necessary, we can send you the source code of ExportsFx utility.
Will be happy to see such program not only for Windows, but for other OS.
This application can run on any OS. This archive contains the AIR package, which can be installed on Windows, Linux, Mac OS.


Thank you.

automate export a report in pdf . is it possible?

Posted: Wed Apr 20, 2011 2:47 pm
by FFIT
Yes, I would like the source code of ExportsFx utility. Thanks

automate export a report in pdf . is it possible?

Posted: Wed Apr 20, 2011 7:10 pm
by treviweb
Hi , how do I use it in a linux server centos?

automate export a report in pdf . is it possible?

Posted: Thu Apr 21, 2011 3:13 am
by Vladimir
Hello,
Yes, I would like the source code of ExportsFx utility. Thanks
Please see attached archive.
Hi , how do I use it in a linux server centos?
Unfortunately we can not tell how to properly use this utility under some OS. At this moment it comes as beta version with source code.


Thank you.

automate export a report in pdf . is it possible?

Posted: Thu Apr 21, 2011 5:25 am
by chopper64
Hi Vladimir,

The new tool works as I had imagined.
However, I have a few suggestions / questions:

1. Are the Stimulsoft formats (MDC, MDZ, MDX) supported?
If not, then it would be good if that's going to be installed. Then hääte you the option to save the created documents relative to space in the database. In addition, the developers could easily create a watermark ("copy ") in the document without changing the source in the Database.

2. Such as report parameters can be passed to export?

Addendum:
I have tried the AIR application to implement in my project.
Unfortunately, works not so.
When I run the program using the cmd-shell, then start everything works fine.
Even if I write the program call in a batch file and call it work.
But only at operating system level.
Once I was in the PHP commands:

Code: Select all

$ CommandLine = "c = :/../ exportsfx.exe report_file .....";
$ exec_result = EXEC ("$ commandline");
$ exec_result = SYSTEM (...);
, use the PHP script will hang in appearance.
In the Task Manager is ExportsFX.exe visible as a process. I conclude the process in Task Manager, runs on the PHP script. Unfortunately, the output file is not created.
I write the commands in a batch file and call it to read the same thing happens.
I suspect that ExportsFX.exe waiting a screen output to make.

I've tried it all possible, maybe it is a solution if ExportsFX makes no screen editions. So as a command line tool works ...

Or maybe someone from Forum has a solution ..

automate export a report in pdf . is it possible?

Posted: Fri Apr 22, 2011 2:31 am
by Vladimir
Hello,
1. Are the Stimulsoft formats (MDC, MDZ, MDX) supported?
2. Such as report parameters can be passed to export?
We have improved the application. Now, these formats and report variables are supported. Please see the attached archive.

Addendum:
Please check, is the working directory of the application set correctly? It should be a directory where the application is located.


Thank you.