Text to PDF converter
The TXT2PDF utility is used to convert a text file into a Portable Document Format (PDF) file. It has many options to control the conversion, output appearance, and final presentation. Some of the features include:
At this time, the following features are only available on OS/390, z/OS, and z/VM platforms:
At this time, the following features are only available on OS/390 and z/OS platforms:
The ISPF Dialog features of interest are:
The original design was simply to convert OS/390 reports to PDF prior to emailing, but TXT2PDF has been generalized and adapted to other platforms including Linux, VM, and Windows. All that is required is a REXX interpreter or compiler on the target platform.
While I was the original author of the actual conversion code, it has become a joint effort between myself and Lionel Dyck. He has written MANY useful z/OS utilities and also hosts the OS/390 version of TXT2PDF.
If you plan to use TXT2PDF on OS/390 or z/OS, you should head over to Lionel's site to grab the latest version.
But, if you're looking to use it elsewhere, you may find this distribution a bit easier to since it only includes files suitable for non-OS/390 platforms.
Lionel also hosts the documentation.
Here's a few examples of what can be achieved:
WARNING: As of the 04.147 release, the behavior has changed for the CC parameter under z/OS. Originally, it defaulted to "NO" but this didn't allow the EXEC to determine the carriage control from the datasets record format automatically. This has now been changed so that if no CC parameter is specified, the EXEC will query the dataset for the proper value. It is important you verify that either the CC parameter is specified in existing jobs or that they will work okay with the new behavior.
Or for you VMers: