Highlighted
Absent Member.
Absent Member.
220 views

[archive] HTML generation utility

[Migrated content. Thread originally posted on 25 February 2005]

Folks,

Do any of you know any "virtual printer" type utilities that generate HTML code from print programs?

It appears that there are loads of utilities which do PDF, but not HTML.

I was planning on using the report generator in AcuBench, but have been sort put off it.

Basically I'm after a quick fix which will allow me to run say a Purchase Order Print program, this is then sent to the virtual printer and an HTML document is generated.
I can then attach this HTML document into an email automatically in Outlook and send it.

We'll thats the plan anyway.

Shaun
0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] HTML generation utility

This one appears to do both: http://www.clicktoconvert.com/index.html?source=e5
Check out their developers page: http://www.clicktoconvert.com/Developers/developers.html

If you do some googling I'm sure you'll find more. Maybe even a free one.

If your reports are not a rich mix of fonts and images, but are pretty much text based, then you can make them html files by simply wrapping the report text in ... tags. You can also specify some styles pretty easily to fancy things up.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] HTML generation utility

Thanks Dan,

I've looked at clicktoconvert but it appeared to have issues with reports spanning 132 columns?
I'm still trying to figure out what though.

OK, I'm keen to learn more on the wrapping up stuff, but I'm a bit lost with it.

All the reports are plain text - no fancy fonts or images etc and a small sample is attached.
Could you maybe let me see how its done?

Many thanks

Shaun
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] HTML generation utility

Attached is the html version of the report. I simply added the opening tags
 before the report text and closing tags 
after the report text. The
..
tags are important because they preserve the whitespace in the report text as preformatted text. Without it, you would lose spacing, linefeeds, etc. Check out http://www.w3schools.com/html/html_examples.asp for HTML tutorials and samples. For example, explanation of HTML text formatting here: http://www.w3schools.com/html/html_formatting.asp
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] HTML generation utility

Perfect - Thank You

Shaun
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.