|
Shouldn't be too difficult to find some Java, Python or PHP code that will
convert text to PDF.
The problem you're going to have is that without the control codes, you're
not going to be able to tell where the page and linefeeds generically.
So you're going to end up with basically a text dump or you'd need to
examine the report and basically hardcode how to convert the text back into
a "report" with appropriate pages and line spacing.
If it's all one report, the latter isn't a big deal. If it's 100s of
reports...well that's not going to be fun unless there's a high amount of
standardization in the headers and footers.
Charles
On Fri, May 13, 2016 at 8:47 AM, Michael Smith <msmith@xxxxxxxxxxxxxx>
wrote:
I have several TXT files in an IFS directory that I need to convert to
PDF.
The original source for the TXT file data are "old" spool files that no
longer exist on the system.
The TXT files do not contain the printer control characters.
This is not a one time event, the conversion will have occur "real time"
on this files until I have developed a method to replace the TXT file with
a PDF file in our application programs.
Does anyone have suggestions on how to accomplish this?
Michael Smith
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=CwICAg&c=_2JymsjkoSdpgdT4DmA4bg&r=-518Ilz5cVhEAzb0mENLKbaCPCUJ_jWIaTTDYAFSng4&m=SqxYwcUyCjts1xMhx6en0j175YIriz7LEA0cvz8AGco&s=Qul1MWjC7tz9zwBieChmCYKGA-nFWbMMn4pTVUhh7J4&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?u=http-3A__archive.midrange.com_midrange-2Dl&d=CwICAg&c=_2JymsjkoSdpgdT4DmA4bg&r=-518Ilz5cVhEAzb0mENLKbaCPCUJ_jWIaTTDYAFSng4&m=SqxYwcUyCjts1xMhx6en0j175YIriz7LEA0cvz8AGco&s=8T0A-tFc4iPR1pANkCgqg9lkFkiFXOCl5FOVel3G97c&e= .
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.