|
Cyndi, Since you are already hard coding your overrides and it sounds like you will have to visit each program, it might be just as simple for you to write a command where you pass the printer id and it returns the settings. You would then use those settings in a OVRPRTF within your CL. A DLTOVR should get you back to factory settings. At least this way all of your override specifications are within a single program and adding a new device with unique specifications is a single program change. As far as the CRTCLPGM (etc.) commands, you may be able to perform a CRTDUPOBJ on the printer file used by the CRTxxx command into your own library and then CHGPRTF to your settings. This would work if the setting is global, if you want it to be dynamic, you could write a wrapper for the CRTxxx command which calls the command I described above, executes the CRTxxx command then changes settings back again. HTH, James W. Kilgore email@James-W-Kilgore.com Cyndi Bradberry wrote: > Hi, > > We have for years used 14 x 8.5 inch green bar because it fits into a > standard file drawer. Because of this we change every system upgrade all the > system printer files to: > <<snip>> > > Now we are using laser printers mainly with only a few things still going to > greenbar, and most of those have the overrides hard-coded. I also have to > hard-code overrides to the laser printers usually to set things back to the > default (IBM) settings. > > We will be going to V4R3 in the next two weeks and would like to leave the > system printerfiles at the system defaults. Program generated output we can > handle thru overrides. What we cannot figure out is how to put overrides on > the crtclpgm (etc) commands. Is there a way or are we just stuck with our > current confused system? > > TIA, > > Cyndi Bradberry > Idaho Housing and Finance Association > Boise, Idaho > <<Cyndi Bradberry (E-mail).vcf>> +--- | 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-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.