× 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.



As far as I am concerned you don't really want to be in the 'create PDF' business. Let an expert like Brad handle that for you.

Scott Lindstrom

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Friday, May 13, 2016 8:24 AM
To: Midrange Systems Technical Discussion
Subject: Re: TXT to PDF

As far as replacing TXT with PDF in your application pgms..

Current versions of the OS have some built in functionality for converting
spool files to PDF.

You could also look at Brad's Spool Tool,
https://urldefense.proofpoint.com/v2/url?u=http-3A__m.bvstools.com_e-2Drpg_softdesc-3Fsoftware-3DSPLTOOL&d=CwICAg&c=_2JymsjkoSdpgdT4DmA4bg&r=-518Ilz5cVhEAzb0mENLKbaCPCUJ_jWIaTTDYAFSng4&m=SqxYwcUyCjts1xMhx6en0j175YIriz7LEA0cvz8AGco&s=MR03LNdZmFAIC8Oz4qNolwjNAaunjvxLA0zNAI9SyGE&e=

Can't be beat for the price (though it appears he's gone to an annual
subscription vs. one time fee just the current version)

Charles



On Fri, May 13, 2016 at 9:14 AM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

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 thread ...

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.