[Info-vax] Txt2PDF Utility for long fils
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Thu Nov 10 17:50:42 EST 2022
On 2022-11-10 15:30:19 +0000, Shael Richmond said:
> Yes I am using the txt2pdf.c and not text2pdf. I broke down and
> changed the code once I found out what the units in the code referred
> to(points=1/72 inch). So I added another option to handle lines 225
> bytes long and that worked for the report I was dealing with.
> Originally it only did 80 characters portrait, 80 characters landscape,
> and 132 characters landscape.
>
> And Stephen I am sending the file using MIME, but was trying to get the
> file in PDF format to make it easier to read from the PC!
Ah, so you left out a detail or two.
Microsoft Windows reads plain text files just fine, not that I've tried
that in some years. Notepad, IIRC, can read UTF-8 files, including the
ASCII OpenVMS is fond of.
Built in tools on OpenVMS (CONVERT /DOCUMENT) can generate Postscript.
Whether Windows can read that?
The add on converter library tools can get to RTF too, though that is
probably an older version of same, and this particular stuff is VAX:
https://www.digiater.nl/openvms/freeware/v60/cdacvtlib022/freeware_readme.txt
https://www.zx.net.nz/mirror/h71000.www7.hp.com/doc/cdaconverterlibraryv22.pdf
Various of the CDA converters were also part of DECwindows at one point
and may still be, not that I have a good way to check that right now,
and the converters don't seem to be installed on the system I've just
checked.
On looking at this, I'd kinda assume VSI didn't get the CDA viewer and
such, or decided to switch to another viewer for their tooling work.
But I digress.
Ghostscript can convert all sorts of formats, too.
Amd for completeness, there's
https://www.digiater.nl/openvms/freeware/v50/text2rtf/text2rtf.c
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list