|
Just to add to that response, we've been using Splf2Pdf to e-mail reports to our customers with great success for some time now. You can find it at http://www.java400.net/commercial/cpysplfpdf/cpysplfpdf.htm. PC2 -----Original Message----- From: Shawn Church [mailto:shawn@boxity.com] Sent: March 28, 2001 08:11 To: JAVA400-L@midrange.com Subject: Re: Rich Text Format What are your clients using to view your reports (ie - Word, Excel, or text editor)? For .txt files, Excel does a decent job of importing and printing in landscape, without you having to do any additional work. Joe Pluta's Splf2Pdf package will allow you to convert them to PDF format, but editing of course will not be possible. To break correctly, the easiest way is to CPYSPLF CTLCHAR(*PRTCTL), and examine the print control information. Shawn ----- Original Message ----- From: <DReid@capitalfactors.com> To: <JAVA400-L@midrange.com> Sent: Wednesday, March 28, 2001 8:56 AM Subject: Rich Text Format > Hi. > I am new to Java and have been a RPG programmer. A group of us > wrote a servlet application that archives our AS400 reports and allow > for printing. I have recently added email capability, this is ideal > since some of our clients will require pages of our reports emailed to > them. > The report is sent in the email as a .txt file attachment. > Viewing the attachment is great, however, printing is another thing. > Most of our reports are 132 columns. > Is there any way to format the attachment to print in landscape > and have the form feed done at the correct place without user > manipulation. Someone told me about RTF. My investigations only show a > swing class that allows the user to edit such a file. > Is there any way to send the necessary report format that will > allow editing. > > Thanks. +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.