|
Dear Larry, I can think of two methods that would support the addition of Color JPEG images to traditional AS/400 applications. Idea 1 - AS/400 Centric Method In the PC realm, you would use your favorite software package to view the JPEG file. You would next select the print driver that properly supports the target printer. You would then use the Client Access PC printing function known as network printing in the Win 95/Win 98/Win NT environments and virtual printing in earlier PC environments to print an ASCII file to a shared folder on the AS/400. In the network/virtual printing setup screen, you would select the check box that maintains the file in ASCII format when printing (ie no ASCII to EBCDIC conversion). This check box selection will cause the SCS command ASCII transparency (hex 03 and count byte) to be imbedded within your print file at 255 byte intervals. The SCS command tells the AS/400 that the data is being maintained in ASCII format and that the file cannot be viewed with a 5250 terminal. You can place a call for the file to be sent to print from within your RPG application just as if it were a standard EBCDIC based file. The result will be that the image will be printed as expected on the target LAN attached printer. This method of imbedding the file within an RPG or COBOL application is fully compatible with the AS/400 Host Print Transform function so that getting the file to the LAN attached printer should not be a significant problem. Idea 2 - LAN Centric Method The LAN centric method is to receive the standard text information created by the RPG or COBOL application through a 5250 gateway to the LAN. In conjunction with this gateway, you apply some LAN based print conditioning software that looks for a particular text attributes (row/column positional triggering event). When the appropriate trigger is found, the software applies the Color JPEG file to the data stream received from the AS/400 before it is sent to the target LAN attached printer. Both of these methods work well. Typically the network environment will determine which method is more applicable to a particular situation. Hope this helps. /Paul -- Paul Tykodi, Technical Director E-mail: pault@praim.com Praim Inc. Tel: 603-431-0606 140 Congress St., #2 Fax: 603-436-6432 Portsmouth, NH 03801-4019 Date: Tue, 27 Oct 1998 14:15:24 -0500 From: "Larry D. Bolhuis" <lbolhui@ibm.net> Subject: Color Image Printing from AS/400 to Win9x/NT Does anyone have experience with, or a solution for printing reports from a traditional AS/400 application (RPG/COBOL) to a Windows 9x/NT attached printer that includes A COLOR JPEG IMAGE. The connection to the PC is TCP/IP Only. TIA Larry Bolhuis Arbor Solutions, Inc lbolhui@ibm.net +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.