Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

HTML2PDF for VMS?

 
SOLVED
Go to solution
Highlighted
Advisor

HTML2PDF for VMS?

Hi.

We produce HTML files which contain some graphics and the business would now like to convert these to PDF which will then be e-mailed to the clients as attachments.

Is there a way to convert the HTML files to PDF within VMS that is freeware? I have managed to compile a C module to convert text to pdf bu cannot find anything on converting HTML to PDF for the VMS platform.

Thanks.
Hayden.
33 REPLIES 33
Highlighted
Valued Contributor

Re: HTML2PDF for VMS?

There's HTMLDOC which is on the Freeware 7 set of disks and is also included as part of the T4 installation.

cheers

Brian
Highlighted
Honored Contributor

Re: HTML2PDF for VMS?

Hi Clark,

You can make use of the HTMLDOC freeware utility.

You can find it in the below link -
http://h71000.www7.hp.com/openvms/freeware/v7_00freeware_abstract.txt
>> HTMLDOC Translate HTML pages into Postscript or PDF

To download HTMLDOC or other utilities from Freeware V7, Refer
http://h71000.www7.hp.com/openvms/freeware/

That should meet your requirement.

Regards,
Murali
Let There Be Rock - AC/DC
Highlighted
Advisor

Re: HTML2PDF for VMS?

The HTMLDOC runs but I keep getting the follwoing error message:

ERR005: Unable to open font width file HTMLDOC_DATA/fonts/Times-Roman.afm!

Any ideas to remedy the problem? Or is this something I need to take up with our system administrator?

Thanks.
Highlighted
Honored Contributor

Re: HTML2PDF for VMS?

Clark,

you have the sources available, have a look for this error message...

The font files seem to exist on the Freeware V7 CD, may it's just a missing HTMLDOC_DATA logical ?

Volker.
Highlighted
Trusted Contributor

Re: HTML2PDF for VMS?

>>> ERR005: Unable to open font width file HTMLDOC_DATA/fonts/Times-Roman.afm!
>>>Any ideas to remedy the problem?

Error 5 indicates the specified file could not be found. HTMLDOC_DATA variable specifies the location of HTMLDOC's data and fonts directories. Have you set HTMLDOC_DATA?

Regards,
Bhadresh


Highlighted
Advisor

Re: HTML2PDF for VMS?

Yes, HTMLDOC_DATA has been set up to map to the correct directory. The problem seems to be that the app tags on "/fonts/..." to the location.

I've been scouring the web trying to find a solution but so far I have had no luck.

Any assitance will be greatly appreciated.

Thanks.
Hayden.
Highlighted
Honored Contributor

Re: HTML2PDF for VMS?

Hayden,

does $ DIR HTMLDOC_DATA:[FONTS] show the font files ? If not, can you copy them there ?

Volker.
Highlighted
Honored Contributor

Re: HTML2PDF for VMS?

Would you post the results of

$ show logical HTMLDOC_DATA


If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Highlighted
Advisor

Re: HTML2PDF for VMS?

Ok. I have extracted the files/directories from the Freeware V7 backups and have copied these to $DKE0:[HTMLDOC] on VMS, with $DKE0 being the disk.

I had to copy the HTMLDOC_IA64.EXE executable from another source since I could not find an executable image in the freeware files that would run.

I then set the HTMLDOC_DATA logical up as follows:
"HTMLDOC_DATA" = "$DKE0:[HTMLDOC]" (LNM$PROCESS_TABLE)

But I still get the ERR005 message that it cannot find the files.

Any tips?

PS: Volker, thanks for all your help so far.

Thanks.
Hayden.