automate export a report in pdf . is it possible?

Stimulsoft Reports.PHP discussion
chopper64
Posts: 26
Joined: Mon Dec 20, 2010 2:33 am
Location: Berlin

automate export a report in pdf . is it possible?

Post 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 ....
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

automate export a report in pdf . is it possible?

Post 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.

Attachments
908.ExportsFx.zip
(2.59 MiB) Downloaded 540 times
FFIT
Posts: 3
Joined: Wed Feb 16, 2011 10:52 am

automate export a report in pdf . is it possible?

Post by FFIT »

We have a similar need. Was ExportsFx.exe created with Reports.FX Flex inside an AIR app?

Thanks
tony.tomov
Posts: 72
Joined: Mon Jun 07, 2010 2:39 am

automate export a report in pdf . is it possible?

Post by tony.tomov »

Hello,
Will be happy to see such program not only for Windows, but for other OS.
Thank you

Tony
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

automate export a report in pdf . is it possible?

Post 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.
FFIT
Posts: 3
Joined: Wed Feb 16, 2011 10:52 am

automate export a report in pdf . is it possible?

Post by FFIT »

Yes, I would like the source code of ExportsFx utility. Thanks
treviweb
Posts: 4
Joined: Tue Mar 22, 2011 10:56 am
Location: Italia

automate export a report in pdf . is it possible?

Post by treviweb »

Hi , how do I use it in a linux server centos?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

automate export a report in pdf . is it possible?

Post 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.
Attachments
934.ExportsFxSources.zip
(5.86 KiB) Downloaded 587 times
chopper64
Posts: 26
Joined: Mon Dec 20, 2010 2:33 am
Location: Berlin

automate export a report in pdf . is it possible?

Post 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 ..
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

automate export a report in pdf . is it possible?

Post 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.
Post Reply