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



Hi Scott

That's what I suggested last week, isn't it?  The tricky part is to avoid 
ASCII/EBCDIC translation somehow.  (Or if you do translate it, make sure 
it gets translated back to what you started with.)

I wasn't sure.  I still would like to call my other utility to create the
file in the ifs.  I know it works for afp/ipds printer files.  I can add
images if I want etc.  It also works to create excel spreadsheets from sql
statements or from properly spaced printouts.

I wasn't sure if you meant that I could open this file and push it as pure
bits or if I would read the spool file and push the lines as content in a
pdf.

I have read your "working with the ifs in rpg4". Would your -read- option
there, read without translation and make the below scenario work?



------------------------------

message: 9
date: Tue, 2 Jan 2007 17:38:32 -0600 (CST)
from: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
subject: Re: reading pdf/html from ifs send via cgidev2

Hi Jim,

'CONTENT-TYPE:  application/pdf'

Fputs above header
Open ifs document
Loop
 Read a buffer
 Fputs the buffer
Fflush when done

This would allow us to clean up the ifs right away.  Might also work with
other content types like excel
What do you think?

That's what I suggested last week, isn't it?  The tricky part is to avoid 
ASCII/EBCDIC translation somehow.  (Or if you do translate it, make sure 
it gets translated back to what you started with.)


**********************


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.