|
Um, if the reports are identical except for the heading, just define two formats for the heading then use the same report body. Select the proper heading format, and off you go. More work is necessary if these reports are supposed to go to different printers, though. eric.delong@PMSI-SERVICES.COM ______________________________ Reply Separator _________________________________ Subject: RE: RPG how to use the same printer file twice? Author: <MIDRANGE-L@midrange.com> at INET_WACO Date: 10/5/99 3:25 PM Yea and No. Once the programs is created, you can override printer file Pick to printer file Pack and the same file definition would be used for both. But you must have both objects to compile so the compiler can read the record formats. But you only need one source file, though you must copy Pick to Pack after compiling Pick from source and before compiling the RPG. Christopher K. Bipes mailto:ChrisB@Cross-Check.com Sr. Programmer/Analyst mailto:Chris_Bipes@Yahoo.com CrossCheck, Inc. http://www.cross-check.com 6119 State Farm Drive Phone: 707 586-0551 x 1102 Rohnert Park CA 94928 Fax: 707 586-1884 *Note to Recruiters I nor anyone that I know of is interested in any new and/or exciting positions. Please do not contact me. -----Original Message----- From: Goodbar, Loyd (AFS-Water Valley) [mailto:LGoodbar@afs.bwauto.com] Sent: Tuesday, October 05, 1999 1:43 PM To: 'midrange-l@midrange.com' Subject: RPG how to use the same printer file twice? Is there a way to use the same printer file twice in a RPG program? I've got a picker program that prints both a pick list and a packaging list. It currently uses two printer files for barcode support (was originally O-specs). Both printer files are identical except for the heading (picklist vs packaging). It would be really nice not to maintain the same printer file twice, or the same program twice (if you use separate programs, utilizing the same printer file).. Thanks! -- Loyd Goodbar Programmer/Analyst Borg-Warner Automotive, AFS, Water Valley +--- | 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 +--- +--- | 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.