× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.