Hi Everybody,
I am working on a script that generates documentation. I would like to attach a file containing board information and a pick and place file to the assembly drawings.
I would like to use a report generation tool to create such files and then combine them into one.
I was able to generate the necessary files and attach them to the drawings using the function:
a=axlRunBatchDBProgram("pdftk" mytext ?silent t ?noUnload t)
where mytext contains nessesary data like file names etc. And its works, the problem is that the report that i generate using this line:
axlReportGenerate("RAPORT" t "RAPORT.html")
Generate .html file, and i would like to print it into pdf file and then attached it into main file. Butt how to do this?
I thought you could use the function:
axlShell("setwindow form.report_tab")
axlShell("FORM report_tab print")
Of course, it's not so easy, because nowhere can I find the name of the form responsible for the report
To be clear what I'm talking about, I would like to use the script to "press" the selected button and print the file in a given location
Another possibility would be to do this by calling an external program, e.g. AcrRd32
Many thanks for your help and advice!