|
On 6/20/2018 10:51 AM, Jack Woehr wrote:
I have spooled files coming out of a legacy job that are 132 characters12
wide at 12 CPI == 11 in.
There's really only 85 characters of data on each row.
Is there any simple way to narrow the spooled file to 102 characters at
CPI == 8.5 in.?
It seems to me it already fits at 10 CPI. Is the system doing Computer
Output Reduction on it (rotating and shrinking)? IBM i is making that
decision based on the definition of the spooled file. The only thing
needed might be to OVRPRTF the spooled file to PAGRTT(0).
To answer the question as asked, there are a variety of 12 CPI fonts
that I use with AFPDS printer files. OVRPRTF zzz FONT(086) /* Gothic 12 */
For a *SCS spooled file, OVRPRTF zzz CPI(12) may do it.
I tried copying the spooled file to a database file and then reprintingbut
it loses the print formatting such as page breaks which were produced in
the original process.
CRTPF qtemp/splf rcdlen(133)
CPYSPLF zzz qtemp/splf CTLCHAR(*FCFC)
OVRPRTF QSYSPRT CTLCHAR(*FCFC)
CPYF qtemp/splf QSYSPRT
The PF needs to be one byte wider in order to accommodate the control
character.
--
--buck
http://wiki.midrange.com
Your updates make it better!
--
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: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
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.