- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Text to PDF converter for OpenVMS Integrity
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
тАО09-17-2010 02:15 PM
тАО09-17-2010 02:15 PM
Text to PDF converter for OpenVMS Integrity
In scanning through various resources, I have come across two possibilities that may work, but I'd like more information about them, if possible.
Option #1 is "text2pdf", which I obtained from http://eisner.decus.org/~berry_c/TEXT2PDF.ZIP. This zip file only contains a single C source file. I was hoping to obtain some additional information about how to use this. For example, can arguments be specified in a command to dictate whether the output PDF should be created in landscape vs portrait mode, for example? I'm looking for the command options, essentially.
Option #2 is "txt2pdf" from http://www.sanface.com/. I have never used Perl, so this is a little foreign to me. I'm assuming I would need to install the Perl for OpenVMS product on the Integrity system, and then go through a build procedure of this application on the VMS system? Can anyone point me to any instructional documentation about how to setup and use this on VMS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2010 04:18 PM
тАО09-17-2010 04:18 PM
Re: Text to PDF converter for OpenVMS Integrity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2010 04:08 AM
тАО09-18-2010 04:08 AM
Re: Text to PDF converter for OpenVMS Integrity
http://www.sanface.com/txt2pdf.html#installing
?
They mention VMS , and it seems to be nothing more than unpacking the distribution into a directory, and to edit the configuration file to Your taste.
Of course, as a perl program, it needs Perl as a prerequisit.
Sanface txt2pdf seems to offer much more formatting options than the simple opensource text2pdf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2010 06:13 AM
тАО09-18-2010 06:13 AM
Re: Text to PDF converter for OpenVMS Integrity
$ mcr []text2pdf -h
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
-ml
-mt
Note that where one variable is implied by two options, the second option
takes precedence for that variable. (e.g. -A4 -y500)
In landscape mode, page width and height are simply swapped over before
formatting, no matter how or when they were defined.
text2pdf v1.2 (c) Phil Smith, 1996
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 04:20 AM
тАО09-20-2010 04:20 AM
Re: Text to PDF converter for OpenVMS Integrity
Goto <> and cut and paste this into a txt2pdf.com and txt2pdf.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 04:58 AM
тАО09-20-2010 04:58 AM
Re: Text to PDF converter for OpenVMS Integrity
The link you provided results in a "story not found" message.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 01:42 PM
тАО09-20-2010 01:42 PM
Re: Text to PDF converter for OpenVMS Integrity
I want a PDF report created from this in landscape mode. I've tried a few iterations of commands, and always get a PDF file with a single report line per page. I've tried the following commands:
$ text2pdf -L report132.rpt >report132.pdf
$ text2pdf -L -c152 report132.rpt >report132.pdf
Any suggestions?
I also have some wider reports (198 characters) that need to be converted to PDF. Will I be able to do this with this tool?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 11:15 PM
тАО09-20-2010 11:15 PM
Re: Text to PDF converter for OpenVMS Integrity
it produces a page when either the number of lines per page is reached, or a formfeed character is encountered (unless -F option).
Your problem is either:
the file contains a formfeed for each line (verify with and editor).
or
the "-L" option arrives as "-l" ,, leading to 1 line per page.
Try: text2pdf "-L" ,
If that succeeds then Your DCL and/or CRTL parsing rules are set to make all unquoted arguments to arrive lower case in the C arguments.
$ show process/parse_style
if it is "Traditional" do
$ SET PROCESS/PARSE=EXTENDED
and
$ DEFINE ├В DECC$ARGV_PARSE_STYLE "ENABLE"
to see the difference with unquoted options.
Second question: longer lines can of course be handled, but text2pdf only can set a fixed maximum line length: You have to decide the value of the "-c" option, eventually adjust the fontsize using the "-s" option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 11:19 PM
тАО09-20-2010 11:19 PM
Re: Text to PDF converter for OpenVMS Integrity
Sorry, pasted an additional character in the define statement above, it should read:
$ DEFINE DECC$ARGV_PARSE_STYLE "ENABLE"