|
Brian, Set the print file to be USROPN. Use QCMDEXC to call the over ride then open the print file and write to it. After you are finished close the print file and use QCMDEXC to delete the over ride. If you need an example, let me know. Terry > ------------------------------ > > message: 8 > date: Wed, 7 Sep 2005 08:31:43 -0400 > from: "Brian Piotrowski" <bpiotrowski@xxxxxxxxxxxxxxx> > subject: Executing Commands within an RPG program > > Hi All, > > > > I need to run a printer override statement within my RPG program. Can > someone remind me how I execute from within RPG? > > > > I need to run this command from within my program: > > > > OVRPRTF FILE(BCLBL132) CPI(10) OUTQ(PQ2BC) FORMTYPE(*STD) > > > > Thank you! > > > > Brian. > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=- > > Brian Piotrowski > > Specialist - I.T. > > Simcoe Parts Service, Inc. > > Ph: 705-435-7814 x343 > > Fx: 705-435-6746 > > bpiotrowski@xxxxxxxxxxxxxxx > > -=-=-=-=-=-=-=-=-=-=-=-=-=- > > > > > > ------------------------------
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.