- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: HTML2PDF for VMS?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 11:51 PM
тАО07-28-2010 11:51 PM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 01:37 AM
тАО07-29-2010 01:37 AM
Re: HTML2PDF for VMS?
cheers
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 01:54 AM
тАО07-29-2010 01:54 AM
Re: HTML2PDF for VMS?
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 04:24 AM
тАО07-29-2010 04:24 AM
Re: HTML2PDF for VMS?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 04:31 AM
тАО07-29-2010 04:31 AM
Re: HTML2PDF for VMS?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 04:47 AM
тАО07-29-2010 04:47 AM
Re: HTML2PDF for VMS?
>>>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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 05:36 AM
тАО07-29-2010 05:36 AM
Re: HTML2PDF for VMS?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 05:39 AM
тАО07-29-2010 05:39 AM
Re: HTML2PDF for VMS?
does $ DIR HTMLDOC_DATA:[FONTS] show the font files ? If not, can you copy them there ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 08:28 AM
тАО07-29-2010 08:28 AM
Re: HTML2PDF for VMS?
$ show logical HTMLDOC_DATA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 12:27 AM
тАО07-30-2010 12:27 AM
Re: HTML2PDF for VMS?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 01:00 AM
тАО07-30-2010 01:00 AM
Solution$! HTMLDOC.COM
$!
$! Customize this procedure as required for your installation.
$!
$! Note: use unix-style directory format for the HTMLDOC_DATA directory!
$!
$ define HTMLDOC_DATA "disk$www/htmldoc/
$!
$ HTMLDOC :== $DISK$WWW:[HTMLDOC]HTMLDOC.EXE
$!
$ exit
i.e defining htmldoc_data in VMS syntax is wrong.
Define it in Unix syntax:
define htmldoc_data "/device/htmldoc/"
to make it working.
A quick test on my system showed it is working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 01:05 AM
тАО07-30-2010 01:05 AM
Re: HTML2PDF for VMS?
depending on "device" being a logical name, and the definition of the Unix-compatibility level and the definition of
DECC$DISABLE_TO_VMS_LOGNAME_TRANSLATION
So either "/device/directory/"
or "device/directory".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 01:17 AM
тАО07-30-2010 01:17 AM
Re: HTML2PDF for VMS?
I have tried defining the logical as:
"HTMLDOC_DATA" = "/ALEX04$DKE0/HTMLDOC"
"HTMLDOC_DATA" = "/ALEX04$DKE0/HTMLDOC/"
"HTMLDOC_DATA" = "ALEX04$DKE0/HTMLDOC"
"HTMLDOC_DATA" = "ALEX04$DKE0/HTMLDOC/"
None of which has returned anything other than ERR005: Unable to open font width file.........
I have no previous Unix experience so this is all a learning experience for me. :)
Thanks.
Hayden.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 01:19 AM
тАО07-30-2010 01:19 AM
Re: HTML2PDF for VMS?
Oswald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 01:20 AM
тАО07-30-2010 01:20 AM
Re: HTML2PDF for VMS?
and there is a DKE0:[HTMLDOC.FONT] directory with all the required font files ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 01:29 AM
тАО07-30-2010 01:29 AM
Re: HTML2PDF for VMS?
MPIW10_HUB>sh log htmldoc_data
"HTMLDOC_DATA" = "disk$www/htmldoc/" (LNM$PROCESS_TABLE)
MPIW10_HUB>sh log disk$www
"DISK$WWW" = "AVMP01$DKA100:" (LNM$SYSTEM_TABLE)
MPIW10_HUB>sh log DECC$DISABLE_TO_VMS_LOGNAME_TRANSLATION
"DECC$DISABLE_TO_VMS_LOGNAME_TRANSLATION" = "DISABLE" (LNM$PROCESS_TABLE)
MPIW10_HUB>dir disk$www:[htmldoc]
Directory DISK$WWW:[HTMLDOC]
COPYING.TXT;1 DATA.DIR;1 FONTS.DIR;1 HTMLDOC.COM;2
HTMLDOC.EXE;1 HTMLDOC_VMS.TXT;1 README.TXT;1
Total of 7 files.
MPIW10_HUB>htmldoc -f tmp.pdf ALL.HTML
PAGES: 4
BYTES: 19848
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 01:46 AM
тАО07-30-2010 01:46 AM
Re: HTML2PDF for VMS?
It now produces a PDF but Adobe can't read it. Is there a limit to which version of Adobe can be used to access the file? I have Adobe Reader 9.
Thanks.
Hayden.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 01:57 AM
тАО07-30-2010 01:57 AM
Re: HTML2PDF for VMS?
tags, and an list of links in between.
It produces a table of contentents for the tags, and correctly lists everything.
XPDF on VMS and the Adobe reader on Linux have no problems with the file produced.
So maybe some HTML elements (graphics ?) produce the errors ?
Can You look at the acroread error ? Maybe run Adobe reader on the command-line to see errors ?
It produces a table of contentents for the
tags, and correctly lists everything.
XPDF on VMS and the Adobe reader on Linux have no problems with the file produced.
So maybe some HTML elements (graphics ?) produce the errors ?
Can You look at the acroread error ? Maybe run Adobe reader on the command-line to see errors ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 02:00 AM
тАО07-30-2010 02:00 AM
Re: HTML2PDF for VMS?
ERR014: Text on page 7 too large - truncation or overlapping may occur!
Would this have anything to do with the problem being experienced by Adobe Reader?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 02:04 AM
тАО07-30-2010 02:04 AM
Re: HTML2PDF for VMS?
since You produce the PDF on VMS, but use Adobe reader on another system (Linux, windows ?, acroread standalone, in a web-browser ?),
how do You transfer the VMS file ?
From a VMS web-server ?
Transferred to the other system by which method ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 02:07 AM
тАО07-30-2010 02:07 AM
Re: HTML2PDF for VMS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 02:12 AM
тАО07-30-2010 02:12 AM
Re: HTML2PDF for VMS?
The file produced on VMS is a stream_lf file (DIR/FULL), and transferring in ASCII mode may introduce additional line-feeds or carriage return characters (or omit those).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 02:17 AM
тАО07-30-2010 02:17 AM
Re: HTML2PDF for VMS?
The file transferred as a binary and it then opens in Adobe. But now the file contains blank pages and when I scroll to the nex page then the zoom jumps up to over 4000%.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 02:25 AM
тАО07-30-2010 02:25 AM
Re: HTML2PDF for VMS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 02:35 AM
тАО07-30-2010 02:35 AM
Re: HTML2PDF for VMS?
But anyway, that's beyond my knowledge of PDF.