Lokendra Kumar
7th February 2005, 16:05
Hi All,

I want to take the BaaN print session output into HTML page. It would be used to sent the output as HTMP page to customer location. If anybody has done the same please do let us know.

Please provide all details like print device settings, driver settings etc.

Thanks in advance.

NPRao
7th February 2005, 20:31
Refer to the screenshot.

Refer to the ttstpconv documentation for more info about the parameters for HTML.

12) html
The output of Baan is created as a html file on the server. The file can be loaded in a web browser to see it.

Example:
argument: html
path: /tmp/baan.out

The html file /tmp/baan.out is created and left on the server.

Example:
argument: html\/tmp/test %s
path: /tmp/baan.out

The html file /tmp/baan.out is created on the server and processed by the script /tmp/test as the first argument.

Together with the html conversion you can also define one of the following or all:
-g<picturefile>
-c<name>
-f<fontsize of HTML>

The picturefile will be included at the top of the HTML output. The name is a word that will be displayed additionaly on top of the report and fontsize is the size you define in the <font size=> tag of html. All these parameters are optional and can be used in combinations.

13) html: (please remind the colon after the html!!!!!)
The output is generated in html format and then transferred to the client and processed by the program called in the argument line.

Example:
argument: html:c:\Progra~1\IEXPLORE.exe %s
path: c:\temp\file.html

The html file is transferred to the file c:\temp\file.html on the client and then the internet explorer is opened with the file.

Also the additional parameters of html can be used.

Lokendra Kumar
8th February 2005, 07:29
Hi NPRao;

Thanks a lot for the reply and providing solutions. It really works.

bye.. keep writing....
Regards
Lokendra

bvdbrink
10th May 2005, 09:12
Hi all,

I want a report with html-tags to be opened in Microsoft Internet Explorer as a HTML-file without Baan placing extra tags in such a way that my tags are just shown as text. When I use html in the argument of ttstpconv, the program places html-tags around "my" html-tags in the report.

For instance the line in the report output "The next word is printed <B> bold </B>" is also printed as "The next word is printed <B> bold </B>", instead of ""The next word is printed bold" (bold is printed bold).

I also tested with argument "ascii:iexplore.exe", but in this way the explorer opens the file as an txt file, example "tmp008895536.txt". The setting in the field "Path" seems to have no influence on the local file-name.

Thanks in advance for your reply.

Kind regards,
Bert

avpatil
12th May 2005, 05:18
Hi,
I do generate lot of HTML report that are open in browser or gets emailed to users via Baan directly. The concept is very straightforward- Generate the report in Baan with HTML tags, open the generated HTML report in web browser via app.start().
I recently developed a HTML BOM, where each component is hyperlinked and points to the spec of component. With little bit of enhancement, we are sending the same to our suppliers and they can also click on the componet to get the spec.


Arvind