- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Creating PDF on 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
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
тАО11-01-2005 09:17 PM
тАО11-01-2005 09:17 PM
If the converion routine is callable from within another program, that would be an advantage. No cost (or very low) as well ;-)
Willem
OpenVMS Developer & System Manager
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2005 09:52 PM
тАО11-01-2005 09:52 PM
Re: Creating PDF on VMS
http://www.sanface.com
They have txt2pdf and more.
Zero cost solutions:
http://wwwvms.mppmu.mpg.de/vmssig/src/c/txt2pdf.c
http://wwwvms.mppmu.mpg.de/vmssig/src/c/text2pdf.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2005 12:07 AM
тАО11-02-2005 12:07 AM
Solutiontxt2pdf.c is of the Unix filter type stdin tetxt to stdout PDF. Does < > redirection internal.
text2pdf.c uses Unix style options:
text2pdf [options] [filename]
text2pdf makes a 7-bit clean PDF file (version 1.1) from any input file.
It reads from standard input or a named file, and writes the PDF file
to standard output.
There are various options as follows:
-h show this message
-f use PostScript (must be in standard 14, default: Courier)
-I use ISOLatin1Encoding
-s
-v
-l
if unspecified)
-c
-t
-F ignore formfeed characters (^L)
-A4 use A4 paper (default Letter)
-A3 use A3 paper (default Letter)
-x
-y
-2 format in 2 columns
-L landscape mode
------------
There is another prof. PDF generating software at
http://www.pdflib.com
offering also a free text2pdf in the PDFlib Lite distribution.
text2pdf - convert text files to PDF.
(C) PDFlib GmbH and Thomas Merz 1997-2004
usage: text2pdf [options] [textfile]
Available options:
-e encoding font encoding to use. Common encoding names:
winansi, macroman, ebcdic, or user-defined
host = default encoding of this platform
-f fontname name of font to use
-h height page height in points
-m margin margin size in points
-o filename PDF output file name
-s size font size
-w width page width in points
-----
So Willem, choose one.
BTW, although not using it very often, I think all 3 free programs handle different VMS text file format (var,stream).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2005 12:16 AM
тАО11-02-2005 12:16 AM
Re: Creating PDF on VMS
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2005 12:32 AM
тАО11-02-2005 12:32 AM
Re: Creating PDF on VMS
$ cc txt2pfd
$ link txt2pdf
$ mcr txt2pdf < txt2pdf.c > txt2pdf.pdf
gave me a file that I could copy to PC (FTP binary) and acrobat 6 had no trouble at all.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2005 12:34 AM
тАО11-02-2005 12:34 AM
Re: Creating PDF on VMS
Of course, depending on the text source, Willem may use some PS "pretty printer" for formatting
(like a2ps,c2ps,html2ps, ... name it), then Ghostscript PDF encoding preserves the postscript formatting, while the listed freeware text-to-pdf programs make simple files with no headings etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2005 01:52 AM
тАО11-02-2005 01:52 AM
Re: Creating PDF on VMS
Right. I went from ps (vpa) to jpeg, pdf and finally to png. This because png file was the smallest and gave the most precise output (graphs to be included in word doc).
Wim