Highlighted
Absent Member.
Absent Member.
657 views

[archive] active X control html to pdf

[Migrated content. Thread originally posted on 02 December 2004]

Hi,

Has anyone had any experience with conversion of html doc's
to pdf format will a dll or an ocx, we are looking for a solution which can be initiated from cobol
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] active X control html to pdf

I don't do it from Cobol, but I have used HTMLDOC to do this. It has a command line interface (not ActiveX or DLL) so you could write the HTML to a temp file and run the HTMLDOC converter on it to create the PDF (using CALL "SYSTEM"). You may also be able to pipe the HTML to it through stdin - I have never tried that.

HTMLDOC can be obtained as open source software through http://www.htmldoc.org. You will need Microsoft Visual Studio 6.0 to compile it. (This is what we use.)

You can also get binaries for it by purchasing a commercial license from http://www.easysw.com/htmldoc.
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.