|
It is very easy to do it with Java. The IBM Java toolbox has a class that lets you process any spooled file through a host print transform. IBM ships *WSCST objects you can use to produce a TIFF or GIF file. In the Java program you then just have to read and save the bytes to a file. I wouldn't be surprised if you can do something similar with an RPG program, but I have not explored the API's. They key though is that there are *WSCST objects already installed that you can use with the Host Print Transform function to do it. I wish that IBM included a *WSCST object to produce a PDF. Mark To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> cc: bcc: Subject: Converting a Spool File to a Graphic EThompson@xxxxxxxxxxxxxxxx Sent by: midrange-l-bounces@xxxxxxxxxxxx 08/14/2003 12:16 PM Please respond to Midrange Systems Technical Discussion <font size=-1></font> This may be the second email I have sent with this question, my emails do not seem to be going through to the list, I am sorry if you receive this twice. I have looked through the archives looking for an answer to this question...I have gone to IBM website and found not quite what I am looking for...please let me know if this can be done or if anyone else has ever had success doing this: I need to know if I can convert an AS400 spool file into a graphic file, such as a .tiff file or even perhaps .jpeg or .gif. The only references I can find is converting either to a PDF file or a PCL file. Any help or comments would be appreciated. I have even tried to see if I create the PCL file, can I then convert the PCL file to the type of file I need. Could not find any info for that either Thank you. Elonna Thompson Programmer/Analyst Information Technologies 850-432-1700 x2204 --------------------------------------------------------- Confidentiality Notice: This e-mail, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original messages. _______________________________________________ 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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.